diff --git a/csharp.settings b/csharp.settings index abd5677ab..a0072500d 100644 --- a/csharp.settings +++ b/csharp.settings @@ -1,3 +1,3 @@ -export KUBERNETES_BRANCH=v1.16.0 +export KUBERNETES_BRANCH=v1.18.0 export CLIENT_VERSION=0.0.1 export PACKAGE_NAME=k8s diff --git a/src/KubernetesClient/generated/.openapi-generator/COMMIT b/src/KubernetesClient/generated/.openapi-generator/COMMIT new file mode 100644 index 000000000..768730d96 --- /dev/null +++ b/src/KubernetesClient/generated/.openapi-generator/COMMIT @@ -0,0 +1,2 @@ +Requested Commit: v3.3.4 +Actual Commit: 2353d71d4b02be6dbabe25aac1a9e56eb3b812a2 diff --git a/src/KubernetesClient/generated/.swagger-codegen/COMMIT b/src/KubernetesClient/generated/.swagger-codegen/COMMIT deleted file mode 100644 index a25cb6336..000000000 --- a/src/KubernetesClient/generated/.swagger-codegen/COMMIT +++ /dev/null @@ -1,2 +0,0 @@ -Requested Commit: v2.2.3 -Actual Commit: 049b1b2bcc904e1179a0e9b11124ed8fa0e3be2e diff --git a/src/KubernetesClient/generated/IKubernetes.Watch.cs b/src/KubernetesClient/generated/IKubernetes.Watch.cs index 69dbc42f9..6c9e640df 100644 --- a/src/KubernetesClient/generated/IKubernetes.Watch.cs +++ b/src/KubernetesClient/generated/IKubernetes.Watch.cs @@ -19,8 +19,6 @@ public partial interface IKubernetes /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -97,8 +95,6 @@ Task> WatchNamespacedConfigMapAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -175,8 +171,6 @@ Task> WatchNamespacedEndpointsAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -253,8 +247,6 @@ Task> WatchNamespacedEventAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -331,8 +323,6 @@ Task> WatchNamespacedLimitRangeAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -409,8 +399,6 @@ Task> WatchNamespacedPersistentVolumeClaimAsync /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -487,8 +475,6 @@ Task> WatchNamespacedPodAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -565,8 +551,6 @@ Task> WatchNamespacedPodTemplateAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -643,8 +627,6 @@ Task> WatchNamespacedReplicationControllerAsync /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -721,8 +703,6 @@ Task> WatchNamespacedResourceQuotaAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -799,8 +779,6 @@ Task> WatchNamespacedSecretAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -877,8 +855,6 @@ Task> WatchNamespacedServiceAccountAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -952,8 +928,6 @@ Task> WatchNamespacedServiceAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1026,8 +1000,6 @@ Task> WatchNamespaceAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1100,8 +1072,6 @@ Task> WatchNodeAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1174,8 +1144,6 @@ Task> WatchPersistentVolumeAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1248,8 +1216,6 @@ Task> WatchMutatingWebhookConfigurationA /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1322,8 +1288,6 @@ Task> WatchValidatingWebhookConfigurat /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1396,8 +1360,6 @@ Task> WatchMutatingWebhookConfigura /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1470,8 +1432,6 @@ Task> WatchValidatingWebhookConfi /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1544,8 +1504,6 @@ Task> WatchCustomResourceDefinitionAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1618,8 +1576,6 @@ Task> WatchCustomResourceDefinitionAsyn /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1692,8 +1648,6 @@ Task> WatchAPIServiceAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1769,8 +1723,6 @@ Task> WatchAPIServiceAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1847,8 +1799,6 @@ Task> WatchNamespacedControllerRevisionAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -1925,8 +1875,6 @@ Task> WatchNamespacedDaemonSetAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2003,8 +1951,6 @@ Task> WatchNamespacedDeploymentAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2081,8 +2027,6 @@ Task> WatchNamespacedReplicaSetAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2149,18 +2093,13 @@ Task> WatchNamespacedStatefulSetAsync( CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind AuditSink. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2208,9 +2147,8 @@ Task> WatchNamespacedStatefulSetAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedControllerRevisionAsync( + Task> WatchAuditSinkAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -2221,24 +2159,22 @@ Task> WatchNamespacedControllerRevisionAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Deployment + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2286,7 +2222,7 @@ Task> WatchNamespacedControllerRevisionAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedDeploymentAsync( + Task> WatchNamespacedHorizontalPodAutoscalerAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -2299,24 +2235,22 @@ Task> WatchNamespacedDeploymentAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the StatefulSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2364,7 +2298,7 @@ Task> WatchNamespacedDeploymentAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedStatefulSetAsync( + Task> WatchNamespacedHorizontalPodAutoscalerAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -2377,24 +2311,22 @@ Task> WatchNamespacedStatefulSetAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ControllerRevision + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2442,7 +2374,7 @@ Task> WatchNamespacedStatefulSetAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedControllerRevisionAsync( + Task> WatchNamespacedHorizontalPodAutoscalerAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -2455,24 +2387,22 @@ Task> WatchNamespacedControllerRevisionAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the DaemonSet + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2520,7 +2450,7 @@ Task> WatchNamespacedControllerRevisionAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedDaemonSetAsync( + Task> WatchNamespacedJobAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -2533,24 +2463,22 @@ Task> WatchNamespacedDaemonSetAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Deployment + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2598,7 +2526,7 @@ Task> WatchNamespacedDaemonSetAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedDeploymentAsync( + Task> WatchNamespacedCronJobAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -2611,24 +2539,22 @@ Task> WatchNamespacedDeploymentAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ReplicaSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2676,7 +2602,7 @@ Task> WatchNamespacedDeploymentAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedReplicaSetAsync( + Task> WatchNamespacedCronJobAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -2689,24 +2615,19 @@ Task> WatchNamespacedReplicaSetAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2754,9 +2675,8 @@ Task> WatchNamespacedReplicaSetAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedStatefulSetAsync( + Task> WatchCertificateSigningRequestAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -2767,21 +2687,22 @@ Task> WatchNamespacedStatefulSetAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind AuditSink. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the AuditSink + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2829,8 +2750,9 @@ Task> WatchNamespacedStatefulSetAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchAuditSinkAsync( + Task> WatchNamespacedLeaseAsync( string name, + string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -2841,24 +2763,22 @@ Task> WatchAuditSinkAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2906,7 +2826,7 @@ Task> WatchAuditSinkAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedHorizontalPodAutoscalerAsync( + Task> WatchNamespacedLeaseAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -2919,24 +2839,22 @@ Task> WatchNamespacedHorizontalPodAutoscalerA int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the HorizontalPodAutoscaler + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -2984,7 +2902,7 @@ Task> WatchNamespacedHorizontalPodAutoscalerA /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedHorizontalPodAutoscalerAsync( + Task> WatchNamespacedEndpointSliceAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -2997,24 +2915,22 @@ Task> WatchNamespacedHorizontalPodAutosc int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3062,7 +2978,7 @@ Task> WatchNamespacedHorizontalPodAutosc /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedHorizontalPodAutoscalerAsync( + Task> WatchNamespacedEventAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -3075,24 +2991,22 @@ Task> WatchNamespacedHorizontalPodAutosc int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Job + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3140,7 +3054,7 @@ Task> WatchNamespacedHorizontalPodAutosc /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedJobAsync( + Task> WatchNamespacedIngressAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -3153,24 +3067,19 @@ Task> WatchNamespacedJobAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3218,9 +3127,8 @@ Task> WatchNamespacedJobAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedCronJobAsync( + Task> WatchFlowSchemaAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -3231,24 +3139,19 @@ Task> WatchNamespacedCronJobAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3296,9 +3199,8 @@ Task> WatchNamespacedCronJobAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedCronJobAsync( + Task> WatchPriorityLevelConfigurationAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -3309,21 +3211,22 @@ Task> WatchNamespacedCronJobAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the CertificateSigningRequest + /// name of the NetworkPolicy + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3371,8 +3274,9 @@ Task> WatchNamespacedCronJobAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchCertificateSigningRequestAsync( + Task> WatchNamespacedNetworkPolicyAsync( string name, + string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -3383,24 +3287,19 @@ Task> WatchCertificateSigningRequestAs int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the IngressClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3448,9 +3347,8 @@ Task> WatchCertificateSigningRequestAs /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedLeaseAsync( + Task> WatchIngressClassAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -3461,24 +3359,22 @@ Task> WatchNamespacedLeaseAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Lease + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3526,7 +3422,7 @@ Task> WatchNamespacedLeaseAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedLeaseAsync( + Task> WatchNamespacedIngressAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -3539,24 +3435,19 @@ Task> WatchNamespacedLeaseAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the EndpointSlice - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3604,9 +3495,8 @@ Task> WatchNamespacedLeaseAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedEndpointSliceAsync( + Task> WatchRuntimeClassAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -3617,24 +3507,19 @@ Task> WatchNamespacedEndpointSliceAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3682,9 +3567,8 @@ Task> WatchNamespacedEndpointSliceAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedEventAsync( + Task> WatchRuntimeClassAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -3695,24 +3579,22 @@ Task> WatchNamespacedEventAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the DaemonSet + /// name of the PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3760,7 +3642,7 @@ Task> WatchNamespacedEventAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedDaemonSetAsync( + Task> WatchNamespacedPodDisruptionBudgetAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -3773,24 +3655,19 @@ Task> WatchNamespacedDaemonSetAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3838,9 +3715,8 @@ Task> WatchNamespacedDaemonSetAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedDeploymentAsync( + Task> WatchPodSecurityPolicyAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -3851,24 +3727,19 @@ Task> WatchNamespacedDeploymentAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3916,9 +3787,8 @@ Task> WatchNamespacedDeploymentAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedIngressAsync( + Task> WatchClusterRoleBindingAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -3929,24 +3799,19 @@ Task> WatchNamespacedIngressAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -3994,9 +3859,8 @@ Task> WatchNamespacedIngressAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedNetworkPolicyAsync( + Task> WatchClusterRoleAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -4007,555 +3871,22 @@ Task> WatchNamespacedNetworkPolicyAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ReplicaSet + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The action to invoke when the server sends a new event. - /// - /// - /// The action to invoke when an error occurs. - /// - /// - /// The action to invoke when the server closes the connection. - /// - /// - /// A which can be used to cancel the asynchronous operation. - /// - /// - /// A which represents the asynchronous operation, and returns a new watcher. - /// - Task> WatchNamespacedReplicaSetAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. - /// - /// - /// name of the PodSecurityPolicy - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The action to invoke when the server sends a new event. - /// - /// - /// The action to invoke when an error occurs. - /// - /// - /// The action to invoke when the server closes the connection. - /// - /// - /// A which can be used to cancel the asynchronous operation. - /// - /// - /// A which represents the asynchronous operation, and returns a new watcher. - /// - Task> WatchPodSecurityPolicyAsync( - string name, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. - /// - /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The action to invoke when the server sends a new event. - /// - /// - /// The action to invoke when an error occurs. - /// - /// - /// The action to invoke when the server closes the connection. - /// - /// - /// A which can be used to cancel the asynchronous operation. - /// - /// - /// A which represents the asynchronous operation, and returns a new watcher. - /// - Task> WatchNamespacedNetworkPolicyAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The action to invoke when the server sends a new event. - /// - /// - /// The action to invoke when an error occurs. - /// - /// - /// The action to invoke when the server closes the connection. - /// - /// - /// A which can be used to cancel the asynchronous operation. - /// - /// - /// A which represents the asynchronous operation, and returns a new watcher. - /// - Task> WatchNamespacedIngressAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. - /// - /// - /// name of the RuntimeClass - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The action to invoke when the server sends a new event. - /// - /// - /// The action to invoke when an error occurs. - /// - /// - /// The action to invoke when the server closes the connection. - /// - /// - /// A which can be used to cancel the asynchronous operation. - /// - /// - /// A which represents the asynchronous operation, and returns a new watcher. - /// - Task> WatchRuntimeClassAsync( - string name, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. - /// - /// - /// name of the RuntimeClass - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The action to invoke when the server sends a new event. - /// - /// - /// The action to invoke when an error occurs. - /// - /// - /// The action to invoke when the server closes the connection. - /// - /// - /// A which can be used to cancel the asynchronous operation. - /// - /// - /// A which represents the asynchronous operation, and returns a new watcher. - /// - Task> WatchRuntimeClassAsync( - string name, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The action to invoke when the server sends a new event. - /// - /// - /// The action to invoke when an error occurs. - /// - /// - /// The action to invoke when the server closes the connection. - /// - /// - /// A which can be used to cancel the asynchronous operation. - /// - /// - /// A which represents the asynchronous operation, and returns a new watcher. - /// - Task> WatchNamespacedPodDisruptionBudgetAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. - /// - /// - /// name of the PodSecurityPolicy - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -4603,8 +3934,9 @@ Task> WatchNamespacedPodDisruptionBudgetAsyn /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchPodSecurityPolicyAsync( + Task> WatchNamespacedRoleBindingAsync( string name, + string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -4615,21 +3947,22 @@ Task> WatchPodSecurityPolicyAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -4677,8 +4010,9 @@ Task> WatchPodSecurityPolicyAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchClusterRoleBindingAsync( + Task> WatchNamespacedRoleAsync( string name, + string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -4689,21 +4023,19 @@ Task> WatchClusterRoleBindingAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -4751,7 +4083,7 @@ Task> WatchClusterRoleBindingAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchClusterRoleAsync( + Task> WatchClusterRoleBindingAsync( string name, bool? allowWatchBookmarks = null, string @continue = null, @@ -4763,24 +4095,19 @@ Task> WatchClusterRoleAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -4828,9 +4155,8 @@ Task> WatchClusterRoleAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedRoleBindingAsync( + Task> WatchClusterRoleAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -4841,24 +4167,22 @@ Task> WatchNamespacedRoleBindingAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -4906,7 +4230,7 @@ Task> WatchNamespacedRoleBindingAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedRoleAsync( + Task> WatchNamespacedRoleBindingAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -4919,21 +4243,22 @@ Task> WatchNamespacedRoleAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -4981,8 +4306,9 @@ Task> WatchNamespacedRoleAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchClusterRoleBindingAsync( + Task> WatchNamespacedRoleAsync( string name, + string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -4993,21 +4319,19 @@ Task> WatchClusterRoleBindingAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ClusterRole + /// name of the ClusterRoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5055,7 +4379,7 @@ Task> WatchClusterRoleBindingAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchClusterRoleAsync( + Task> WatchClusterRoleBindingAsync( string name, bool? allowWatchBookmarks = null, string @continue = null, @@ -5067,24 +4391,19 @@ Task> WatchClusterRoleAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5132,9 +4451,8 @@ Task> WatchClusterRoleAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedRoleBindingAsync( + Task> WatchClusterRoleAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -5145,24 +4463,22 @@ Task> WatchNamespacedRoleBindingAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Role + /// name of the RoleBinding /// /// /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5210,7 +4526,7 @@ Task> WatchNamespacedRoleBindingAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedRoleAsync( + Task> WatchNamespacedRoleBindingAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -5223,95 +4539,22 @@ Task> WatchNamespacedRoleAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the ClusterRoleBinding - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The action to invoke when the server sends a new event. - /// - /// - /// The action to invoke when an error occurs. - /// - /// - /// The action to invoke when the server closes the connection. - /// - /// - /// A which can be used to cancel the asynchronous operation. + /// name of the Role /// - /// - /// A which represents the asynchronous operation, and returns a new watcher. - /// - Task> WatchClusterRoleBindingAsync( - string name, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. - /// - /// - /// name of the ClusterRole + /// + /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5359,8 +4602,9 @@ Task> WatchClusterRoleBindingAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchClusterRoleAsync( + Task> WatchNamespacedRoleAsync( string name, + string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -5371,24 +4615,19 @@ Task> WatchClusterRoleAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5436,9 +4675,8 @@ Task> WatchClusterRoleAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedRoleBindingAsync( + Task> WatchPriorityClassAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -5449,24 +4687,19 @@ Task> WatchNamespacedRoleBindingAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5514,9 +4747,8 @@ Task> WatchNamespacedRoleBindingAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedRoleAsync( + Task> WatchPriorityClassAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -5527,7 +4759,7 @@ Task> WatchNamespacedRoleAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); @@ -5540,8 +4772,6 @@ Task> WatchNamespacedRoleAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5589,7 +4819,7 @@ Task> WatchNamespacedRoleAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchPriorityClassAsync( + Task> WatchPriorityClassAsync( string name, bool? allowWatchBookmarks = null, string @continue = null, @@ -5601,21 +4831,22 @@ Task> WatchPriorityClassAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5663,8 +4894,9 @@ Task> WatchPriorityClassAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchPriorityClassAsync( + Task> WatchNamespacedPodPresetAsync( string name, + string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -5675,21 +4907,19 @@ Task> WatchPriorityClassAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5737,7 +4967,7 @@ Task> WatchPriorityClassAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchPriorityClassAsync( + Task> WatchCSIDriverAsync( string name, bool? allowWatchBookmarks = null, string @continue = null, @@ -5749,24 +4979,19 @@ Task> WatchPriorityClassAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. + /// watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter. /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5814,9 +5039,8 @@ Task> WatchPriorityClassAsync( /// /// A which represents the asynchronous operation, and returns a new watcher. /// - Task> WatchNamespacedPodPresetAsync( + Task> WatchCSINodeAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -5827,7 +5051,7 @@ Task> WatchNamespacedPodPresetAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)); @@ -5840,8 +5064,6 @@ Task> WatchNamespacedPodPresetAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5914,8 +5136,6 @@ Task> WatchStorageClassAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -5988,8 +5208,6 @@ Task> WatchVolumeAttachmentAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -6062,8 +5280,6 @@ Task> WatchVolumeAttachmentAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -6136,8 +5352,6 @@ Task> WatchCSIDriverAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -6210,8 +5424,6 @@ Task> WatchCSINodeAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -6284,8 +5496,6 @@ Task> WatchStorageClassAsync( /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". diff --git a/src/KubernetesClient/generated/IKubernetes.cs b/src/KubernetesClient/generated/IKubernetes.cs index 1a0eae608..5966b742b 100644 --- a/src/KubernetesClient/generated/IKubernetes.cs +++ b/src/KubernetesClient/generated/IKubernetes.cs @@ -75,8 +75,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -192,8 +190,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -292,8 +288,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -392,8 +386,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -492,8 +484,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -592,8 +582,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -754,8 +742,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -889,8 +875,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -1179,8 +1163,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -1314,8 +1296,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -1604,8 +1584,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -1739,8 +1717,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -2029,8 +2005,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -2164,8 +2138,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -2454,8 +2426,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -2589,8 +2559,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -2758,7 +2726,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified PersistentVolumeClaim @@ -2974,8 +2942,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -3109,8 +3075,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -3278,7 +3242,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified Pod @@ -3628,6 +3592,18 @@ public partial interface IKubernetes : System.IDisposable /// /// Follow the log stream of the pod. Defaults to false. /// + /// + /// insecureSkipTLSVerifyBackend indicates that the apiserver should + /// not confirm the validity of the serving certificate of the backend + /// it is connecting to. This will make the HTTPS connection between + /// the apiserver and the backend insecure. This means the apiserver + /// cannot verify the log data it is receiving came from the real + /// kubelet. If the kubelet is configured to verify the apiserver's + /// TLS credentials, it does not mean the connection to the real + /// kubelet is vulnerable to a man in the middle attack (e.g. an + /// attacker could not intercept the actual log data coming from the + /// real kubelet). + /// /// /// If set, the number of bytes to read from the server before /// terminating the log output. This may not display a complete final @@ -3662,7 +3638,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedPodLogWithHttpMessagesAsync(string name, string namespaceParameter, string container = default(string), bool? follow = default(bool?), int? limitBytes = default(int?), string pretty = default(string), bool? previous = default(bool?), int? sinceSeconds = default(int?), int? tailLines = default(int?), bool? timestamps = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedPodLogWithHttpMessagesAsync(string name, string namespaceParameter, string container = default(string), bool? follow = default(bool?), bool? insecureSkipTLSVerifyBackend = default(bool?), int? limitBytes = default(int?), string pretty = default(string), bool? previous = default(bool?), int? sinceSeconds = default(int?), int? tailLines = default(int?), bool? timestamps = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// connect GET requests to portforward of Pod @@ -4072,8 +4048,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -4207,8 +4181,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -4376,7 +4348,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPodTemplateWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPodTemplateWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified PodTemplate @@ -4497,8 +4469,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -4632,8 +4602,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -5112,8 +5080,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -5247,8 +5213,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -5416,7 +5380,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedResourceQuotaWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedResourceQuotaWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified ResourceQuota @@ -5632,8 +5596,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -5767,8 +5729,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -6057,8 +6017,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -6192,8 +6150,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -6361,7 +6317,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedServiceAccountWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedServiceAccountWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified ServiceAccount @@ -6516,8 +6472,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -7465,8 +7419,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -7597,8 +7549,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -8177,8 +8127,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -8277,8 +8225,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -8409,8 +8355,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -8572,7 +8516,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePersistentVolumeWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePersistentVolumeWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified PersistentVolume @@ -8767,8 +8711,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -8867,8 +8809,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -8967,8 +8907,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -9067,8 +9005,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -9167,8 +9103,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -9267,8 +9201,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -9367,8 +9299,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -9500,8 +9430,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -9632,8 +9560,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -9904,8 +9830,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -10036,8 +9960,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -10319,8 +10241,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -10451,8 +10371,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -10723,8 +10641,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -10855,8 +10771,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -11149,8 +11063,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -11281,8 +11193,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -11650,8 +11560,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -11782,8 +11690,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -12162,8 +12068,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -12294,8 +12198,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -12663,8 +12565,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -12795,8 +12695,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -13175,8 +13073,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -13275,8 +13171,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -13375,8 +13269,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -13478,8 +13370,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -13613,8 +13503,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -13903,8 +13791,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -14038,8 +13924,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -14423,8 +14307,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -14558,8 +14440,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -15038,8 +14918,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -15173,8 +15051,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -15653,8 +15529,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -15788,8 +15662,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -16265,8 +16137,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -16365,8 +16235,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -16454,222 +16322,30 @@ public partial interface IKubernetes : System.IDisposable Task> ListStatefulSetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind ControllerRevision + /// get information of a group /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListControllerRevisionForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup4WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Deployment + /// get available resources /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListDeploymentForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ControllerRevision + /// delete collection of AuditSink /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -16679,8 +16355,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -16797,3674 +16471,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedControllerRevision1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNamespacedControllerRevision1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a ControllerRevision - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedControllerRevision1WithHttpMessagesAsync(V1beta1ControllerRevision body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a ControllerRevision - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedControllerRevision1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified ControllerRevision - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedControllerRevision1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified ControllerRevision - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedControllerRevision1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified ControllerRevision - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedControllerRevision1WithHttpMessagesAsync(V1beta1ControllerRevision body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedDeployment1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNamespacedDeployment1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a Deployment - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedDeployment1WithHttpMessagesAsync(Appsv1beta1Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a Deployment - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedDeployment1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified Deployment - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedDeployment1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDeployment1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDeployment1WithHttpMessagesAsync(Appsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create rollback of a Deployment - /// - /// - /// - /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedDeploymentRollbackWithHttpMessagesAsync(Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read scale of the specified Deployment - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedDeploymentScale1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update scale of the specified Deployment - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDeploymentScale1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace scale of the specified Deployment - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDeploymentScale1WithHttpMessagesAsync(Appsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read status of the specified Deployment - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedDeploymentStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDeploymentStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace status of the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDeploymentStatus1WithHttpMessagesAsync(Appsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedStatefulSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNamespacedStatefulSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a StatefulSet - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedStatefulSet1WithHttpMessagesAsync(V1beta1StatefulSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a StatefulSet - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedStatefulSet1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified StatefulSet - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedStatefulSet1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified StatefulSet - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedStatefulSet1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified StatefulSet - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedStatefulSet1WithHttpMessagesAsync(V1beta1StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read scale of the specified StatefulSet - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedStatefulSetScale1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update scale of the specified StatefulSet - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedStatefulSetScale1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace scale of the specified StatefulSet - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedStatefulSetScale1WithHttpMessagesAsync(Appsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read status of the specified StatefulSet - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedStatefulSetStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified StatefulSet - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedStatefulSetStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace status of the specified StatefulSet - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedStatefulSetStatus1WithHttpMessagesAsync(V1beta1StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListStatefulSetForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind ControllerRevision - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListControllerRevisionForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListDaemonSetForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind Deployment - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListDeploymentForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedControllerRevision2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNamespacedControllerRevision2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a ControllerRevision - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedControllerRevision2WithHttpMessagesAsync(V1beta2ControllerRevision body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a ControllerRevision - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedControllerRevision2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified ControllerRevision - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedControllerRevision2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified ControllerRevision - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedControllerRevision2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified ControllerRevision - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedControllerRevision2WithHttpMessagesAsync(V1beta2ControllerRevision body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedDaemonSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNamespacedDaemonSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a DaemonSet - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedDaemonSet1WithHttpMessagesAsync(V1beta2DaemonSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a DaemonSet - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedDaemonSet1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified DaemonSet - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedDaemonSet1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified DaemonSet - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDaemonSet1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified DaemonSet - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDaemonSet1WithHttpMessagesAsync(V1beta2DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read status of the specified DaemonSet - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedDaemonSetStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified DaemonSet - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDaemonSetStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace status of the specified DaemonSet - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDaemonSetStatus1WithHttpMessagesAsync(V1beta2DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedDeployment2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListNamespacedDeployment2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a Deployment - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedDeployment2WithHttpMessagesAsync(V1beta2Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a Deployment - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedDeployment2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified Deployment - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedDeployment2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDeployment2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDeployment2WithHttpMessagesAsync(V1beta2Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read scale of the specified Deployment - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedDeploymentScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update scale of the specified Deployment - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDeploymentScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace scale of the specified Deployment - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDeploymentScale2WithHttpMessagesAsync(V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read status of the specified Deployment - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedDeploymentStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDeploymentStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace status of the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedDeploymentStatus2WithHttpMessagesAsync(V1beta2Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedReplicaSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionAuditSinkWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind AuditSink /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -20474,8 +16485,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -20560,16 +16569,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedReplicaSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListAuditSinkWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ReplicaSet + /// create an AuditSink /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -20591,16 +16597,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedReplicaSet1WithHttpMessagesAsync(V1beta2ReplicaSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateAuditSinkWithHttpMessagesAsync(V1alpha1AuditSink body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ReplicaSet + /// delete an AuditSink /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// @@ -20643,16 +16646,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedReplicaSet1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteAuditSinkWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ReplicaSet + /// read the specified AuditSink /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// Should the export be exact. Exact export maintains @@ -20672,113 +16672,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedReplicaSet1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified ReplicaSet - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedReplicaSet1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified ReplicaSet - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedReplicaSet1WithHttpMessagesAsync(V1beta2ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read scale of the specified ReplicaSet - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedReplicaSetScale1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadAuditSinkWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update scale of the specified ReplicaSet + /// partially update the specified AuditSink /// /// /// /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// When present, indicates that modifications should not be persisted. @@ -20808,18 +16710,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedReplicaSetScale1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchAuditSinkWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace scale of the specified ReplicaSet + /// replace the specified AuditSink /// /// /// /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// When present, indicates that modifications should not be persisted. @@ -20842,80 +16741,35 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedReplicaSetScale1WithHttpMessagesAsync(V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceAuditSinkWithHttpMessagesAsync(V1alpha1AuditSink body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified ReplicaSet + /// get information of a group /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReadNamespacedReplicaSetStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified ReplicaSet + /// get available resources /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> PatchNamespacedReplicaSetStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified ReplicaSet + /// create a TokenReview /// /// /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -20937,254 +16791,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedReplicaSetStatus1WithHttpMessagesAsync(V1beta2ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteCollectionNamespacedStatefulSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateTokenReviewWithHttpMessagesAsync(V1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind StatefulSet + /// get available resources /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListNamespacedStatefulSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a StatefulSet + /// create a TokenReview /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -21206,97 +16830,35 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedStatefulSet2WithHttpMessagesAsync(V1beta2StatefulSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a StatefulSet - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteNamespacedStatefulSet2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified StatefulSet - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. + Task> CreateTokenReview1WithHttpMessagesAsync(V1beta1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The cancellation token. /// + Task> GetAPIGroup6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReadNamespacedStatefulSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified StatefulSet + /// create a LocalSubjectAccessReview /// /// /// - /// - /// name of the StatefulSet - /// /// /// object name and auth scope, such as for teams and projects /// @@ -21310,14 +16872,7 @@ public partial interface IKubernetes : System.IDisposable /// fieldManager is a name associated with the actor or entity that is /// making these changes. The value must be less than or 128 characters /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -21328,19 +16883,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedStatefulSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedLocalSubjectAccessReviewWithHttpMessagesAsync(V1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified StatefulSet + /// create a SelfSubjectAccessReview /// /// /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -21362,16 +16911,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedStatefulSet2WithHttpMessagesAsync(V1beta2StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateSelfSubjectAccessReviewWithHttpMessagesAsync(V1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read scale of the specified StatefulSet + /// create a SelfSubjectRulesReview /// - /// - /// name of the Scale + /// /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -21382,19 +16939,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedStatefulSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateSelfSubjectRulesReviewWithHttpMessagesAsync(V1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update scale of the specified StatefulSet + /// create a SubjectAccessReview /// /// /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -21405,14 +16956,7 @@ public partial interface IKubernetes : System.IDisposable /// fieldManager is a name associated with the actor or entity that is /// making these changes. The value must be less than or 128 characters /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -21423,15 +16967,23 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedStatefulSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateSubjectAccessReviewWithHttpMessagesAsync(V1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace scale of the specified StatefulSet + /// get available resources /// - /// + /// + /// The headers that will be added to request. /// - /// - /// name of the Scale + /// + /// The cancellation token. + /// + Task> GetAPIResources12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// create a LocalSubjectAccessReview + /// + /// /// /// /// object name and auth scope, such as for teams and projects @@ -21457,16 +17009,24 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedStatefulSetScale2WithHttpMessagesAsync(V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedLocalSubjectAccessReview1WithHttpMessagesAsync(V1beta1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified StatefulSet + /// create a SelfSubjectAccessReview /// - /// - /// name of the StatefulSet + /// /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -21477,19 +17037,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedStatefulSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateSelfSubjectAccessReview1WithHttpMessagesAsync(V1beta1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified StatefulSet + /// create a SelfSubjectRulesReview /// /// /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -21500,14 +17054,7 @@ public partial interface IKubernetes : System.IDisposable /// fieldManager is a name associated with the actor or entity that is /// making these changes. The value must be less than or 128 characters /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -21518,19 +17065,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedStatefulSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateSelfSubjectRulesReview1WithHttpMessagesAsync(V1beta1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified StatefulSet + /// create a SubjectAccessReview /// /// /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -21552,110 +17093,32 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedStatefulSetStatus2WithHttpMessagesAsync(V1beta2StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateSubjectAccessReview1WithHttpMessagesAsync(V1beta1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ReplicaSet + /// get information of a group /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. + /// + /// The headers that will be added to request. /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. + /// + /// The cancellation token. /// + Task> GetAPIGroup7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListReplicaSetForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind StatefulSet + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -21666,8 +17129,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -21752,33 +17213,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListStatefulSetForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup4WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListHorizontalPodAutoscalerForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// delete collection of HorizontalPodAutoscaler /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. + /// + /// object name and auth scope, such as for teams and projects /// - Task> GetAPIResources10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of AuditSink - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -21788,8 +17230,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -21906,11 +17346,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionAuditSinkWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind AuditSink + /// list or watch objects of kind HorizontalPodAutoscaler /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -21920,8 +17363,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -22006,13 +17447,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListAuditSinkWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create an AuditSink + /// create a HorizontalPodAutoscaler /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -22034,13 +17478,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateAuditSinkWithHttpMessagesAsync(V1alpha1AuditSink body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete an AuditSink + /// delete a HorizontalPodAutoscaler /// /// - /// name of the AuditSink + /// name of the HorizontalPodAutoscaler + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -22083,13 +17530,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteAuditSinkWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified AuditSink + /// read the specified HorizontalPodAutoscaler /// /// - /// name of the AuditSink + /// name of the HorizontalPodAutoscaler + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains @@ -22109,15 +17559,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadAuditSinkWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified AuditSink + /// partially update the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the AuditSink + /// name of the HorizontalPodAutoscaler + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -22147,154 +17600,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchAuditSinkWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified AuditSink + /// replace the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the AuditSink - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceAuditSinkWithHttpMessagesAsync(V1alpha1AuditSink body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a TokenReview - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateTokenReviewWithHttpMessagesAsync(V1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a TokenReview - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateTokenReview1WithHttpMessagesAsync(V1beta1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a LocalSubjectAccessReview - /// - /// + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -22320,80 +17634,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedLocalSubjectAccessReviewWithHttpMessagesAsync(V1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a SelfSubjectAccessReview - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateSelfSubjectAccessReviewWithHttpMessagesAsync(V1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a SelfSubjectRulesReview - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateSelfSubjectRulesReviewWithHttpMessagesAsync(V1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a SubjectAccessReview + /// read status of the specified HorizontalPodAutoscaler /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed + /// + /// name of the HorizontalPodAutoscaler /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -22404,24 +17654,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateSubjectAccessReviewWithHttpMessagesAsync(V1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a LocalSubjectAccessReview + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// + /// + /// name of the HorizontalPodAutoscaler + /// /// /// object name and auth scope, such as for teams and projects /// @@ -22435,35 +17677,14 @@ public partial interface IKubernetes : System.IDisposable /// fieldManager is a name associated with the actor or entity that is /// making these changes. The value must be less than or 128 characters /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedLocalSubjectAccessReview1WithHttpMessagesAsync(V1beta1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a SelfSubjectAccessReview - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for + /// apply requests (application/apply-patch) but optional for non-apply + /// patch types (JsonPatch, MergePatch, StrategicMergePatch). /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// Force is going to "force" Apply requests. It means user will + /// re-acquire conflicting fields owned by other people. Force flag + /// must be unset for non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -22474,40 +17695,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateSelfSubjectAccessReview1WithHttpMessagesAsync(V1beta1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a SelfSubjectRulesReview + /// replace status of the specified HorizontalPodAutoscaler /// /// /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. + /// + /// name of the HorizontalPodAutoscaler /// - Task> CreateSelfSubjectRulesReview1WithHttpMessagesAsync(V1beta1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a SubjectAccessReview - /// - /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -22530,18 +17729,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateSubjectAccessReview1WithHttpMessagesAsync(V1beta1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -22552,7 +17740,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind HorizontalPodAutoscaler @@ -22566,8 +17754,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -22652,7 +17838,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListHorizontalPodAutoscalerForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListHorizontalPodAutoscalerForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of HorizontalPodAutoscaler @@ -22669,8 +17855,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -22787,7 +17971,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind HorizontalPodAutoscaler @@ -22804,8 +17988,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -22890,7 +18072,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a HorizontalPodAutoscaler @@ -22921,7 +18103,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete a HorizontalPodAutoscaler @@ -22973,7 +18155,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified HorizontalPodAutoscaler @@ -23002,7 +18184,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified HorizontalPodAutoscaler @@ -23043,7 +18225,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified HorizontalPodAutoscaler @@ -23077,7 +18259,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read status of the specified HorizontalPodAutoscaler @@ -23097,7 +18279,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update status of the specified HorizontalPodAutoscaler @@ -23138,7 +18320,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace status of the specified HorizontalPodAutoscaler @@ -23172,7 +18354,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -23183,7 +18365,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind HorizontalPodAutoscaler @@ -23197,8 +18379,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -23283,7 +18463,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListHorizontalPodAutoscalerForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of HorizontalPodAutoscaler @@ -23300,8 +18480,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -23418,7 +18596,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind HorizontalPodAutoscaler @@ -23435,8 +18613,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -23521,7 +18697,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a HorizontalPodAutoscaler @@ -23552,7 +18728,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete a HorizontalPodAutoscaler @@ -23604,7 +18780,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified HorizontalPodAutoscaler @@ -23633,7 +18809,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified HorizontalPodAutoscaler @@ -23674,7 +18850,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified HorizontalPodAutoscaler @@ -23708,7 +18884,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read status of the specified HorizontalPodAutoscaler @@ -23728,7 +18904,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update status of the specified HorizontalPodAutoscaler @@ -23769,7 +18945,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace status of the specified HorizontalPodAutoscaler @@ -23803,7 +18979,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -23814,10 +19001,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind HorizontalPodAutoscaler + /// list or watch objects of kind Job /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -23828,8 +19015,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -23914,10 +19099,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListJobForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of HorizontalPodAutoscaler + /// delete collection of Job /// /// /// object name and auth scope, such as for teams and projects @@ -23931,8 +19116,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -24049,10 +19232,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind HorizontalPodAutoscaler + /// list or watch objects of kind Job /// /// /// object name and auth scope, such as for teams and projects @@ -24066,8 +19249,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -24152,10 +19333,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a HorizontalPodAutoscaler + /// create a Job /// /// /// @@ -24183,13 +19364,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedJobWithHttpMessagesAsync(V1Job body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a HorizontalPodAutoscaler + /// delete a Job /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -24235,13 +19416,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified HorizontalPodAutoscaler + /// read the specified Job /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -24264,15 +19445,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified HorizontalPodAutoscaler + /// partially update the specified Job /// /// /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -24305,15 +19486,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified HorizontalPodAutoscaler + /// replace the specified Job /// /// /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -24339,13 +19520,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedJobWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified HorizontalPodAutoscaler + /// read status of the specified Job /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -24359,15 +19540,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified HorizontalPodAutoscaler + /// partially update status of the specified Job /// /// /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -24400,15 +19581,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified HorizontalPodAutoscaler + /// replace status of the specified Job /// /// /// /// - /// name of the HorizontalPodAutoscaler + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -24434,18 +19615,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedJobStatusWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -24456,10 +19626,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Job + /// list or watch objects of kind CronJob /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -24470,8 +19640,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -24556,10 +19724,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListJobForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCronJobForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Job + /// delete collection of CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -24573,8 +19741,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -24691,10 +19857,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Job + /// list or watch objects of kind CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -24708,8 +19874,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -24794,10 +19958,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Job + /// create a CronJob /// /// /// @@ -24825,13 +19989,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedJobWithHttpMessagesAsync(V1Job body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Job + /// delete a CronJob /// /// - /// name of the Job + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -24877,13 +20041,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Job + /// read the specified CronJob /// /// - /// name of the Job + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -24906,15 +20070,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Job + /// partially update the specified CronJob /// /// /// /// - /// name of the Job + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -24947,15 +20111,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCronJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Job + /// replace the specified CronJob /// /// /// /// - /// name of the Job + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -24981,13 +20145,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedJobWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified Job + /// read status of the specified CronJob /// /// - /// name of the Job + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -25001,15 +20165,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedCronJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified Job + /// partially update status of the specified CronJob /// /// /// /// - /// name of the Job + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -25042,15 +20206,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCronJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified Job + /// replace status of the specified CronJob /// /// /// /// - /// name of the Job + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -25076,7 +20240,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedJobStatusWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -25087,7 +20251,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind CronJob @@ -25101,8 +20265,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -25187,7 +20349,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListCronJobForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCronJobForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of CronJob @@ -25204,8 +20366,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -25322,7 +20482,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind CronJob @@ -25339,8 +20499,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -25425,7 +20583,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a CronJob @@ -25456,7 +20614,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete a CronJob @@ -25508,7 +20666,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified CronJob @@ -25537,7 +20695,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified CronJob @@ -25578,7 +20736,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCronJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCronJob1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified CronJob @@ -25612,7 +20770,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read status of the specified CronJob @@ -25632,7 +20790,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedCronJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedCronJobStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update status of the specified CronJob @@ -25673,7 +20831,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCronJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedCronJobStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace status of the specified CronJob @@ -25707,10 +20865,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// get information of a group /// /// /// The headers that will be added to request. @@ -25718,114 +20876,22 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind CronJob + /// get available resources /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListCronJobForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of CronJob + /// delete collection of CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -25835,8 +20901,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -25953,14 +21017,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -25970,8 +21031,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -26056,16 +21115,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCertificateSigningRequestWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a CronJob + /// create a CertificateSigningRequest /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -26087,16 +21143,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a CronJob + /// delete a CertificateSigningRequest /// /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// @@ -26139,16 +21192,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCertificateSigningRequestWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified CronJob + /// read the specified CertificateSigningRequest /// /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// Should the export be exact. Exact export maintains @@ -26168,18 +21218,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadCertificateSigningRequestWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified CronJob + /// partially update the specified CertificateSigningRequest /// /// /// /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. @@ -26209,18 +21256,46 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCronJob1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchCertificateSigningRequestWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified CronJob + /// replace the specified CertificateSigningRequest /// /// /// /// - /// name of the CronJob + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace approval of the specified CertificateSigningRequest + /// + /// + /// + /// + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. @@ -26243,16 +21318,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified CronJob + /// read status of the specified CertificateSigningRequest /// /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -26263,18 +21335,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedCronJobStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadCertificateSigningRequestStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified CronJob + /// partially update status of the specified CertificateSigningRequest /// /// /// /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. @@ -26304,18 +21373,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedCronJobStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchCertificateSigningRequestStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified CronJob + /// replace status of the specified CertificateSigningRequest /// /// /// /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. @@ -26338,7 +21404,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get information of a group @@ -26349,7 +21415,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIGroup9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -26360,10 +21426,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of CertificateSigningRequest + /// list or watch objects of kind Lease /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -26374,8 +21440,107 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. /// - /// This field is beta. + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListLeaseForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of Lease + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". + /// Servers that do not implement bookmarks may ignore this flag and + /// bookmarks are sent at the server's discretion. Clients should not + /// assume bookmarks are returned at any specific interval, nor may + /// they assume the server will send any BOOKMARK event during a + /// session. If this is not a watch, this field is ignored. If the + /// feature gate WatchBookmarks is not enabled in apiserver, this field + /// is ignored. /// /// /// @@ -26492,11 +21657,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind CertificateSigningRequest + /// list or watch objects of kind Lease /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -26506,8 +21674,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -26592,13 +21758,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListCertificateSigningRequestWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a CertificateSigningRequest + /// create a Lease /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -26620,13 +21789,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedLeaseWithHttpMessagesAsync(V1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a CertificateSigningRequest + /// delete a Lease /// /// - /// name of the CertificateSigningRequest + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -26669,13 +21841,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCertificateSigningRequestWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified CertificateSigningRequest + /// read the specified Lease /// /// - /// name of the CertificateSigningRequest + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains @@ -26695,132 +21870,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadCertificateSigningRequestWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified CertificateSigningRequest - /// - /// - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchCertificateSigningRequestWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified CertificateSigningRequest - /// - /// - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace approval of the specified CertificateSigningRequest + /// partially update the specified Lease /// /// /// /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read status of the specified CertificateSigningRequest - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadCertificateSigningRequestStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified CertificateSigningRequest - /// - /// + /// name of the Lease /// - /// - /// name of the CertificateSigningRequest + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -26850,15 +21911,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchCertificateSigningRequestStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedLeaseWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified CertificateSigningRequest + /// replace the specified Lease /// /// /// /// - /// name of the CertificateSigningRequest + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -26881,18 +21945,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedLeaseWithHttpMessagesAsync(V1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -26903,7 +21956,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind Lease @@ -26917,8 +21970,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -27003,7 +22054,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListLeaseForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListLeaseForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of Lease @@ -27020,8 +22071,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -27138,7 +22187,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedLease1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind Lease @@ -27155,8 +22204,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -27241,7 +22288,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedLease1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a Lease @@ -27272,7 +22319,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedLeaseWithHttpMessagesAsync(V1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedLease1WithHttpMessagesAsync(V1beta1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete a Lease @@ -27324,7 +22371,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedLease1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified Lease @@ -27353,7 +22400,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedLease1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified Lease @@ -27394,7 +22441,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedLeaseWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedLease1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified Lease @@ -27428,7 +22475,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedLeaseWithHttpMessagesAsync(V1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedLease1WithHttpMessagesAsync(V1beta1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -27439,10 +22497,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Lease + /// list or watch objects of kind EndpointSlice /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -27453,8 +22511,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -27539,10 +22595,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListLeaseForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListEndpointSliceForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Lease + /// delete collection of EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -27556,8 +22612,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -27674,10 +22728,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedLease1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedEndpointSliceWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Lease + /// list or watch objects of kind EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -27691,8 +22745,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -27777,10 +22829,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedLease1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedEndpointSliceWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Lease + /// create an EndpointSlice /// /// /// @@ -27808,13 +22860,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedLease1WithHttpMessagesAsync(V1beta1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedEndpointSliceWithHttpMessagesAsync(V1beta1EndpointSlice body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Lease + /// delete an EndpointSlice /// /// - /// name of the Lease + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -27860,13 +22912,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedLease1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedEndpointSliceWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Lease + /// read the specified EndpointSlice /// /// - /// name of the Lease + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -27889,15 +22941,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedLease1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedEndpointSliceWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Lease + /// partially update the specified EndpointSlice /// /// /// /// - /// name of the Lease + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -27930,15 +22982,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedLease1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedEndpointSliceWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Lease + /// replace the specified EndpointSlice /// /// /// /// - /// name of the Lease + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -27964,7 +23016,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedLease1WithHttpMessagesAsync(V1beta1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedEndpointSliceWithHttpMessagesAsync(V1beta1EndpointSlice body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get information of a group @@ -27975,7 +23027,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIGroup11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -27986,10 +23038,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind EndpointSlice + /// list or watch objects of kind Event /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -28000,8 +23052,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -28086,10 +23136,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListEndpointSliceForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListEventForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of EndpointSlice + /// delete collection of Event /// /// /// object name and auth scope, such as for teams and projects @@ -28103,8 +23153,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -28221,10 +23269,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedEndpointSliceWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind EndpointSlice + /// list or watch objects of kind Event /// /// /// object name and auth scope, such as for teams and projects @@ -28238,8 +23286,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -28324,10 +23370,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedEndpointSliceWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create an EndpointSlice + /// create an Event /// /// /// @@ -28355,13 +23401,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedEndpointSliceWithHttpMessagesAsync(V1alpha1EndpointSlice body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete an EndpointSlice + /// delete an Event /// /// - /// name of the EndpointSlice + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -28407,13 +23453,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedEndpointSliceWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified EndpointSlice + /// read the specified Event /// /// - /// name of the EndpointSlice + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -28436,15 +23482,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedEndpointSliceWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified EndpointSlice + /// partially update the specified Event /// /// /// /// - /// name of the EndpointSlice + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -28477,15 +23523,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedEndpointSliceWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedEvent1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified EndpointSlice + /// replace the specified Event /// /// /// /// - /// name of the EndpointSlice + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -28511,7 +23557,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedEndpointSliceWithHttpMessagesAsync(V1alpha1EndpointSlice body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get information of a group @@ -28522,7 +23568,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIGroup12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -28533,10 +23579,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Event + /// list or watch objects of kind Ingress /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -28547,8 +23593,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -28633,10 +23677,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListEventForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListIngressForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Event + /// delete collection of Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -28650,8 +23694,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -28768,10 +23810,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Event + /// list or watch objects of kind Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -28785,8 +23827,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -28871,10 +23911,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create an Event + /// create an Ingress /// /// /// @@ -28902,13 +23942,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedIngressWithHttpMessagesAsync(Extensionsv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete an Event + /// delete an Ingress /// /// - /// name of the Event + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -28954,13 +23994,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedIngressWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Event + /// read the specified Ingress /// /// - /// name of the Event + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -28983,15 +24023,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedIngressWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Event + /// partially update the specified Ingress /// /// /// /// - /// name of the Event + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -29024,15 +24064,110 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedEvent1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedIngressWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Event + /// replace the specified Ingress /// /// /// /// - /// name of the Event + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedIngressWithHttpMessagesAsync(Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read status of the specified Ingress + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedIngressStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update status of the specified Ingress + /// + /// + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for + /// apply requests (application/apply-patch) but optional for non-apply + /// patch types (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will + /// re-acquire conflicting fields owned by other people. Force flag + /// must be unset for non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedIngressStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace status of the specified Ingress + /// + /// + /// + /// + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -29058,7 +24193,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedIngressStatusWithHttpMessagesAsync(Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get information of a group @@ -29069,7 +24204,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIGroup13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -29080,314 +24215,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind Deployment - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListDeploymentForAllNamespaces3WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind Ingress - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListIngressForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of DaemonSet + /// delete collection of FlowSchema /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -29397,8 +24229,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -29515,14 +24345,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionFlowSchemaWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind DaemonSet + /// list or watch objects of kind FlowSchema /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -29532,8 +24359,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -29618,16 +24443,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListFlowSchemaWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a DaemonSet + /// create a FlowSchema /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -29649,16 +24471,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateFlowSchemaWithHttpMessagesAsync(V1alpha1FlowSchema body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a DaemonSet + /// delete a FlowSchema /// /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// @@ -29701,16 +24520,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDaemonSet2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteFlowSchemaWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified DaemonSet + /// read the specified FlowSchema /// /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// Should the export be exact. Exact export maintains @@ -29730,18 +24546,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedDaemonSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadFlowSchemaWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified DaemonSet + /// partially update the specified FlowSchema /// /// /// /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. @@ -29771,18 +24584,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedDaemonSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchFlowSchemaWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified DaemonSet + /// replace the specified FlowSchema /// /// /// /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. @@ -29805,16 +24615,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceFlowSchemaWithHttpMessagesAsync(V1alpha1FlowSchema body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified DaemonSet + /// read status of the specified FlowSchema /// /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// If 'true', then the output is pretty printed. @@ -29825,18 +24632,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadFlowSchemaStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified DaemonSet + /// partially update status of the specified FlowSchema /// /// /// /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. @@ -29866,18 +24670,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchFlowSchemaStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified DaemonSet + /// replace status of the specified FlowSchema /// /// /// /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. @@ -29900,14 +24701,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceFlowSchemaStatusWithHttpMessagesAsync(V1alpha1FlowSchema body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Deployment + /// delete collection of PriorityLevelConfiguration /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -29917,8 +24715,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -30035,14 +24831,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPriorityLevelConfigurationWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind PriorityLevelConfiguration /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -30052,8 +24845,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -30138,16 +24929,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPriorityLevelConfigurationWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Deployment + /// create a PriorityLevelConfiguration /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -30169,16 +24957,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePriorityLevelConfigurationWithHttpMessagesAsync(V1alpha1PriorityLevelConfiguration body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Deployment + /// delete a PriorityLevelConfiguration /// /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// @@ -30221,16 +25006,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedDeployment3WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePriorityLevelConfigurationWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Deployment + /// read the specified PriorityLevelConfiguration /// /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// Should the export be exact. Exact export maintains @@ -30250,18 +25032,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedDeployment3WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPriorityLevelConfigurationWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Deployment + /// partially update the specified PriorityLevelConfiguration /// /// /// /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. @@ -30291,18 +25070,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedDeployment3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPriorityLevelConfigurationWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Deployment + /// replace the specified PriorityLevelConfiguration /// /// /// /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. @@ -30325,50 +25101,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePriorityLevelConfigurationWithHttpMessagesAsync(V1alpha1PriorityLevelConfiguration body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create rollback of a Deployment + /// read status of the specified PriorityLevelConfiguration /// - /// - /// /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read scale of the specified Deployment - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// If 'true', then the output is pretty printed. @@ -30379,18 +25118,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedDeploymentScale3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPriorityLevelConfigurationStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update scale of the specified Deployment + /// partially update status of the specified PriorityLevelConfiguration /// /// /// /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. @@ -30420,18 +25156,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedDeploymentScale3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPriorityLevelConfigurationStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace scale of the specified Deployment + /// replace status of the specified PriorityLevelConfiguration /// /// /// /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. @@ -30454,105 +25187,32 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePriorityLevelConfigurationStatusWithHttpMessagesAsync(V1alpha1PriorityLevelConfiguration body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified Deployment + /// get information of a group /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified Deployment - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified Deployment + /// get available resources /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Ingress + /// delete collection of NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -30566,8 +25226,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -30684,10 +25342,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -30701,8 +25359,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -30787,10 +25443,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedIngressWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create an Ingress + /// create a NetworkPolicy /// /// /// @@ -30818,13 +25474,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedIngressWithHttpMessagesAsync(Extensionsv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedNetworkPolicyWithHttpMessagesAsync(V1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete an Ingress + /// delete a NetworkPolicy /// /// - /// name of the Ingress + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -30870,13 +25526,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedIngressWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Ingress + /// read the specified NetworkPolicy /// /// - /// name of the Ingress + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -30899,15 +25555,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedIngressWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Ingress + /// partially update the specified NetworkPolicy /// /// /// /// - /// name of the Ingress + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -30940,15 +25596,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedIngressWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedNetworkPolicyWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Ingress + /// replace the specified NetworkPolicy /// /// /// /// - /// name of the Ingress + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -30974,60 +25630,97 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedIngressWithHttpMessagesAsync(Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(V1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified Ingress + /// list or watch objects of kind NetworkPolicy /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". + /// Servers that do not implement bookmarks may ignore this flag and + /// bookmarks are sent at the server's discretion. Clients should not + /// assume bookmarks are returned at any specific interval, nor may + /// they assume the server will send any BOOKMARK event during a + /// session. If this is not a watch, this field is ignored. If the + /// feature gate WatchBookmarks is not enabled in apiserver, this field + /// is ignored. /// - /// - /// The cancellation token. + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. /// - Task> ReadNamespacedIngressStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update status of the specified Ingress - /// - /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. /// - /// - /// name of the Ingress + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed + /// + /// If 'true', then the output is pretty printed. /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. /// /// /// The headers that will be added to request. @@ -31035,48 +25728,22 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedIngressStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified Ingress + /// get available resources /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReplaceNamespacedIngressStatusWithHttpMessagesAsync(Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of NetworkPolicy + /// delete collection of IngressClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -31086,8 +25753,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -31204,14 +25869,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionIngressClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind IngressClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -31221,8 +25883,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -31307,16 +25967,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListIngressClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a NetworkPolicy + /// create an IngressClass /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -31338,16 +25995,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateIngressClassWithHttpMessagesAsync(V1beta1IngressClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a NetworkPolicy + /// delete an IngressClass /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the IngressClass /// /// /// @@ -31390,16 +26044,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteIngressClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified NetworkPolicy + /// read the specified IngressClass /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the IngressClass /// /// /// Should the export be exact. Exact export maintains @@ -31419,18 +26070,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadIngressClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified NetworkPolicy + /// partially update the specified IngressClass /// /// /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the IngressClass /// /// /// When present, indicates that modifications should not be persisted. @@ -31460,18 +26108,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedNetworkPolicyWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchIngressClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified NetworkPolicy + /// replace the specified IngressClass /// /// /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the IngressClass /// /// /// When present, indicates that modifications should not be persisted. @@ -31494,10 +26139,108 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceIngressClassWithHttpMessagesAsync(V1beta1IngressClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ReplicaSet + /// list or watch objects of kind Ingress + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". + /// Servers that do not implement bookmarks may ignore this flag and + /// bookmarks are sent at the server's discretion. Clients should not + /// assume bookmarks are returned at any specific interval, nor may + /// they assume the server will send any BOOKMARK event during a + /// session. If this is not a watch, this field is ignored. If the + /// feature gate WatchBookmarks is not enabled in apiserver, this field + /// is ignored. + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListIngressForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -31511,8 +26254,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -31629,10 +26370,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedIngress1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -31646,8 +26387,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -31732,10 +26471,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedIngress1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ReplicaSet + /// create an Ingress /// /// /// @@ -31763,13 +26502,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedIngress1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ReplicaSet + /// delete an Ingress /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -31815,13 +26554,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedReplicaSet2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedIngress1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ReplicaSet + /// read the specified Ingress /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -31844,205 +26583,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedReplicaSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified ReplicaSet - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedReplicaSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified ReplicaSet - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read scale of the specified ReplicaSet - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update scale of the specified ReplicaSet - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace scale of the specified ReplicaSet - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read status of the specified ReplicaSet - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedIngress1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified ReplicaSet + /// partially update the specified Ingress /// /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -32075,15 +26624,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedIngress1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified ReplicaSet + /// replace the specified Ingress /// /// /// /// - /// name of the ReplicaSet + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -32109,13 +26658,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedIngress1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read scale of the specified ReplicationControllerDummy + /// read status of the specified Ingress /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -32129,15 +26678,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedIngressStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update scale of the specified ReplicationControllerDummy + /// partially update status of the specified Ingress /// /// /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -32170,15 +26719,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedIngressStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace scale of the specified ReplicationControllerDummy + /// replace status of the specified Ingress /// /// /// /// - /// name of the Scale + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -32204,110 +26753,32 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedIngressStatus1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind NetworkPolicy + /// get information of a group /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. + /// + /// The headers that will be added to request. /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. + /// + /// The cancellation token. /// + Task> GetAPIGroup16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get available resources + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PodSecurityPolicy + /// delete collection of RuntimeClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -32318,8 +26789,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -32436,10 +26905,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionRuntimeClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind RuntimeClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -32450,8 +26919,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -32536,10 +27003,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPodSecurityPolicyWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRuntimeClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PodSecurityPolicy + /// create a RuntimeClass /// /// /// @@ -32564,13 +27031,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreatePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateRuntimeClassWithHttpMessagesAsync(V1alpha1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PodSecurityPolicy + /// delete a RuntimeClass /// /// - /// name of the PodSecurityPolicy + /// name of the RuntimeClass /// /// /// @@ -32613,13 +27080,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePodSecurityPolicyWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteRuntimeClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PodSecurityPolicy + /// read the specified RuntimeClass /// /// - /// name of the PodSecurityPolicy + /// name of the RuntimeClass /// /// /// Should the export be exact. Exact export maintains @@ -32639,15 +27106,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadPodSecurityPolicyWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadRuntimeClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified RuntimeClass /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. @@ -32677,15 +27144,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchRuntimeClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PodSecurityPolicy + /// replace the specified RuntimeClass /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. @@ -32708,118 +27175,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind ReplicaSet - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceRuntimeClassWithHttpMessagesAsync(V1alpha1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -32830,14 +27186,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of NetworkPolicy + /// delete collection of RuntimeClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -32847,8 +27200,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -32965,14 +27316,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionRuntimeClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind RuntimeClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -32982,8 +27330,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -33068,16 +27414,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRuntimeClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a NetworkPolicy + /// create a RuntimeClass /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -33099,16 +27442,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateRuntimeClass1WithHttpMessagesAsync(V1beta1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a NetworkPolicy + /// delete a RuntimeClass /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// @@ -33151,16 +27491,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteRuntimeClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified NetworkPolicy + /// read the specified RuntimeClass /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// Should the export be exact. Exact export maintains @@ -33180,18 +27517,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadRuntimeClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified NetworkPolicy + /// partially update the specified RuntimeClass /// /// /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. @@ -33221,18 +27555,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchRuntimeClass1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified NetworkPolicy + /// replace the specified RuntimeClass /// /// /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. @@ -33255,107 +27586,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceRuntimeClass1WithHttpMessagesAsync(V1beta1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind NetworkPolicy + /// get information of a group /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -33366,110 +27608,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind Ingress - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListIngressForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources30WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Ingress + /// delete collection of PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33483,8 +27625,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -33601,10 +27741,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedIngress1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33618,8 +27758,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -33704,10 +27842,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedIngress1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create an Ingress + /// create a PodDisruptionBudget /// /// /// @@ -33735,13 +27873,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedIngress1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete an Ingress + /// delete a PodDisruptionBudget /// /// - /// name of the Ingress + /// name of the PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33787,13 +27925,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedIngress1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Ingress + /// read the specified PodDisruptionBudget /// /// - /// name of the Ingress + /// name of the PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33816,15 +27954,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedIngress1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Ingress + /// partially update the specified PodDisruptionBudget /// /// /// /// - /// name of the Ingress + /// name of the PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33857,15 +27995,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedIngress1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Ingress + /// replace the specified PodDisruptionBudget /// /// /// /// - /// name of the Ingress + /// name of the PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33891,13 +28029,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedIngress1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified Ingress + /// read status of the specified PodDisruptionBudget /// /// - /// name of the Ingress + /// name of the PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33911,15 +28049,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedIngressStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified Ingress + /// partially update status of the specified PodDisruptionBudget /// /// /// /// - /// name of the Ingress + /// name of the PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33952,15 +28090,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedIngressStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified Ingress + /// replace status of the specified PodDisruptionBudget /// /// /// /// - /// name of the Ingress + /// name of the PodDisruptionBudget /// /// /// object name and auth scope, such as for teams and projects @@ -33986,32 +28124,108 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedIngressStatus1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get information of a group + /// list or watch objects of kind PodDisruptionBudget /// - /// - /// The headers that will be added to request. + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". + /// Servers that do not implement bookmarks may ignore this flag and + /// bookmarks are sent at the server's discretion. Clients should not + /// assume bookmarks are returned at any specific interval, nor may + /// they assume the server will send any BOOKMARK event during a + /// session. If this is not a watch, this field is ignored. If the + /// feature gate WatchBookmarks is not enabled in apiserver, this field + /// is ignored. /// - /// - /// The cancellation token. + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. /// - Task> GetAPIGroup15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of RuntimeClass + /// delete collection of PodSecurityPolicy /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -34022,8 +28236,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -34140,10 +28352,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionRuntimeClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RuntimeClass + /// list or watch objects of kind PodSecurityPolicy /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -34154,8 +28366,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -34240,10 +28450,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListRuntimeClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPodSecurityPolicyWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a RuntimeClass + /// create a PodSecurityPolicy /// /// /// @@ -34268,13 +28478,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateRuntimeClassWithHttpMessagesAsync(V1alpha1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePodSecurityPolicyWithHttpMessagesAsync(V1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a RuntimeClass + /// delete a PodSecurityPolicy /// /// - /// name of the RuntimeClass + /// name of the PodSecurityPolicy /// /// /// @@ -34317,13 +28527,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteRuntimeClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePodSecurityPolicyWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified RuntimeClass + /// read the specified PodSecurityPolicy /// /// - /// name of the RuntimeClass + /// name of the PodSecurityPolicy /// /// /// Should the export be exact. Exact export maintains @@ -34343,15 +28553,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadRuntimeClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPodSecurityPolicyWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified RuntimeClass + /// partially update the specified PodSecurityPolicy /// /// /// /// - /// name of the RuntimeClass + /// name of the PodSecurityPolicy /// /// /// When present, indicates that modifications should not be persisted. @@ -34381,15 +28591,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchRuntimeClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified RuntimeClass + /// replace the specified PodSecurityPolicy /// /// /// /// - /// name of the RuntimeClass + /// name of the PodSecurityPolicy /// /// /// When present, indicates that modifications should not be persisted. @@ -34412,7 +28622,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceRuntimeClassWithHttpMessagesAsync(V1alpha1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(V1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -34423,10 +28644,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources30WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources31WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of RuntimeClass + /// delete collection of ClusterRoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -34437,8 +28658,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -34555,10 +28774,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionRuntimeClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RuntimeClass + /// list or watch objects of kind ClusterRoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -34569,8 +28788,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -34655,10 +28872,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListRuntimeClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRoleBindingWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a RuntimeClass + /// create a ClusterRoleBinding /// /// /// @@ -34683,13 +28900,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateRuntimeClass1WithHttpMessagesAsync(V1beta1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a RuntimeClass + /// delete a ClusterRoleBinding /// /// - /// name of the RuntimeClass + /// name of the ClusterRoleBinding /// /// /// @@ -34732,22 +28949,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteRuntimeClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRoleBindingWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified RuntimeClass + /// read the specified ClusterRoleBinding /// /// - /// name of the RuntimeClass - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -34758,15 +28966,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadRuntimeClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRoleBindingWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified RuntimeClass + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the RuntimeClass + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. @@ -34796,15 +29004,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchRuntimeClass1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified RuntimeClass + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the RuntimeClass + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. @@ -34827,36 +29035,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceRuntimeClass1WithHttpMessagesAsync(V1beta1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources31WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PodDisruptionBudget + /// delete collection of ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -34866,8 +29049,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -34984,14 +29165,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRoleWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PodDisruptionBudget + /// list or watch objects of kind ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -35001,8 +29179,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -35087,16 +29263,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRoleWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PodDisruptionBudget + /// create a ClusterRole /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -35118,16 +29291,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PodDisruptionBudget + /// delete a ClusterRole /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// @@ -35170,120 +29340,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified PodDisruptionBudget - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified PodDisruptionBudget - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified PodDisruptionBudget - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRoleWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read status of the specified PodDisruptionBudget + /// read the specified ClusterRole /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -35294,18 +29357,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRoleWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update status of the specified PodDisruptionBudget + /// partially update the specified ClusterRole /// /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. @@ -35335,18 +29395,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRoleWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace status of the specified PodDisruptionBudget + /// replace the specified ClusterRole /// /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. @@ -35369,111 +29426,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PodDisruptionBudget + /// delete collection of RoleBinding /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. + /// + /// object name and auth scope, such as for teams and projects /// - Task> ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of PodSecurityPolicy - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -35483,8 +29443,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -35601,11 +29559,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -35615,8 +29576,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -35701,13 +29660,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPodSecurityPolicy1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PodSecurityPolicy + /// create a RoleBinding /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -35729,13 +29691,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreatePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PodSecurityPolicy + /// delete a RoleBinding /// /// - /// name of the PodSecurityPolicy + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -35778,22 +29743,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePodSecurityPolicy1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PodSecurityPolicy + /// read the specified RoleBinding /// /// - /// name of the PodSecurityPolicy - /// - /// - /// Should the export be exact. Exact export maintains - /// cluster-specific fields like 'Namespace'. Deprecated. Planned for - /// removal in 1.18. + /// name of the RoleBinding /// - /// - /// Should this value be exported. Export strips fields that a user - /// can not specify. Deprecated. Planned for removal in 1.18. + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -35804,15 +29763,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadPodSecurityPolicy1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified RoleBinding /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -35842,15 +29804,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchPodSecurityPolicy1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PodSecurityPolicy + /// replace the specified RoleBinding /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -35873,33 +29838,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplacePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// delete collection of Role /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. + /// + /// object name and auth scope, such as for teams and projects /// - Task> GetAPIResources32WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete collection of ClusterRoleBinding - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -35909,8 +29855,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -36027,11 +29971,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -36041,8 +29988,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -36127,13 +30072,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterRoleBindingWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ClusterRoleBinding + /// create a Role /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -36155,13 +30103,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRoleWithHttpMessagesAsync(V1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ClusterRoleBinding + /// delete a Role /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -36204,13 +30155,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterRoleBindingWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ClusterRoleBinding + /// read the specified Role /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -36221,15 +30175,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadClusterRoleBindingWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified Role /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -36259,15 +30216,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRoleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRoleBinding + /// replace the specified Role /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -36290,10 +30250,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRoleWithHttpMessagesAsync(V1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -36304,10 +30264,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from @@ -36332,23 +30288,10 @@ public partial interface IKubernetes : System.IDisposable /// watch from the last resourceVersion value returned by the server /// and not miss any modifications. /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their /// fields. Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their /// labels. Defaults to everything. @@ -36378,22 +30321,8 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after @@ -36413,19 +30342,16 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteCollectionClusterRoleWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleBindingForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -36436,8 +30362,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -36495,6 +30419,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -36513,186 +30440,28 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListClusterRoleWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a ClusterRole - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a ClusterRole - /// - /// - /// name of the ClusterRole - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteClusterRoleWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified ClusterRole - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReadClusterRoleWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified ClusterRole - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchClusterRoleWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRole + /// get available resources /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReplaceClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources32WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -36702,8 +30471,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -36820,14 +30587,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -36837,8 +30601,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -36923,16 +30685,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRoleBinding1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -36954,16 +30713,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// @@ -37006,16 +30762,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRoleBinding1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified RoleBinding + /// read the specified ClusterRoleBinding /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -37026,18 +30779,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRoleBinding1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. @@ -37067,18 +30817,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. @@ -37101,14 +30848,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Role + /// delete collection of ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -37118,8 +30862,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -37236,14 +30978,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRole1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -37253,8 +30992,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -37339,16 +31076,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRole1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Role + /// create a ClusterRole /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -37370,16 +31104,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRoleWithHttpMessagesAsync(V1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Role + /// delete a ClusterRole /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// @@ -37422,16 +31153,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRole1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Role + /// read the specified ClusterRole /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -37442,18 +31170,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRole1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. @@ -37483,18 +31208,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRoleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRole1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. @@ -37517,11 +31239,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRoleWithHttpMessagesAsync(V1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// delete collection of RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -37531,8 +31256,8 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from @@ -37557,10 +31282,23 @@ public partial interface IKubernetes : System.IDisposable /// watch from the last resourceVersion value returned by the server /// and not miss any modifications. /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their /// fields. Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their /// labels. Defaults to everything. @@ -37590,8 +31328,22 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after @@ -37611,17 +31363,23 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleBindingForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// list or watch objects of kind RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -37631,8 +31389,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -37690,9 +31446,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -37711,28 +31464,201 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// create a RoleBinding /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIResources33WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRoleBinding + /// delete a RoleBinding + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified RoleBinding + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified RoleBinding + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for + /// apply requests (application/apply-patch) but optional for non-apply + /// patch types (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will + /// re-acquire conflicting fields owned by other people. Force flag + /// must be unset for non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified RoleBinding /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -37742,8 +31668,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -37860,11 +31784,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -37874,8 +31801,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -37960,13 +31885,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterRoleBinding1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ClusterRoleBinding + /// create a Role /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -37988,13 +31916,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ClusterRoleBinding + /// delete a Role /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -38037,13 +31968,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterRoleBinding1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ClusterRoleBinding + /// read the specified Role /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -38054,15 +31988,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadClusterRoleBinding1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified Role /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -38092,15 +32029,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRole1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRoleBinding + /// replace the specified Role /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -38123,10 +32063,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -38137,10 +32077,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from @@ -38165,23 +32101,10 @@ public partial interface IKubernetes : System.IDisposable /// watch from the last resourceVersion value returned by the server /// and not miss any modifications. /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their /// fields. Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their /// labels. Defaults to everything. @@ -38211,22 +32134,8 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after @@ -38246,19 +32155,16 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteCollectionClusterRole1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -38269,8 +32175,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -38328,6 +32232,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -38346,186 +32253,28 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListClusterRole1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a ClusterRole - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a ClusterRole - /// - /// - /// name of the ClusterRole - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> DeleteClusterRole1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// read the specified ClusterRole - /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReadClusterRole1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRole + /// get available resources /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> PatchClusterRole1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// replace the specified ClusterRole - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ReplaceClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources33WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -38535,8 +32284,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -38653,14 +32400,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -38670,8 +32414,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -38756,16 +32498,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRoleBinding2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -38787,16 +32526,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// @@ -38839,16 +32575,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRoleBinding2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified RoleBinding + /// read the specified ClusterRoleBinding /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -38859,18 +32592,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRoleBinding2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. @@ -38900,18 +32630,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. @@ -38934,14 +32661,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Role + /// delete collection of ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -38951,8 +32675,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -39069,14 +32791,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionClusterRole2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -39086,8 +32805,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -39172,16 +32889,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterRole2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Role + /// create a ClusterRole /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -39203,16 +32917,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Role + /// delete a ClusterRole /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// @@ -39255,16 +32966,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterRole2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Role + /// read the specified ClusterRole /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -39275,18 +32983,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadClusterRole2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. @@ -39316,18 +33021,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRole1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchClusterRole2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. @@ -39350,11 +33052,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// delete collection of RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -39364,8 +33069,8 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from @@ -39390,10 +33095,23 @@ public partial interface IKubernetes : System.IDisposable /// watch from the last resourceVersion value returned by the server /// and not miss any modifications. /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their /// fields. Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their /// labels. Defaults to everything. @@ -39423,8 +33141,22 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after @@ -39444,17 +33176,23 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// list or watch objects of kind RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -39464,8 +33202,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -39523,9 +33259,6 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -39544,28 +33277,201 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ListRoleForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// get available resources + /// create a RoleBinding /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> GetAPIResources34WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRoleBinding + /// delete a RoleBinding /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. + /// Acceptable values are: 'Orphan' - orphan the dependents; + /// 'Background' - allow the garbage collector to delete the dependents + /// in the background; 'Foreground' - a cascading policy that deletes + /// all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> DeleteNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// read the specified RoleBinding + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// partially update the specified RoleBinding + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for + /// apply requests (application/apply-patch) but optional for non-apply + /// patch types (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will + /// re-acquire conflicting fields owned by other people. Force flag + /// must be unset for non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace the specified RoleBinding + /// + /// + /// + /// + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. + /// An invalid or unrecognized dryRun directive will result in an error + /// response and no further processing of the request. Valid values + /// are: - All: all dry run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is + /// making these changes. The value must be less than or 128 characters + /// long, and only contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -39575,8 +33481,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -39693,11 +33597,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -39707,8 +33614,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -39793,13 +33698,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterRoleBinding2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a ClusterRoleBinding + /// create a Role /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -39821,13 +33729,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a ClusterRoleBinding + /// delete a Role /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -39870,13 +33781,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterRoleBinding2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ClusterRoleBinding + /// read the specified Role /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -39887,15 +33801,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadClusterRoleBinding2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified Role /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -39925,15 +33842,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchClusterRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedRole2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRoleBinding + /// replace the specified Role /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -39956,10 +33876,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -39970,10 +33890,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from @@ -39998,23 +33914,10 @@ public partial interface IKubernetes : System.IDisposable /// watch from the last resourceVersion value returned by the server /// and not miss any modifications. /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their /// fields. Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their /// labels. Defaults to everything. @@ -40044,22 +33947,8 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after @@ -40079,19 +33968,16 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteCollectionClusterRole2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -40102,8 +33988,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -40161,6 +34045,9 @@ public partial interface IKubernetes : System.IDisposable /// of the object that was present at the time the first list result /// was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -40179,186 +34066,39 @@ public partial interface IKubernetes : System.IDisposable /// stream of add, update, and remove notifications. Specify /// resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListClusterRole2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// create a ClusterRole - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> CreateClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// delete a ClusterRole - /// - /// - /// name of the ClusterRole - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// Acceptable values are: 'Orphan' - orphan the dependents; - /// 'Background' - allow the garbage collector to delete the dependents - /// in the background; 'Foreground' - a cascading policy that deletes - /// all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> DeleteClusterRole2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListRoleForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified ClusterRole + /// get information of a group /// - /// - /// name of the ClusterRole - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReadClusterRole2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// partially update the specified ClusterRole - /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for - /// apply requests (application/apply-patch) but optional for non-apply - /// patch types (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will - /// re-acquire conflicting fields owned by other people. Force flag - /// must be unset for non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> PatchClusterRole2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIGroup19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified ClusterRole + /// get available resources /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// When present, indicates that modifications should not be persisted. - /// An invalid or unrecognized dryRun directive will result in an error - /// response and no further processing of the request. Valid values - /// are: - All: all dry run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is - /// making these changes. The value must be less than or 128 characters - /// long, and only contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - Task> ReplaceClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources34WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of RoleBinding + /// delete collection of PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -40368,8 +34108,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -40486,14 +34224,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPriorityClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -40503,8 +34238,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -40589,16 +34322,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPriorityClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a RoleBinding + /// create a PriorityClass /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -40620,16 +34350,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePriorityClassWithHttpMessagesAsync(V1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a RoleBinding + /// delete a PriorityClass /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// @@ -40672,16 +34399,22 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePriorityClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified RoleBinding + /// read the specified PriorityClass /// /// - /// name of the RoleBinding + /// name of the PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. Deprecated. Planned for + /// removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -40692,18 +34425,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPriorityClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified RoleBinding + /// partially update the specified PriorityClass /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. @@ -40733,18 +34463,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPriorityClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified RoleBinding + /// replace the specified PriorityClass /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. @@ -40767,14 +34494,22 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePriorityClassWithHttpMessagesAsync(V1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of Role + /// get available resources /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. /// + Task> GetAPIResources35WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete collection of PriorityClass + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -40784,8 +34519,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -40902,14 +34635,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPriorityClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind Role + /// list or watch objects of kind PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -40919,8 +34649,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -41005,16 +34733,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPriorityClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a Role + /// create a PriorityClass /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -41036,16 +34761,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePriorityClass1WithHttpMessagesAsync(V1alpha1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a Role + /// delete a PriorityClass /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// @@ -41088,16 +34810,22 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePriorityClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified Role + /// read the specified PriorityClass /// /// - /// name of the Role + /// name of the PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains + /// cluster-specific fields like 'Namespace'. Deprecated. Planned for + /// removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user + /// can not specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -41108,18 +34836,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPriorityClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified Role + /// partially update the specified PriorityClass /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. @@ -41149,18 +34874,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedRole2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPriorityClass1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified Role + /// replace the specified PriorityClass /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. @@ -41183,218 +34905,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind RoleBinding - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind Role - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListRoleForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePriorityClass1WithHttpMessagesAsync(V1alpha1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -41405,7 +34916,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources35WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources36WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of PriorityClass @@ -41419,8 +34930,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -41537,7 +35046,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionPriorityClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionPriorityClass2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind PriorityClass @@ -41551,8 +35060,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -41637,7 +35144,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPriorityClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListPriorityClass2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a PriorityClass @@ -41665,7 +35172,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreatePriorityClassWithHttpMessagesAsync(V1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreatePriorityClass2WithHttpMessagesAsync(V1beta1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete a PriorityClass @@ -41714,7 +35221,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePriorityClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeletePriorityClass2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified PriorityClass @@ -41740,7 +35247,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadPriorityClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadPriorityClass2WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified PriorityClass @@ -41778,7 +35285,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchPriorityClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchPriorityClass2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified PriorityClass @@ -41809,7 +35316,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplacePriorityClassWithHttpMessagesAsync(V1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplacePriorityClass2WithHttpMessagesAsync(V1beta1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -41820,11 +35338,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources36WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources37WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PriorityClass + /// delete collection of PodPreset /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -41834,8 +35355,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -41952,11 +35471,14 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionPriorityClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind PodPreset /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -41966,8 +35488,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -42052,13 +35572,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPriorityClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PriorityClass + /// create a PodPreset /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -42080,13 +35603,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreatePriorityClass1WithHttpMessagesAsync(V1alpha1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PriorityClass + /// delete a PodPreset /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -42129,13 +35655,16 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePriorityClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PriorityClass + /// read the specified PodPreset /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains @@ -42155,15 +35684,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadPriorityClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PriorityClass + /// partially update the specified PodPreset /// /// /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -42193,15 +35725,18 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchPriorityClass1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchNamespacedPodPresetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PriorityClass + /// replace the specified PodPreset /// /// /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. @@ -42224,7 +35759,116 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplacePriorityClass1WithHttpMessagesAsync(V1alpha1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind PodPreset + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". + /// Servers that do not implement bookmarks may ignore this flag and + /// bookmarks are sent at the server's discretion. Clients should not + /// assume bookmarks are returned at any specific interval, nor may + /// they assume the server will send any BOOKMARK event during a + /// session. If this is not a watch, this field is ignored. If the + /// feature gate WatchBookmarks is not enabled in apiserver, this field + /// is ignored. + /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// + /// + /// A selector to restrict the list of returned objects by their + /// fields. Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their + /// labels. Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after + /// that particular version of a resource. Defaults to changes from the + /// beginning of history. When specified for list: - if unset, then the + /// result is returned from remote storage based on quorum-read flag; - + /// if it's 0, then we simply return what we currently have in cache, + /// no guarantee; - if set to non zero, then the result is at least as + /// fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the + /// call, regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a + /// stream of add, update, and remove notifications. Specify + /// resourceVersion. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ListPodPresetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// get information of a group + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> GetAPIGroup21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get available resources @@ -42235,10 +35879,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources37WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources38WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PriorityClass + /// delete collection of CSIDriver /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -42249,8 +35893,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -42367,10 +36009,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionPriorityClass2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionCSIDriverWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind CSIDriver /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". @@ -42381,8 +36023,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -42467,10 +36107,10 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListPriorityClass2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCSIDriverWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PriorityClass + /// create a CSIDriver /// /// /// @@ -42495,13 +36135,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreatePriorityClass2WithHttpMessagesAsync(V1beta1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateCSIDriverWithHttpMessagesAsync(V1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PriorityClass + /// delete a CSIDriver /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// @@ -42544,13 +36184,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeletePriorityClass2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCSIDriverWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PriorityClass + /// read the specified CSIDriver /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// Should the export be exact. Exact export maintains @@ -42570,15 +36210,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadPriorityClass2WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadCSIDriverWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PriorityClass + /// partially update the specified CSIDriver /// /// /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// When present, indicates that modifications should not be persisted. @@ -42608,15 +36248,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchPriorityClass2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchCSIDriverWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PriorityClass + /// replace the specified CSIDriver /// /// /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// When present, indicates that modifications should not be persisted. @@ -42639,36 +36279,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplacePriorityClass2WithHttpMessagesAsync(V1beta1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources38WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceCSIDriverWithHttpMessagesAsync(V1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete collection of PodPreset + /// delete collection of CSINode /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -42678,8 +36293,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -42796,14 +36409,11 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionCSINodeWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind CSINode /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". /// Servers that do not implement bookmarks may ignore this flag and @@ -42813,8 +36423,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -42899,16 +36507,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCSINodeWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// create a PodPreset + /// create a CSINode /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. /// An invalid or unrecognized dryRun directive will result in an error @@ -42930,16 +36535,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateCSINodeWithHttpMessagesAsync(V1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// delete a PodPreset + /// delete a CSINode /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// @@ -42982,16 +36584,13 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCSINodeWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// read the specified PodPreset + /// read the specified CSINode /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// Should the export be exact. Exact export maintains @@ -43011,18 +36610,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadCSINodeWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// partially update the specified PodPreset + /// partially update the specified CSINode /// /// /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// When present, indicates that modifications should not be persisted. @@ -43052,18 +36648,15 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchNamespacedPodPresetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchCSINodeWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// replace the specified PodPreset + /// replace the specified CSINode /// /// /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// When present, indicates that modifications should not be persisted. @@ -43086,129 +36679,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// list or watch objects of kind PodPreset - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". - /// Servers that do not implement bookmarks may ignore this flag and - /// bookmarks are sent at the server's discretion. Clients should not - /// assume bookmarks are returned at any specific interval, nor may - /// they assume the server will send any BOOKMARK event during a - /// session. If this is not a watch, this field is ignored. If the - /// feature gate WatchBookmarks is not enabled in apiserver, this field - /// is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from - /// the server. Since this value is server defined, clients may only - /// use the continue value from a previous query result with identical - /// query parameters (except for the value of continue) and the server - /// may reject a continue value it does not recognize. If the specified - /// continue value is no longer valid whether due to expiration - /// (generally five to fifteen minutes) or a configuration change on - /// the server, the server will respond with a 410 ResourceExpired - /// error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue - /// field. Otherwise, the client may send another list request with the - /// token received with the 410 error, the server will respond with a - /// list starting from the next key, but from the latest snapshot, - /// which is inconsistent from the previous list results - objects that - /// are created, modified, or deleted after the first list request will - /// be included in the response, as long as their keys are after the - /// "next key". - /// - /// This field is not supported when watch is true. Clients may start a - /// watch from the last resourceVersion value returned by the server - /// and not miss any modifications. - /// - /// - /// A selector to restrict the list of returned objects by their - /// fields. Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their - /// labels. Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. - /// If more items exist, the server will set the `continue` field on - /// the list metadata to a value that can be used with the same initial - /// query to retrieve the next set of results. Setting a limit may - /// return fewer than the requested amount of items (up to zero items) - /// in the event all requested objects are filtered out and clients - /// should only use the presence of the continue field to determine - /// whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available - /// results. If limit is specified and the continue field is empty, - /// clients may assume that no more results are available. This field - /// is not supported if watch is true. - /// - /// The server guarantees that the objects returned when using continue - /// will be identical to issuing a single list call without a limit - - /// that is, no objects created, modified, or deleted after the first - /// request is issued will be included in any subsequent continued - /// requests. This is sometimes referred to as a consistent snapshot, - /// and ensures that a client that is using limit to receive smaller - /// chunks of a very large result can ensure they see all possible - /// objects. If objects are updated during a chunked list the version - /// of the object that was present at the time the first list result - /// was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after - /// that particular version of a resource. Defaults to changes from the - /// beginning of history. When specified for list: - if unset, then the - /// result is returned from remote storage based on quorum-read flag; - - /// if it's 0, then we simply return what we currently have in cache, - /// no guarantee; - if set to non zero, then the result is at least as - /// fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the - /// call, regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a - /// stream of add, update, and remove notifications. Specify - /// resourceVersion. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ListPodPresetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get information of a group - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIGroup20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// get available resources - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetAPIResources39WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceCSINodeWithHttpMessagesAsync(V1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of StorageClass @@ -43222,8 +36693,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -43354,8 +36823,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -43517,7 +36984,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteStorageClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteStorageClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified StorageClass @@ -43626,8 +37093,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -43758,8 +37223,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -43921,7 +37384,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteVolumeAttachmentWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteVolumeAttachmentWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified VolumeAttachment @@ -44113,7 +37576,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources40WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources39WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of VolumeAttachment @@ -44127,8 +37590,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -44259,8 +37720,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -44422,7 +37881,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteVolumeAttachment1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteVolumeAttachment1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified VolumeAttachment @@ -44528,7 +37987,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> GetAPIResources41WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources40WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of CSIDriver @@ -44542,8 +38001,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -44660,7 +38117,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionCSIDriverWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionCSIDriver1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind CSIDriver @@ -44674,8 +38131,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -44760,7 +38215,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListCSIDriverWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCSIDriver1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a CSIDriver @@ -44788,7 +38243,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateCSIDriverWithHttpMessagesAsync(V1beta1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateCSIDriver1WithHttpMessagesAsync(V1beta1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete a CSIDriver @@ -44837,7 +38292,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCSIDriverWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCSIDriver1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified CSIDriver @@ -44863,7 +38318,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadCSIDriverWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadCSIDriver1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified CSIDriver @@ -44901,7 +38356,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchCSIDriverWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchCSIDriver1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified CSIDriver @@ -44932,7 +38387,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceCSIDriverWithHttpMessagesAsync(V1beta1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceCSIDriver1WithHttpMessagesAsync(V1beta1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of CSINode @@ -44946,8 +38401,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -45064,7 +38517,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCollectionCSINodeWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCollectionCSINode1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind CSINode @@ -45078,8 +38531,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -45164,7 +38615,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListCSINodeWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListCSINode1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a CSINode @@ -45192,7 +38643,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> CreateCSINodeWithHttpMessagesAsync(V1beta1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateCSINode1WithHttpMessagesAsync(V1beta1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete a CSINode @@ -45241,7 +38692,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteCSINodeWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteCSINode1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified CSINode @@ -45267,7 +38718,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReadCSINodeWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadCSINode1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// partially update the specified CSINode @@ -45305,7 +38756,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> PatchCSINodeWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchCSINode1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified CSINode @@ -45336,7 +38787,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ReplaceCSINodeWithHttpMessagesAsync(V1beta1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceCSINode1WithHttpMessagesAsync(V1beta1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of StorageClass @@ -45350,8 +38801,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -45482,8 +38931,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -45645,7 +39092,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteStorageClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteStorageClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified StorageClass @@ -45754,8 +39201,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// @@ -45886,8 +39331,6 @@ public partial interface IKubernetes : System.IDisposable /// session. If this is not a watch, this field is ignored. If the /// feature gate WatchBookmarks is not enabled in apiserver, this field /// is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from @@ -46049,7 +39492,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteVolumeAttachment2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteVolumeAttachment2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// read the specified VolumeAttachment @@ -46222,6 +39665,29 @@ public partial interface IKubernetes : System.IDisposable /// The custom resource's plural name. For TPRs this would be lowercase /// plural kind. /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// /// /// A selector to restrict the list of returned objects by their /// fields. Defaults to everything. @@ -46230,6 +39696,31 @@ public partial interface IKubernetes : System.IDisposable /// A selector to restrict the list of returned objects by their /// labels. Defaults to everything. /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -46256,7 +39747,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Creates a cluster scoped Custom object @@ -46298,6 +39789,29 @@ public partial interface IKubernetes : System.IDisposable /// The custom resource's plural name. For TPRs this would be lowercase /// plural kind. /// + /// + /// The continue option should be set when retrieving more results from + /// the server. Since this value is server defined, clients may only + /// use the continue value from a previous query result with identical + /// query parameters (except for the value of continue) and the server + /// may reject a continue value it does not recognize. If the specified + /// continue value is no longer valid whether due to expiration + /// (generally five to fifteen minutes) or a configuration change on + /// the server, the server will respond with a 410 ResourceExpired + /// error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue + /// field. Otherwise, the client may send another list request with the + /// token received with the 410 error, the server will respond with a + /// list starting from the next key, but from the latest snapshot, + /// which is inconsistent from the previous list results - objects that + /// are created, modified, or deleted after the first list request will + /// be included in the response, as long as their keys are after the + /// "next key". + /// + /// This field is not supported when watch is true. Clients may start a + /// watch from the last resourceVersion value returned by the server + /// and not miss any modifications. + /// /// /// A selector to restrict the list of returned objects by their /// fields. Defaults to everything. @@ -46306,6 +39820,31 @@ public partial interface IKubernetes : System.IDisposable /// A selector to restrict the list of returned objects by their /// labels. Defaults to everything. /// + /// + /// limit is a maximum number of responses to return for a list call. + /// If more items exist, the server will set the `continue` field on + /// the list metadata to a value that can be used with the same initial + /// query to retrieve the next set of results. Setting a limit may + /// return fewer than the requested amount of items (up to zero items) + /// in the event all requested objects are filtered out and clients + /// should only use the presence of the continue field to determine + /// whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available + /// results. If limit is specified and the continue field is empty, + /// clients may assume that no more results are available. This field + /// is not supported if watch is true. + /// + /// The server guarantees that the objects returned when using continue + /// will be identical to issuing a single list call without a limit - + /// that is, no objects created, modified, or deleted after the first + /// request is issued will be included in any subsequent continued + /// requests. This is sometimes referred to as a consistent snapshot, + /// and ensures that a client that is using limit to receive smaller + /// chunks of a very large result can ensure they see all possible + /// objects. If objects are updated during a chunked list the version + /// of the object that was present at the time the first list result + /// was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after /// that particular version of a resource. Defaults to changes from the @@ -46332,7 +39871,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace status of the cluster scoped specified custom object @@ -46474,8 +40013,6 @@ public partial interface IKubernetes : System.IDisposable /// /// Deletes the specified namespace scoped custom object /// - /// - /// /// /// the custom resource's group /// @@ -46492,6 +40029,8 @@ public partial interface IKubernetes : System.IDisposable /// /// the custom object's name /// + /// + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -46518,7 +40057,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteNamespacedCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, V1DeleteOptions body = default(V1DeleteOptions), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Returns a namespace scoped custom object @@ -46767,8 +40306,6 @@ public partial interface IKubernetes : System.IDisposable /// /// Deletes the specified cluster scoped custom object /// - /// - /// /// /// the custom resource's group /// @@ -46782,6 +40319,8 @@ public partial interface IKubernetes : System.IDisposable /// /// the custom object's name /// + /// + /// /// /// The duration in seconds before the object should be deleted. Value /// must be non-negative integer. The value zero indicates delete @@ -46808,7 +40347,7 @@ public partial interface IKubernetes : System.IDisposable /// /// The cancellation token. /// - Task> DeleteClusterCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string name, V1DeleteOptions body = default(V1DeleteOptions), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Returns a cluster scoped custom object diff --git a/src/KubernetesClient/generated/Kubernetes.Watch.cs b/src/KubernetesClient/generated/Kubernetes.Watch.cs index 7af06b550..f27d6f51c 100644 --- a/src/KubernetesClient/generated/Kubernetes.Watch.cs +++ b/src/KubernetesClient/generated/Kubernetes.Watch.cs @@ -641,190 +641,6 @@ public Task> WatchNamespacedStatefulSetAsync( return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } - /// - public Task> WatchNamespacedControllerRevisionAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/apps/v1beta1/watch/namespaces/{@namespace}/controllerrevisions/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - - /// - public Task> WatchNamespacedDeploymentAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/apps/v1beta1/watch/namespaces/{@namespace}/deployments/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - - /// - public Task> WatchNamespacedStatefulSetAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/apps/v1beta1/watch/namespaces/{@namespace}/statefulsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - - /// - public Task> WatchNamespacedControllerRevisionAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/controllerrevisions/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - - /// - public Task> WatchNamespacedDaemonSetAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/daemonsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - - /// - public Task> WatchNamespacedDeploymentAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/deployments/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - - /// - public Task> WatchNamespacedReplicaSetAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/replicasets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - - /// - public Task> WatchNamespacedStatefulSetAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/apps/v1beta2/watch/namespaces/{@namespace}/statefulsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - /// public Task> WatchAuditSinkAsync( string name, @@ -1054,7 +870,7 @@ public Task> WatchNamespacedLeaseAsync( } /// - public Task> WatchNamespacedEndpointSliceAsync( + public Task> WatchNamespacedEndpointSliceAsync( string name, string @namespace, bool? allowWatchBookmarks = null, @@ -1067,13 +883,13 @@ public Task> WatchNamespacedEndpointSliceAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { - string path = $"apis/discovery.k8s.io/v1alpha1/watch/namespaces/{@namespace}/endpointslices/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + string path = $"apis/discovery.k8s.io/v1beta1/watch/namespaces/{@namespace}/endpointslices/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1099,52 +915,6 @@ public Task> WatchNamespacedEventAsync( return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } - /// - public Task> WatchNamespacedDaemonSetAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/extensions/v1beta1/watch/namespaces/{@namespace}/daemonsets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - - /// - public Task> WatchNamespacedDeploymentAsync( - string name, - string @namespace, - bool? allowWatchBookmarks = null, - string @continue = null, - string fieldSelector = null, - string labelSelector = null, - int? limit = null, - bool? pretty = null, - string resourceVersion = null, - int? timeoutSeconds = null, - bool? watch = null, - Dictionary> customHeaders = null, - Action onEvent = null, - Action onError = null, - Action onClosed = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - string path = $"apis/extensions/v1beta1/watch/namespaces/{@namespace}/deployments/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); - } - /// public Task> WatchNamespacedIngressAsync( string name, @@ -1169,9 +939,8 @@ public Task> WatchNamespacedIngressAsync( } /// - public Task> WatchNamespacedNetworkPolicyAsync( + public Task> WatchFlowSchemaAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -1182,19 +951,18 @@ public Task> WatchNamespacedNetworkPolicyAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { - string path = $"apis/extensions/v1beta1/watch/namespaces/{@namespace}/networkpolicies/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + string path = $"apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// - public Task> WatchNamespacedReplicaSetAsync( + public Task> WatchPriorityLevelConfigurationAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -1205,18 +973,19 @@ public Task> WatchNamespacedReplicaSetAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { - string path = $"apis/extensions/v1beta1/watch/namespaces/{@namespace}/replicasets/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + string path = $"apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// - public Task> WatchPodSecurityPolicyAsync( + public Task> WatchNamespacedNetworkPolicyAsync( string name, + string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -1227,19 +996,18 @@ public Task> WatchPodSecurityPolicyA int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { - string path = $"apis/extensions/v1beta1/watch/podsecuritypolicies/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + string path = $"apis/networking.k8s.io/v1/watch/namespaces/{@namespace}/networkpolicies/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// - public Task> WatchNamespacedNetworkPolicyAsync( + public Task> WatchIngressClassAsync( string name, - string @namespace, bool? allowWatchBookmarks = null, string @continue = null, string fieldSelector = null, @@ -1250,13 +1018,13 @@ public Task> WatchNamespacedNetworkPolicyAsync( int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { - string path = $"apis/networking.k8s.io/v1/watch/namespaces/{@namespace}/networkpolicies/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + string path = $"apis/networking.k8s.io/v1beta1/watch/ingressclasses/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1350,7 +1118,7 @@ public Task> WatchNamespacedPodDisruptionBud } /// - public Task> WatchPodSecurityPolicyAsync( + public Task> WatchPodSecurityPolicyAsync( string name, bool? allowWatchBookmarks = null, string @continue = null, @@ -1362,13 +1130,13 @@ public Task> WatchPodSecurityPolicyAsync int? timeoutSeconds = null, bool? watch = null, Dictionary> customHeaders = null, - Action onEvent = null, + Action onEvent = null, Action onError = null, Action onClosed = null, CancellationToken cancellationToken = default(CancellationToken)) { string path = $"apis/policy/v1beta1/watch/podsecuritypolicies/{name}"; - return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } /// @@ -1730,6 +1498,50 @@ public Task> WatchNamespacedPodPresetAsync( return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); } + /// + public Task> WatchCSIDriverAsync( + string name, + bool? allowWatchBookmarks = null, + string @continue = null, + string fieldSelector = null, + string labelSelector = null, + int? limit = null, + bool? pretty = null, + string resourceVersion = null, + int? timeoutSeconds = null, + bool? watch = null, + Dictionary> customHeaders = null, + Action onEvent = null, + Action onError = null, + Action onClosed = null, + CancellationToken cancellationToken = default(CancellationToken)) + { + string path = $"apis/storage.k8s.io/v1/watch/csidrivers/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + } + + /// + public Task> WatchCSINodeAsync( + string name, + bool? allowWatchBookmarks = null, + string @continue = null, + string fieldSelector = null, + string labelSelector = null, + int? limit = null, + bool? pretty = null, + string resourceVersion = null, + int? timeoutSeconds = null, + bool? watch = null, + Dictionary> customHeaders = null, + Action onEvent = null, + Action onError = null, + Action onClosed = null, + CancellationToken cancellationToken = default(CancellationToken)) + { + string path = $"apis/storage.k8s.io/v1/watch/csinodes/{name}"; + return WatchObjectAsync(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken); + } + /// public Task> WatchStorageClassAsync( string name, diff --git a/src/KubernetesClient/generated/Kubernetes.cs b/src/KubernetesClient/generated/Kubernetes.cs index 6ec4dde5e..519e188c3 100644 --- a/src/KubernetesClient/generated/Kubernetes.cs +++ b/src/KubernetesClient/generated/Kubernetes.cs @@ -572,8 +572,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -984,8 +982,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -1242,8 +1238,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -1500,8 +1494,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -1758,8 +1750,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -2016,8 +2006,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -2722,8 +2710,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -3052,8 +3038,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -4395,8 +4379,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -4725,8 +4707,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -6068,8 +6048,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -6398,8 +6376,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -7749,8 +7725,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -8079,8 +8053,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -9430,8 +9402,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -9760,8 +9730,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -10311,7 +10279,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -10440,7 +10408,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -10449,7 +10417,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -10467,7 +10435,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -11704,8 +11672,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -12034,8 +12000,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -12585,7 +12549,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -12714,7 +12678,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -12723,7 +12687,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -12741,7 +12705,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -14679,6 +14643,17 @@ private void Initialize() /// /// Follow the log stream of the pod. Defaults to false. /// + /// + /// insecureSkipTLSVerifyBackend indicates that the apiserver should not + /// confirm the validity of the serving certificate of the backend it is + /// connecting to. This will make the HTTPS connection between the apiserver + /// and the backend insecure. This means the apiserver cannot verify the log + /// data it is receiving came from the real kubelet. If the kubelet is + /// configured to verify the apiserver's TLS credentials, it does not mean the + /// connection to the real kubelet is vulnerable to a man in the middle attack + /// (e.g. an attacker could not intercept the actual log data coming from the + /// real kubelet). + /// /// /// If set, the number of bytes to read from the server before terminating the /// log output. This may not display a complete final line of logging, and may @@ -14726,7 +14701,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedPodLogWithHttpMessagesAsync(string name, string namespaceParameter, string container = default(string), bool? follow = default(bool?), int? limitBytes = default(int?), string pretty = default(string), bool? previous = default(bool?), int? sinceSeconds = default(int?), int? tailLines = default(int?), bool? timestamps = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedPodLogWithHttpMessagesAsync(string name, string namespaceParameter, string container = default(string), bool? follow = default(bool?), bool? insecureSkipTLSVerifyBackend = default(bool?), int? limitBytes = default(int?), string pretty = default(string), bool? previous = default(bool?), int? sinceSeconds = default(int?), int? tailLines = default(int?), bool? timestamps = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -14745,6 +14720,7 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("container", container); tracingParameters.Add("follow", follow); + tracingParameters.Add("insecureSkipTLSVerifyBackend", insecureSkipTLSVerifyBackend); tracingParameters.Add("limitBytes", limitBytes); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); @@ -14770,6 +14746,10 @@ private void Initialize() { _queryParameters.Add(string.Format("follow={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(follow, SerializationSettings).Trim('"')))); } + if (insecureSkipTLSVerifyBackend != null) + { + _queryParameters.Add(string.Format("insecureSkipTLSVerifyBackend={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(insecureSkipTLSVerifyBackend, SerializationSettings).Trim('"')))); + } if (limitBytes != null) { _queryParameters.Add(string.Format("limitBytes={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limitBytes, SerializationSettings).Trim('"')))); @@ -17845,8 +17825,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -18175,8 +18153,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18726,7 +18702,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPodTemplateWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPodTemplateWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -18855,7 +18831,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -18864,7 +18840,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -18882,7 +18858,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -19526,8 +19502,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -19856,8 +19830,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -22393,8 +22365,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -22723,8 +22693,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -23270,7 +23238,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedResourceQuotaWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedResourceQuotaWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -23399,7 +23367,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -23408,7 +23376,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -23426,7 +23394,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -24655,8 +24623,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -24985,8 +24951,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -26328,8 +26292,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -26658,8 +26620,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -27205,7 +27165,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedServiceAccountWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedServiceAccountWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -27334,7 +27294,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -27343,7 +27303,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -27361,7 +27321,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -28239,8 +28199,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -33828,8 +33786,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -34143,8 +34099,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -37926,8 +37880,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -38184,8 +38136,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -38499,8 +38449,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -39026,7 +38974,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePersistentVolumeWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePersistentVolumeWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -39149,7 +39097,197 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified PersistentVolume + /// + /// + /// name of the PersistentVolume + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadPersistentVolumeWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadPersistentVolume", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/persistentvolumes/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -39158,25 +39296,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -39196,18 +39316,31 @@ private void Initialize() } /// - /// read the specified PersistentVolume + /// partially update the specified PersistentVolume /// + /// + /// /// /// name of the PersistentVolume /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -39233,8 +39366,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPersistentVolumeWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchPersistentVolumeWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -39246,25 +39383,31 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPersistentVolume", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPersistentVolume", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/persistentvolumes/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (exact != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (export != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -39277,7 +39420,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -39296,6 +39439,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -39368,7 +39517,7 @@ private void Initialize() } /// - /// partially update the specified PersistentVolume + /// replace the specified PersistentVolume /// /// /// @@ -39385,14 +39534,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -39418,12 +39560,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchPersistentVolumeWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePersistentVolumeWithHttpMessagesAsync(V1PersistentVolume body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -39438,11 +39584,10 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPersistentVolume", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePersistentVolume", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -39457,10 +39602,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -39472,7 +39613,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -39495,7 +39636,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -39517,7 +39658,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -39561,6 +39702,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -39569,25 +39728,11 @@ private void Initialize() } /// - /// replace the specified PersistentVolume + /// read status of the specified PersistentVolume /// - /// - /// /// /// name of the PersistentVolume /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// /// /// If 'true', then the output is pretty printed. /// @@ -39612,16 +39757,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePersistentVolumeWithHttpMessagesAsync(V1PersistentVolume body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadPersistentVolumeStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -39633,27 +39770,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePersistentVolume", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadPersistentVolumeStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/persistentvolumes/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/persistentvolumes/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -39665,7 +39791,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -39684,12 +39810,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -39710,7 +39830,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -39754,24 +39874,6 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -39780,11 +39882,32 @@ private void Initialize() } /// - /// read status of the specified PersistentVolume + /// partially update status of the specified PersistentVolume /// + /// + /// /// /// name of the PersistentVolume /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// /// /// If 'true', then the output is pretty printed. /// @@ -39809,8 +39932,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPersistentVolumeStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchPersistentVolumeStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -39822,16 +39949,32 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPersistentVolumeStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPersistentVolumeStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/persistentvolumes/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -39843,7 +39986,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -39862,6 +40005,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -39934,7 +40083,7 @@ private void Initialize() } /// - /// partially update status of the specified PersistentVolume + /// replace status of the specified PersistentVolume /// /// /// @@ -39951,14 +40100,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -39984,12 +40126,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchPersistentVolumeStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePersistentVolumeStatusWithHttpMessagesAsync(V1PersistentVolume body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -40004,11 +40150,10 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPersistentVolumeStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePersistentVolumeStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -40023,10 +40168,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -40038,7 +40179,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -40061,7 +40202,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -40083,7 +40224,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -40127,6 +40268,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -40135,28 +40294,88 @@ private void Initialize() } /// - /// replace status of the specified PersistentVolume + /// list or watch objects of kind Pod /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the PersistentVolume + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -40169,29 +40388,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePersistentVolumeStatusWithHttpMessagesAsync(V1PersistentVolume body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPodForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -40199,31 +40400,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePersistentVolumeStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPodForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/persistentvolumes/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/pods").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -40231,7 +40459,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -40250,12 +40478,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -40276,7 +40498,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -40299,7 +40521,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -40308,25 +40530,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -40346,7 +40550,7 @@ private void Initialize() } /// - /// list or watch objects of kind Pod + /// list or watch objects of kind PodTemplate /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -40356,8 +40560,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -40445,7 +40647,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListPodForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPodTemplateForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -40464,11 +40666,11 @@ private void Initialize() tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPodTemplateForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/pods").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/podtemplates").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -40575,7 +40777,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -40584,7 +40786,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -40604,7 +40806,7 @@ private void Initialize() } /// - /// list or watch objects of kind PodTemplate + /// list or watch objects of kind ReplicationController /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -40614,8 +40816,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -40703,7 +40903,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListPodTemplateForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListReplicationControllerForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -40722,11 +40922,11 @@ private void Initialize() tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodTemplateForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListReplicationControllerForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/podtemplates").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/replicationcontrollers").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -40833,7 +41033,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -40842,7 +41042,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -40862,7 +41062,7 @@ private void Initialize() } /// - /// list or watch objects of kind ReplicationController + /// list or watch objects of kind ResourceQuota /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -40872,8 +41072,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -40961,7 +41159,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListReplicationControllerForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListResourceQuotaForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -40980,269 +41178,11 @@ private void Initialize() tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListReplicationControllerForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListResourceQuotaForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/replicationcontrollers").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind ResourceQuota - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListResourceQuotaForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListResourceQuotaForAllNamespaces", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/resourcequotas").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/resourcequotas").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -41388,8 +41328,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -41646,8 +41584,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -41904,8 +41840,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -42540,8 +42474,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -42855,8 +42787,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -44138,8 +44068,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -44453,8 +44381,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -45862,8 +45788,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -46177,8 +46101,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -47460,8 +47382,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -47775,8 +47695,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -49310,8 +49228,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -49625,8 +49541,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -51608,8 +51522,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -51923,8 +51835,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -54032,8 +53942,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -54347,8 +54255,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -56330,8 +56236,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -56645,8 +56549,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -58754,8 +58656,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -59012,8 +58912,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -59270,8 +59168,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -59531,8 +59427,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -59861,8 +59755,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -61212,8 +61104,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -61542,8 +61432,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -63486,8 +63374,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -63816,8 +63702,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -66353,8 +66237,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -66683,8 +66565,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -69220,8 +69100,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -69550,8 +69428,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -72084,8 +71960,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -72342,8 +72216,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -72589,6 +72461,132 @@ private void Initialize() return _result; } + /// + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup4WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup4", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// get available resources /// @@ -72621,7 +72619,7 @@ private void Initialize() } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -72716,7 +72714,7 @@ private void Initialize() } /// - /// list or watch objects of kind ControllerRevision + /// delete collection of AuditSink /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -72726,8 +72724,8 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -72750,10 +72748,23 @@ private void Initialize() /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -72781,8 +72792,20 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after that @@ -72800,6 +72823,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -72815,7 +72841,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListControllerRevisionForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionAuditSinkWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -72825,20 +72851,25 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("body", body); tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListControllerRevisionForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionAuditSink", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/controllerrevisions").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -72848,10 +72879,18 @@ private void Initialize() { _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (fieldSelector != null) { _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } if (labelSelector != null) { _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); @@ -72860,9 +72899,13 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) + if (orphanDependents != null) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (resourceVersion != null) { @@ -72876,6 +72919,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -72883,7 +72930,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -72902,6 +72949,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -72945,7 +72998,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -72954,7 +73007,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -72974,7 +73027,7 @@ private void Initialize() } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind AuditSink /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -72984,8 +73037,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -73039,9 +73090,6 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -73058,6 +73106,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -73073,7 +73124,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListDeploymentForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListAuditSinkWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -73087,16 +73138,16 @@ private void Initialize() tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListDeploymentForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListAuditSink", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/deployments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -73118,10 +73169,6 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -73134,6 +73181,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -73203,7 +73254,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -73212,7 +73263,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -73232,44 +73283,232 @@ private void Initialize() } /// - /// delete collection of ControllerRevision + /// create an AuditSink /// - /// - /// object name and auth scope, such as for teams and projects + /// /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateAuditSinkWithHttpMessagesAsync(V1alpha1AuditSink body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateAuditSink", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks").ToString(); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete an AuditSink + /// + /// + /// name of the AuditSink + /// + /// /// /// /// When present, indicates that modifications should not be persisted. An @@ -73277,10 +73516,6 @@ private void Initialize() /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -73288,33 +73523,6 @@ private void Initialize() /// Defaults to a per object value if not specified. zero means delete /// immediately. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// /// /// Deprecated: please use the PropagationPolicy, this field will be deprecated /// in 1.7. Should the dependent objects be orphaned. If true/false, the @@ -73330,22 +73538,6 @@ private void Initialize() /// dependents in the background; 'Foreground' - a cascading policy that /// deletes all dependents in the foreground. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// If 'true', then the output is pretty printed. /// @@ -73370,11 +73562,11 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedControllerRevision1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteAuditSinkWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -73383,57 +73575,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedControllerRevision1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteAuditSink", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } if (orphanDependents != null) { _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); @@ -73442,18 +73606,6 @@ private void Initialize() { _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -73510,7 +73662,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -73554,6 +73706,24 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -73562,89 +73732,18 @@ private void Initialize() } /// - /// list or watch objects of kind ControllerRevision + /// read the specified AuditSink /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// name of the AuditSink /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -73670,11 +73769,11 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedControllerRevision1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadAuditSinkWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -73683,55 +73782,25 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedControllerRevision1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadAuditSink", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) + if (exact != null) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (watch != null) + if (export != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -73806,7 +73875,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -73815,7 +73884,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -73835,12 +73904,12 @@ private void Initialize() } /// - /// create a ControllerRevision + /// partially update the specified AuditSink /// /// /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// name of the AuditSink /// /// /// When present, indicates that modifications should not be persisted. An @@ -73852,7 +73921,14 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -73878,19 +73954,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedControllerRevision1WithHttpMessagesAsync(V1beta1ControllerRevision body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchAuditSinkWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -73902,15 +73974,16 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedControllerRevision1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchAuditSink", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) { @@ -73920,6 +73993,10 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -73931,7 +74008,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -73954,7 +74031,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -73976,7 +74053,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -73999,7 +74076,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -74008,43 +74085,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -74064,43 +74105,24 @@ private void Initialize() } /// - /// delete a ControllerRevision + /// replace the specified AuditSink /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// + /// + /// name of the AuditSink + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -74126,15 +74148,19 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedControllerRevision1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceAuditSinkWithHttpMessagesAsync(V1alpha1AuditSink body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) + if (body == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (namespaceParameter == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -74145,36 +74171,24 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedControllerRevision1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceAuditSink", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -74187,7 +74201,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -74232,7 +74246,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -74255,7 +74269,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -74264,7 +74278,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -74277,12 +74291,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -74302,25 +74316,8 @@ private void Initialize() } /// - /// read the specified ControllerRevision + /// get information of a group /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -74333,25 +74330,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedControllerRevision1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -74359,36 +74342,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedControllerRevision1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup5", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -74454,7 +74413,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -74463,7 +74422,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -74483,38 +74442,8 @@ private void Initialize() } /// - /// partially update the specified ControllerRevision + /// get available resources /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -74527,29 +74456,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedControllerRevision1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -74557,46 +74468,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedControllerRevision1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources9", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -74615,12 +74496,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -74664,7 +74539,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -74673,7 +74548,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -74693,16 +74568,10 @@ private void Initialize() } /// - /// replace the specified ControllerRevision + /// create a TokenReview /// /// /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -74739,7 +74608,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedControllerRevision1WithHttpMessagesAsync(V1beta1ControllerRevision body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateTokenReviewWithHttpMessagesAsync(V1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -74749,14 +74618,6 @@ private void Initialize() { body.Validate(); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -74767,17 +74628,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedControllerRevision1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateTokenReview", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/v1/tokenreviews").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -74798,7 +74655,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -74843,7 +74700,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -74866,7 +74723,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -74875,7 +74732,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -74893,7 +74750,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -74913,123 +74788,8 @@ private void Initialize() } /// - /// delete collection of Deployment + /// get available resources /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -75042,21 +74802,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedDeployment1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -75064,89 +74814,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDeployment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources10", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -75165,12 +74842,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -75214,7 +74885,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -75223,7 +74894,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -75243,89 +74914,21 @@ private void Initialize() } /// - /// list or watch objects of kind Deployment + /// create a TokenReview /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -75351,11 +74954,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedDeployment1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateTokenReview1WithHttpMessagesAsync(V1beta1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) + if (body == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -75364,55 +74971,24 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDeployment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateTokenReview1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/v1beta1/tokenreviews").ToString(); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (watch != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -75425,7 +75001,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -75444,6 +75020,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -75464,7 +75046,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -75487,7 +75069,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -75496,7 +75078,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -75516,28 +75134,8 @@ private void Initialize() } /// - /// create a Deployment + /// get information of a group /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -75550,29 +75148,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDeployment1WithHttpMessagesAsync(Appsv1beta1Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -75580,39 +75160,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeployment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup6", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -75631,12 +75188,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -75657,7 +75208,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -75680,7 +75231,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -75689,43 +75240,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -75745,47 +75260,8 @@ private void Initialize() } /// - /// delete a Deployment + /// get available resources /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -75798,25 +75274,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDeployment1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -75824,51 +75286,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDeployment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources11", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -75887,12 +75314,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -75913,7 +75334,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -75936,7 +75357,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -75945,25 +75366,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -75983,21 +75386,24 @@ private void Initialize() } /// - /// read the specified Deployment + /// create a LocalSubjectAccessReview /// - /// - /// name of the Deployment + /// /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -76023,11 +75429,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeployment1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedLocalSubjectAccessReviewWithHttpMessagesAsync(V1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) + if (body == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); } if (namespaceParameter == null) { @@ -76040,27 +75450,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeployment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLocalSubjectAccessReview", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (export != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -76073,7 +75482,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -76092,6 +75501,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -76112,7 +75527,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -76135,7 +75550,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -76144,7 +75559,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -76164,16 +75615,10 @@ private void Initialize() } /// - /// partially update the specified Deployment + /// create a SelfSubjectAccessReview /// /// /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -76184,14 +75629,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -76217,19 +75655,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeployment1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateSelfSubjectAccessReviewWithHttpMessagesAsync(V1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + body.Validate(); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -76241,18 +75675,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeployment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateSelfSubjectAccessReview", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/selfsubjectaccessreviews").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -76262,10 +75691,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -76277,7 +75702,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -76300,7 +75725,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -76322,7 +75747,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -76345,7 +75770,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -76354,7 +75779,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -76374,16 +75835,10 @@ private void Initialize() } /// - /// replace the specified Deployment + /// create a SelfSubjectRulesReview /// /// /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -76420,7 +75875,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeployment1WithHttpMessagesAsync(Appsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateSelfSubjectRulesReviewWithHttpMessagesAsync(V1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -76430,14 +75885,6 @@ private void Initialize() { body.Validate(); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -76448,17 +75895,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeployment1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateSelfSubjectRulesReview", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/selfsubjectrulesreviews").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -76479,7 +75922,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -76524,7 +75967,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -76547,7 +75990,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -76556,7 +75999,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -76574,7 +76017,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -76594,16 +76055,10 @@ private void Initialize() } /// - /// create rollback of a Deployment + /// create a SubjectAccessReview /// /// /// - /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -76640,7 +76095,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDeploymentRollbackWithHttpMessagesAsync(Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateSubjectAccessReviewWithHttpMessagesAsync(V1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -76650,14 +76105,6 @@ private void Initialize() { body.Validate(); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -76668,17 +76115,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeploymentRollback", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateSubjectAccessReview", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/subjectaccessreviews").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -76767,7 +76210,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -76776,7 +76219,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -76794,7 +76237,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -76812,7 +76255,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -76832,17 +76275,8 @@ private void Initialize() } /// - /// read scale of the specified Deployment + /// get available resources /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -76855,25 +76289,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeploymentScale1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -76881,26 +76301,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources12", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -76966,7 +76372,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -76975,7 +76381,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -76995,13 +76401,10 @@ private void Initialize() } /// - /// partially update scale of the specified Deployment + /// create a LocalSubjectAccessReview /// /// /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// @@ -77015,14 +76418,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -77048,15 +76444,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeploymentScale1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedLocalSubjectAccessReview1WithHttpMessagesAsync(V1beta1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + body.Validate(); } if (namespaceParameter == null) { @@ -77072,17 +76468,14 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLocalSubjectAccessReview1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -77093,10 +76486,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -77108,7 +76497,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -77131,7 +76520,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -77153,7 +76542,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -77176,7 +76565,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -77185,7 +76574,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -77205,16 +76630,10 @@ private void Initialize() } /// - /// replace scale of the specified Deployment + /// create a SelfSubjectAccessReview /// /// /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -77251,7 +76670,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeploymentScale1WithHttpMessagesAsync(Appsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateSelfSubjectAccessReview1WithHttpMessagesAsync(V1beta1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -77261,14 +76680,6 @@ private void Initialize() { body.Validate(); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -77279,17 +76690,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateSelfSubjectAccessReview1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -77310,7 +76717,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -77355,7 +76762,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -77378,7 +76785,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -77387,7 +76794,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -77405,7 +76812,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -77417,158 +76824,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified Deployment - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedDeploymentStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentStatus1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -77588,16 +76850,10 @@ private void Initialize() } /// - /// partially update status of the specified Deployment + /// create a SelfSubjectRulesReview /// /// /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -77608,14 +76864,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -77641,19 +76890,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeploymentStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateSelfSubjectRulesReview1WithHttpMessagesAsync(V1beta1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + body.Validate(); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -77665,18 +76910,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateSelfSubjectRulesReview1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -77686,10 +76926,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -77701,7 +76937,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -77724,7 +76960,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -77746,7 +76982,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -77769,7 +77005,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -77778,7 +77014,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -77798,16 +77070,10 @@ private void Initialize() } /// - /// replace status of the specified Deployment + /// create a SubjectAccessReview /// /// /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -77844,7 +77110,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeploymentStatus1WithHttpMessagesAsync(Appsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateSubjectAccessReview1WithHttpMessagesAsync(V1beta1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -77854,14 +77120,6 @@ private void Initialize() { body.Validate(); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -77872,17 +77130,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateSubjectAccessReview1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/subjectaccessreviews").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -77903,7 +77157,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -77948,7 +77202,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -77971,7 +77225,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -77980,7 +77234,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -77998,7 +77252,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -78018,7 +77290,515 @@ private void Initialize() } /// - /// delete collection of StatefulSet + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup7", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources13", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind HorizontalPodAutoscaler + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListHorizontalPodAutoscalerForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListHorizontalPodAutoscalerForAllNamespaces", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/horizontalpodautoscalers").ToString(); + List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -78031,8 +77811,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -78156,7 +77934,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedStatefulSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -78185,11 +77963,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedStatefulSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedHorizontalPodAutoscaler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -78348,7 +78126,7 @@ private void Initialize() } /// - /// list or watch objects of kind StatefulSet + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -78361,8 +78139,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -78456,7 +78232,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedStatefulSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -78480,11 +78256,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedStatefulSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedHorizontalPodAutoscaler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -78592,7 +78368,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -78601,7 +78377,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -78621,7 +78397,7 @@ private void Initialize() } /// - /// create a StatefulSet + /// create a HorizontalPodAutoscaler /// /// /// @@ -78664,7 +78440,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedStatefulSet1WithHttpMessagesAsync(V1beta1StatefulSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -78691,11 +78467,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedStatefulSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedHorizontalPodAutoscaler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -78785,7 +78561,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -78794,7 +78570,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -78812,7 +78588,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -78830,7 +78606,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -78850,10 +78626,10 @@ private void Initialize() } /// - /// delete a StatefulSet + /// delete a HorizontalPodAutoscaler /// /// - /// name of the StatefulSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -78912,7 +78688,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedStatefulSet1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -78938,11 +78714,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedStatefulSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedHorizontalPodAutoscaler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -79088,10 +78864,10 @@ private void Initialize() } /// - /// read the specified StatefulSet + /// read the specified HorizontalPodAutoscaler /// /// - /// name of the StatefulSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -79128,7 +78904,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedStatefulSet1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -79151,11 +78927,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscaler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -79240,7 +79016,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -79249,7 +79025,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -79269,12 +79045,12 @@ private void Initialize() } /// - /// partially update the specified StatefulSet + /// partially update the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the StatefulSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -79322,7 +79098,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedStatefulSet1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -79351,11 +79127,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscaler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -79450,7 +79226,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -79459,7 +79235,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -79479,12 +79255,12 @@ private void Initialize() } /// - /// replace the specified StatefulSet + /// replace the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the StatefulSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -79525,7 +79301,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedStatefulSet1WithHttpMessagesAsync(V1beta1StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -79557,11 +79333,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscaler", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -79652,7 +79428,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -79661,7 +79437,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -79679,7 +79455,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -79699,10 +79475,10 @@ private void Initialize() } /// - /// read scale of the specified StatefulSet + /// read status of the specified HorizontalPodAutoscaler /// /// - /// name of the Scale + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -79731,7 +79507,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedStatefulSetScale1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -79752,11 +79528,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSetScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscalerStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -79833,7 +79609,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -79842,7 +79618,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -79862,12 +79638,12 @@ private void Initialize() } /// - /// partially update scale of the specified StatefulSet + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Scale + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -79915,7 +79691,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedStatefulSetScale1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -79944,11 +79720,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSetScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscalerStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -80043,7 +79819,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -80052,7 +79828,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80072,12 +79848,12 @@ private void Initialize() } /// - /// replace scale of the specified StatefulSet + /// replace status of the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the Scale + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -80118,7 +79894,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedStatefulSetScale1WithHttpMessagesAsync(Appsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -80150,11 +79926,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSetScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscalerStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -80245,7 +80021,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -80254,7 +80030,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80272,7 +80048,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80292,17 +80068,8 @@ private void Initialize() } /// - /// read status of the specified StatefulSet + /// get available resources /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -80315,25 +80082,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedStatefulSetStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -80341,26 +80094,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSetStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources14", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -80426,7 +80165,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -80435,7 +80174,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80455,38 +80194,88 @@ private void Initialize() } /// - /// partially update status of the specified StatefulSet + /// list or watch objects of kind HorizontalPodAutoscaler /// - /// - /// - /// - /// name of the StatefulSet + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -80499,29 +80288,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedStatefulSetStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListHorizontalPodAutoscalerForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -80529,38 +80300,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSetStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListHorizontalPodAutoscalerForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/horizontalpodautoscalers").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (force != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -80568,7 +80359,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -80587,12 +80378,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -80636,7 +80421,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -80645,7 +80430,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80665,27 +80450,117 @@ private void Initialize() } /// - /// replace status of the specified StatefulSet + /// delete collection of HorizontalPodAutoscaler /// - /// - /// - /// - /// name of the StatefulSet - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -80711,20 +80586,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedStatefulSetStatus1WithHttpMessagesAsync(V1beta1StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -80736,28 +80599,76 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSetStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedHorizontalPodAutoscaler1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -80770,7 +80681,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -80815,7 +80726,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -80838,7 +80749,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -80847,25 +80758,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -80885,8 +80778,11 @@ private void Initialize() } /// - /// list or watch objects of kind StatefulSet + /// list or watch objects of kind HorizontalPodAutoscaler /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -80895,8 +80791,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -80950,9 +80844,6 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -80969,6 +80860,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -80981,11 +80875,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListStatefulSetForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -80998,16 +80902,18 @@ private void Initialize() tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListStatefulSetForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedHorizontalPodAutoscaler1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta1/statefulsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -81029,10 +80935,6 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -81045,6 +80947,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -81114,7 +81020,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -81123,7 +81029,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -81143,8 +81049,28 @@ private void Initialize() } /// - /// get available resources + /// create a HorizontalPodAutoscaler /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -81157,11 +81083,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -81169,16 +81113,39 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources9", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedHorizontalPodAutoscaler1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -81197,6 +81164,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -81217,7 +81190,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -81240,7 +81213,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -81249,7 +81222,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -81269,89 +81278,46 @@ private void Initialize() } /// - /// list or watch objects of kind ControllerRevision + /// delete a HorizontalPodAutoscaler /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// name of the HorizontalPodAutoscaler /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// 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. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// If 'true', then the output is pretty printed. /// /// /// Headers that will be added to request. @@ -81365,11 +81331,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListControllerRevisionForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -81377,58 +81357,43 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListControllerRevisionForAllNamespaces2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedHorizontalPodAutoscaler1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/controllerrevisions").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldSelector != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); } - if (labelSelector != null) + if (orphanDependents != null) { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); } - if (limit != null) + if (propagationPolicy != null) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -81436,7 +81401,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -81455,6 +81420,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -81475,7 +81446,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -81498,7 +81469,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -81507,7 +81478,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -81527,90 +81516,25 @@ private void Initialize() } /// - /// list or watch objects of kind DaemonSet + /// read the specified HorizontalPodAutoscaler /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// name of the HorizontalPodAutoscaler /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -81623,11 +81547,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListDaemonSetForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -81635,58 +81573,32 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListDaemonSetForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscaler1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) + if (exact != null) { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (limit != null) + if (export != null) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -81756,7 +81668,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -81765,7 +81677,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -81785,90 +81697,38 @@ private void Initialize() } /// - /// list or watch objects of kind Deployment + /// partially update the specified HorizontalPodAutoscaler /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// name of the HorizontalPodAutoscaler /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -81881,11 +81741,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListDeploymentForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -81893,58 +81771,38 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListDeploymentForAllNamespaces2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscaler1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/deployments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (labelSelector != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (limit != null) + if (force != null) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -81952,7 +81810,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -81971,6 +81829,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -82014,7 +81878,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -82023,7 +81887,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -82043,44 +81907,15 @@ private void Initialize() } /// - /// delete collection of ControllerRevision + /// replace the specified HorizontalPodAutoscaler /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// /// /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// name of the HorizontalPodAutoscaler + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -82088,74 +81923,11 @@ private void Initialize() /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -82181,8 +81953,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedControllerRevision2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -82194,76 +81978,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedControllerRevision2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscaler1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -82276,7 +82012,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -82321,7 +82057,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -82344,7 +82080,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -82353,7 +82089,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -82373,90 +82127,14 @@ private void Initialize() } /// - /// list or watch objects of kind ControllerRevision + /// read status of the specified HorizontalPodAutoscaler /// + /// + /// name of the HorizontalPodAutoscaler + /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// If 'true', then the output is pretty printed. /// @@ -82481,8 +82159,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedControllerRevision2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -82494,56 +82176,18 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedControllerRevision2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscalerStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -82617,7 +82261,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -82626,7 +82270,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -82646,10 +82290,13 @@ private void Initialize() } /// - /// create a ControllerRevision + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// + /// + /// name of the HorizontalPodAutoscaler + /// /// /// object name and auth scope, such as for teams and projects /// @@ -82663,7 +82310,14 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -82689,15 +82343,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedControllerRevision2WithHttpMessagesAsync(V1beta2ControllerRevision body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (name == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } if (namespaceParameter == null) { @@ -82713,14 +82367,17 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedControllerRevision2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscalerStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -82731,6 +82388,10 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -82742,7 +82403,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -82765,7 +82426,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -82787,7 +82448,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -82810,7 +82471,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -82819,43 +82480,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -82875,43 +82500,27 @@ private void Initialize() } /// - /// delete a ControllerRevision + /// replace status of the specified HorizontalPodAutoscaler /// + /// + /// /// - /// name of the ControllerRevision + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -82937,8 +82546,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedControllerRevision2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -82956,18 +82573,16 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedControllerRevision2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscalerStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -82975,17 +82590,9 @@ private void Initialize() { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -82998,7 +82605,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -83043,7 +82650,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -83066,7 +82673,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -83075,7 +82682,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -83088,12 +82695,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -83113,25 +82720,8 @@ private void Initialize() } /// - /// read the specified ControllerRevision + /// get available resources /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -83144,25 +82734,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedControllerRevision2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -83170,36 +82746,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedControllerRevision2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources15", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -83265,7 +82817,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -83274,7 +82826,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -83294,38 +82846,88 @@ private void Initialize() } /// - /// partially update the specified ControllerRevision + /// list or watch objects of kind HorizontalPodAutoscaler /// - /// - /// - /// - /// name of the ControllerRevision + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -83338,29 +82940,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedControllerRevision2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -83368,239 +82952,57 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedControllerRevision2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListHorizontalPodAutoscalerForAllNamespaces2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/horizontalpodautoscalers").ToString(); List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) + if (allowWatchBookmarks != null) { - ServiceClientTracing.Exit(_invocationId, _result); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - return _result; - } - - /// - /// replace the specified ControllerRevision - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedControllerRevision2WithHttpMessagesAsync(V1beta2ControllerRevision body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) + if (continueParameter != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (body != null) + if (fieldSelector != null) { - body.Validate(); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); } - if (name == null) + if (labelSelector != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); } - if (namespaceParameter == null) + if (limit != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) + if (pretty != null) { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedControllerRevision2", tracingParameters); + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) + if (resourceVersion != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); } - if (fieldManager != null) + if (timeoutSeconds != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); } - if (pretty != null) + if (watch != null) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (_queryParameters.Count > 0) { @@ -83609,7 +83011,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -83628,12 +83030,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -83654,7 +83050,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -83677,7 +83073,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -83686,25 +83082,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -83724,7 +83102,7 @@ private void Initialize() } /// - /// delete collection of DaemonSet + /// delete collection of HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -83737,8 +83115,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -83862,7 +83238,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedDaemonSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -83891,11 +83267,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDaemonSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -84054,7 +83430,7 @@ private void Initialize() } /// - /// list or watch objects of kind DaemonSet + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -84067,8 +83443,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -84162,7 +83536,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedDaemonSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -84186,11 +83560,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDaemonSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -84298,7 +83672,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -84307,7 +83681,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -84327,7 +83701,7 @@ private void Initialize() } /// - /// create a DaemonSet + /// create a HorizontalPodAutoscaler /// /// /// @@ -84370,7 +83744,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDaemonSet1WithHttpMessagesAsync(V1beta2DaemonSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -84397,11 +83771,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDaemonSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -84491,7 +83865,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -84500,7 +83874,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -84518,7 +83892,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -84536,7 +83910,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -84556,10 +83930,10 @@ private void Initialize() } /// - /// delete a DaemonSet + /// delete a HorizontalPodAutoscaler /// /// - /// name of the DaemonSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -84618,7 +83992,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDaemonSet1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -84644,11 +84018,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDaemonSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -84794,10 +84168,10 @@ private void Initialize() } /// - /// read the specified DaemonSet + /// read the specified HorizontalPodAutoscaler /// /// - /// name of the DaemonSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -84834,7 +84208,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDaemonSet1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -84857,11 +84231,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDaemonSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -84946,7 +84320,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -84955,7 +84329,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -84975,12 +84349,12 @@ private void Initialize() } /// - /// partially update the specified DaemonSet + /// partially update the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the DaemonSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -85028,7 +84402,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDaemonSet1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -85057,11 +84431,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDaemonSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -85156,7 +84530,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -85165,7 +84539,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -85185,12 +84559,12 @@ private void Initialize() } /// - /// replace the specified DaemonSet + /// replace the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the DaemonSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -85231,7 +84605,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDaemonSet1WithHttpMessagesAsync(V1beta2DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -85263,11 +84637,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDaemonSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscaler2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -85358,7 +84732,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -85367,7 +84741,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -85385,7 +84759,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -85405,10 +84779,10 @@ private void Initialize() } /// - /// read status of the specified DaemonSet + /// read status of the specified HorizontalPodAutoscaler /// /// - /// name of the DaemonSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -85437,7 +84811,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDaemonSetStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -85458,11 +84832,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDaemonSetStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -85539,7 +84913,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -85548,7 +84922,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -85568,12 +84942,12 @@ private void Initialize() } /// - /// partially update status of the specified DaemonSet + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the DaemonSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -85621,7 +84995,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDaemonSetStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -85650,11 +85024,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDaemonSetStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -85749,7 +85123,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -85758,7 +85132,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -85778,12 +85152,12 @@ private void Initialize() } /// - /// replace status of the specified DaemonSet + /// replace status of the specified HorizontalPodAutoscaler /// /// /// /// - /// name of the DaemonSet + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -85824,7 +85198,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDaemonSetStatus1WithHttpMessagesAsync(V1beta2DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -85856,11 +85230,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDaemonSetStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -85951,7 +85325,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -85960,7 +85334,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -85978,7 +85352,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -85998,123 +85372,8 @@ private void Initialize() } /// - /// delete collection of Deployment + /// get information of a group /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -86127,21 +85386,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedDeployment2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -86149,89 +85398,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDeployment2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup8", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -86250,12 +85426,716 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources16", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind Job + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListJobForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListJobForAllNamespaces", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/jobs").ToString(); + List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of Job + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteCollectionNamespacedJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedJob", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -86328,7 +86208,7 @@ private void Initialize() } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Job /// /// /// object name and auth scope, such as for teams and projects @@ -86341,8 +86221,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -86436,7 +86314,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedDeployment2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -86460,11 +86338,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDeployment2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -86572,7 +86450,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -86581,7 +86459,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -86601,7 +86479,7 @@ private void Initialize() } /// - /// create a Deployment + /// create a Job /// /// /// @@ -86644,7 +86522,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDeployment2WithHttpMessagesAsync(V1beta2Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedJobWithHttpMessagesAsync(V1Job body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -86671,11 +86549,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeployment2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -86765,7 +86643,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -86774,7 +86652,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -86792,7 +86670,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -86810,7 +86688,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -86830,10 +86708,10 @@ private void Initialize() } /// - /// delete a Deployment + /// delete a Job /// /// - /// name of the Deployment + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -86892,7 +86770,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDeployment2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -86918,11 +86796,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDeployment2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -87068,10 +86946,10 @@ private void Initialize() } /// - /// read the specified Deployment + /// read the specified Job /// /// - /// name of the Deployment + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -87108,7 +86986,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeployment2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -87131,11 +87009,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeployment2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -87220,7 +87098,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -87229,7 +87107,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -87249,12 +87127,12 @@ private void Initialize() } /// - /// partially update the specified Deployment + /// partially update the specified Job /// /// /// /// - /// name of the Deployment + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -87302,7 +87180,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeployment2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -87331,11 +87209,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeployment2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -87430,7 +87308,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -87439,7 +87317,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -87459,12 +87337,12 @@ private void Initialize() } /// - /// replace the specified Deployment + /// replace the specified Job /// /// /// /// - /// name of the Deployment + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -87505,7 +87383,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeployment2WithHttpMessagesAsync(V1beta2Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedJobWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -87537,11 +87415,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeployment2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -87632,7 +87510,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -87641,7 +87519,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -87659,7 +87537,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -87679,10 +87557,10 @@ private void Initialize() } /// - /// read scale of the specified Deployment + /// read status of the specified Job /// /// - /// name of the Scale + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -87711,7 +87589,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeploymentScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -87732,11 +87610,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -87813,7 +87691,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -87822,7 +87700,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -87842,12 +87720,12 @@ private void Initialize() } /// - /// partially update scale of the specified Deployment + /// partially update status of the specified Job /// /// /// /// - /// name of the Scale + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -87895,7 +87773,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeploymentScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -87924,11 +87802,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -88023,7 +87901,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -88032,7 +87910,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -88052,12 +87930,12 @@ private void Initialize() } /// - /// replace scale of the specified Deployment + /// replace status of the specified Job /// /// /// /// - /// name of the Scale + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -88098,7 +87976,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeploymentScale2WithHttpMessagesAsync(V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedJobStatusWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -88130,11 +88008,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -88225,7 +88103,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -88234,7 +88112,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -88252,7 +88130,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -88272,17 +88150,8 @@ private void Initialize() } /// - /// read status of the specified Deployment + /// get available resources /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -88295,25 +88164,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeploymentStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -88321,26 +88176,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources17", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -88406,7 +88247,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -88415,7 +88256,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -88435,38 +88276,88 @@ private void Initialize() } /// - /// partially update status of the specified Deployment + /// list or watch objects of kind CronJob /// - /// - /// - /// - /// name of the Deployment + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -88479,29 +88370,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeploymentStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCronJobForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -88509,38 +88382,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCronJobForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/cronjobs").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (force != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -88548,7 +88441,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -88567,12 +88460,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -88616,7 +88503,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -88625,7 +88512,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -88645,27 +88532,117 @@ private void Initialize() } /// - /// replace status of the specified Deployment + /// delete collection of CronJob /// - /// - /// - /// - /// name of the Deployment - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -88691,319 +88668,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeploymentStatus2WithHttpMessagesAsync(V1beta2Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentStatus2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedReplicaSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -89032,11 +88697,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedReplicaSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -89195,7 +88860,7 @@ private void Initialize() } /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -89208,8 +88873,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -89303,7 +88966,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedReplicaSet1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -89327,11 +88990,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedReplicaSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -89439,7 +89102,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -89448,7 +89111,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -89468,7 +89131,7 @@ private void Initialize() } /// - /// create a ReplicaSet + /// create a CronJob /// /// /// @@ -89511,7 +89174,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedReplicaSet1WithHttpMessagesAsync(V1beta2ReplicaSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -89538,11 +89201,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedReplicaSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -89632,7 +89295,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -89641,7 +89304,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -89659,7 +89322,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -89677,7 +89340,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -89697,10 +89360,10 @@ private void Initialize() } /// - /// delete a ReplicaSet + /// delete a CronJob /// /// - /// name of the ReplicaSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -89759,7 +89422,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedReplicaSet1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -89785,11 +89448,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedReplicaSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -89935,10 +89598,10 @@ private void Initialize() } /// - /// read the specified ReplicaSet + /// read the specified CronJob /// /// - /// name of the ReplicaSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -89975,7 +89638,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSet1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -89998,11 +89661,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -90087,7 +89750,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -90096,7 +89759,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90116,12 +89779,12 @@ private void Initialize() } /// - /// partially update the specified ReplicaSet + /// partially update the specified CronJob /// /// /// /// - /// name of the ReplicaSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -90169,7 +89832,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSet1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCronJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -90198,11 +89861,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -90297,7 +89960,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -90306,7 +89969,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90326,12 +89989,12 @@ private void Initialize() } /// - /// replace the specified ReplicaSet + /// replace the specified CronJob /// /// /// /// - /// name of the ReplicaSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -90372,7 +90035,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicaSet1WithHttpMessagesAsync(V1beta2ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -90404,11 +90067,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSet1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJob", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -90499,7 +90162,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -90508,7 +90171,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90526,7 +90189,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90546,10 +90209,10 @@ private void Initialize() } /// - /// read scale of the specified ReplicaSet + /// read status of the specified CronJob /// /// - /// name of the Scale + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -90578,7 +90241,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSetScale1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedCronJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -90599,11 +90262,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSetScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -90680,7 +90343,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -90689,7 +90352,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90709,12 +90372,12 @@ private void Initialize() } /// - /// partially update scale of the specified ReplicaSet + /// partially update status of the specified CronJob /// /// /// /// - /// name of the Scale + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -90762,7 +90425,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSetScale1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCronJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -90791,11 +90454,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSetScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -90890,7 +90553,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -90899,7 +90562,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -90919,12 +90582,12 @@ private void Initialize() } /// - /// replace scale of the specified ReplicaSet + /// replace status of the specified CronJob /// /// /// /// - /// name of the Scale + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -90965,7 +90628,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicaSetScale1WithHttpMessagesAsync(V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -90997,11 +90660,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSetScale1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJobStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -91092,7 +90755,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -91101,7 +90764,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91119,7 +90782,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91139,17 +90802,8 @@ private void Initialize() } /// - /// read status of the specified ReplicaSet + /// get available resources /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -91162,25 +90816,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSetStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -91188,26 +90828,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSetStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources18", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -91273,7 +90899,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -91282,7 +90908,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91302,38 +90928,88 @@ private void Initialize() } /// - /// partially update status of the specified ReplicaSet + /// list or watch objects of kind CronJob /// - /// - /// - /// - /// name of the ReplicaSet + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -91346,29 +91022,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSetStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCronJobForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -91376,38 +91034,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSetStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCronJobForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/cronjobs").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (force != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -91415,7 +91093,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -91434,12 +91112,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -91483,209 +91155,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace status of the specified ReplicaSet - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedReplicaSetStatus1WithHttpMessagesAsync(V1beta2ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSetStatus1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -91694,25 +91164,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -91732,7 +91184,7 @@ private void Initialize() } /// - /// delete collection of StatefulSet + /// delete collection of CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -91745,8 +91197,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -91870,7 +91320,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedStatefulSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -91899,11 +91349,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedStatefulSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -92062,7 +91512,7 @@ private void Initialize() } /// - /// list or watch objects of kind StatefulSet + /// list or watch objects of kind CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -92075,8 +91525,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -92170,7 +91618,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedStatefulSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -92194,11 +91642,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedStatefulSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -92306,7 +91754,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -92315,7 +91763,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92335,7 +91783,7 @@ private void Initialize() } /// - /// create a StatefulSet + /// create a CronJob /// /// /// @@ -92378,7 +91826,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedStatefulSet2WithHttpMessagesAsync(V1beta2StatefulSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -92405,11 +91853,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedStatefulSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -92499,7 +91947,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -92508,7 +91956,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92526,7 +91974,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92544,7 +91992,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92564,10 +92012,10 @@ private void Initialize() } /// - /// delete a StatefulSet + /// delete a CronJob /// /// - /// name of the StatefulSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -92626,7 +92074,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedStatefulSet2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -92652,11 +92100,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedStatefulSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -92802,10 +92250,10 @@ private void Initialize() } /// - /// read the specified StatefulSet + /// read the specified CronJob /// /// - /// name of the StatefulSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -92842,7 +92290,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedStatefulSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -92865,11 +92313,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -92954,7 +92402,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -92963,7 +92411,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -92983,12 +92431,12 @@ private void Initialize() } /// - /// partially update the specified StatefulSet + /// partially update the specified CronJob /// /// /// /// - /// name of the StatefulSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -93036,7 +92484,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedStatefulSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCronJob1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93065,11 +92513,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93164,7 +92612,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93173,7 +92621,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93193,12 +92641,12 @@ private void Initialize() } /// - /// replace the specified StatefulSet + /// replace the specified CronJob /// /// /// /// - /// name of the StatefulSet + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -93239,7 +92687,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedStatefulSet2WithHttpMessagesAsync(V1beta2StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93271,11 +92719,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJob1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93366,7 +92814,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93375,7 +92823,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93393,7 +92841,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93413,10 +92861,10 @@ private void Initialize() } /// - /// read scale of the specified StatefulSet + /// read status of the specified CronJob /// /// - /// name of the Scale + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -93445,7 +92893,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedStatefulSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedCronJobStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -93466,11 +92914,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJobStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93547,7 +92995,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93556,7 +93004,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93576,12 +93024,12 @@ private void Initialize() } /// - /// partially update scale of the specified StatefulSet + /// partially update status of the specified CronJob /// /// /// /// - /// name of the Scale + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -93629,7 +93077,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedStatefulSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedCronJobStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93658,11 +93106,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJobStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93757,7 +93205,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93766,7 +93214,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93786,12 +93234,12 @@ private void Initialize() } /// - /// replace scale of the specified StatefulSet + /// replace status of the specified CronJob /// /// /// /// - /// name of the Scale + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -93832,7 +93280,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedStatefulSetScale2WithHttpMessagesAsync(V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -93864,11 +93312,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJobStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -93959,7 +93407,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -93968,7 +93416,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -93986,7 +93434,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94006,17 +93454,8 @@ private void Initialize() } /// - /// read status of the specified StatefulSet + /// get information of a group /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -94029,25 +93468,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedStatefulSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -94055,26 +93480,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedStatefulSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup9", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -94140,7 +93551,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -94149,7 +93560,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94169,38 +93580,8 @@ private void Initialize() } /// - /// partially update status of the specified StatefulSet + /// get available resources /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -94213,29 +93594,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedStatefulSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -94243,46 +93606,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedStatefulSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources19", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -94301,12 +93634,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -94350,7 +93677,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -94359,7 +93686,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94379,15 +93706,39 @@ private void Initialize() } /// - /// replace status of the specified StatefulSet + /// delete collection of CertificateSigningRequest /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the StatefulSet + /// /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// When present, indicates that modifications should not be persisted. An @@ -94395,11 +93746,74 @@ private void Initialize() /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -94416,33 +93830,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedStatefulSetStatus2WithHttpMessagesAsync(V1beta2StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -94450,28 +93842,74 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedStatefulSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -94484,7 +93922,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -94529,7 +93967,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -94552,7 +93990,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -94561,25 +93999,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94599,7 +94019,7 @@ private void Initialize() } /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind CertificateSigningRequest /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -94609,8 +94029,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -94664,9 +94082,6 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -94683,6 +94098,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -94698,7 +94116,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListReplicaSetForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCertificateSigningRequestWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -94712,16 +94130,16 @@ private void Initialize() tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListReplicaSetForAllNamespaces1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -94743,10 +94161,6 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -94759,6 +94173,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -94828,7 +94246,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -94837,7 +94255,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -94857,90 +94275,25 @@ private void Initialize() } /// - /// list or watch objects of kind StatefulSet + /// create a CertificateSigningRequest /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -94953,11 +94306,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListStatefulSetForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -94965,58 +94332,29 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListStatefulSetForAllNamespaces2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apps/v1beta2/statefulsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (limit != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -95024,7 +94362,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -95043,6 +94381,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -95063,7 +94407,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -95086,7 +94430,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -95095,7 +94439,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95107,121 +94451,31 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup4WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup4", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + // Deserialize Response + if ((int)_statusCode == 201) { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try { - ServiceClientTracing.Error(_invocationId, ex); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } - _httpRequest.Dispose(); - if (_httpResponse != null) + catch (JsonException ex) { - _httpResponse.Dispose(); + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } - throw ex; } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95241,8 +94495,44 @@ private void Initialize() } /// - /// get available resources + /// delete a CertificateSigningRequest /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -95255,11 +94545,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCertificateSigningRequestWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -95267,16 +94567,49 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources10", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -95295,6 +94628,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -95315,7 +94654,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -95338,7 +94677,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -95347,7 +94686,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95367,116 +94724,18 @@ private void Initialize() } /// - /// delete collection of AuditSink + /// read the specified CertificateSigningRequest /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// name of the CertificateSigningRequest /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -95493,11 +94752,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionAuditSinkWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCertificateSigningRequestWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -95505,74 +94774,25 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionAuditSink", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) + if (exact != null) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (watch != null) + if (export != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -95585,7 +94805,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -95604,12 +94824,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -95653,7 +94867,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -95662,7 +94876,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95682,86 +94896,31 @@ private void Initialize() } /// - /// list or watch objects of kind AuditSink + /// partially update the specified CertificateSigningRequest /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// name of the CertificateSigningRequest /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -95778,11 +94937,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListAuditSinkWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchCertificateSigningRequestWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -95790,53 +94963,31 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListAuditSink", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (timeoutSeconds != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (watch != null) + if (force != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -95849,7 +95000,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -95868,6 +95019,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -95911,7 +95068,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -95920,7 +95077,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -95940,10 +95097,13 @@ private void Initialize() } /// - /// create an AuditSink + /// replace the specified CertificateSigningRequest /// /// /// + /// + /// name of the CertificateSigningRequest + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -95980,7 +95140,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateAuditSinkWithHttpMessagesAsync(V1alpha1AuditSink body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -95990,6 +95150,10 @@ private void Initialize() { body.Validate(); } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -96000,13 +95164,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateAuditSink", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequest", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) { @@ -96027,7 +95193,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -96072,7 +95238,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -96095,7 +95261,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96104,7 +95270,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96122,25 +95288,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96160,40 +95308,24 @@ private void Initialize() } /// - /// delete an AuditSink + /// replace approval of the specified CertificateSigningRequest /// - /// - /// name of the AuditSink - /// /// /// + /// + /// name of the CertificateSigningRequest + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -96219,8 +95351,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteAuditSinkWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -96234,34 +95374,24 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteAuditSink", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequestApproval", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -96274,7 +95404,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -96319,7 +95449,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -96342,7 +95472,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96351,7 +95481,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96364,12 +95494,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96389,18 +95519,10 @@ private void Initialize() } /// - /// read the specified AuditSink + /// read status of the specified CertificateSigningRequest /// /// - /// name of the AuditSink - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// name of the CertificateSigningRequest /// /// /// If 'true', then the output is pretty printed. @@ -96426,7 +95548,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadAuditSinkWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCertificateSigningRequestStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -96439,26 +95561,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadAuditSink", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCertificateSigningRequestStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -96532,7 +95644,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96541,7 +95653,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96561,12 +95673,12 @@ private void Initialize() } /// - /// partially update the specified AuditSink + /// partially update status of the specified CertificateSigningRequest /// /// /// /// - /// name of the AuditSink + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. An @@ -96611,7 +95723,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchAuditSinkWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchCertificateSigningRequestStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -96635,11 +95747,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchAuditSink", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchCertificateSigningRequestStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -96733,7 +95845,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96742,7 +95854,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96762,12 +95874,12 @@ private void Initialize() } /// - /// replace the specified AuditSink + /// replace status of the specified CertificateSigningRequest /// /// /// /// - /// name of the AuditSink + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. An @@ -96805,7 +95917,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceAuditSinkWithHttpMessagesAsync(V1alpha1AuditSink body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -96832,11 +95944,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceAuditSink", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequestStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -96926,7 +96038,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -96935,7 +96047,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96953,7 +96065,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -96990,7 +96102,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -97000,11 +96112,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup5", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup10", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -97116,7 +96228,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -97126,11 +96238,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources11", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources20", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -97225,21 +96337,373 @@ private void Initialize() } /// - /// create a TokenReview + /// list or watch objects of kind Lease + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListLeaseForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListLeaseForAllNamespaces", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/leases").ToString(); + List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of Lease /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// /// /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -97265,15 +96729,11 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateTokenReviewWithHttpMessagesAsync(V1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) + if (namespaceParameter == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -97282,24 +96742,76 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateTokenReview", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/v1/tokenreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -97312,7 +96824,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -97357,7 +96869,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -97380,7 +96892,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97389,43 +96901,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97445,8 +96921,91 @@ private void Initialize() } /// - /// get available resources + /// list or watch objects of kind Lease /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -97459,11 +97018,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -97471,12 +97040,64 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources12", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -97542,7 +97163,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97551,7 +97172,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97571,10 +97192,13 @@ private void Initialize() } /// - /// create a TokenReview + /// create a Lease /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -97611,15 +97235,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateTokenReview1WithHttpMessagesAsync(V1beta1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedLeaseWithHttpMessagesAsync(V1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (namespaceParameter == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -97631,13 +97255,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateTokenReview1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authentication.k8s.io/v1beta1/tokenreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -97726,7 +97352,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97735,7 +97361,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97753,7 +97379,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97771,7 +97397,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97791,8 +97417,47 @@ private void Initialize() } /// - /// get information of a group + /// delete a Lease /// + /// + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -97805,11 +97470,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -97817,16 +97496,51 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup6", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -97845,6 +97559,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -97865,7 +97585,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -97888,7 +97608,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -97897,7 +97617,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -97917,8 +97655,25 @@ private void Initialize() } /// - /// get available resources + /// read the specified Lease /// + /// + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -97931,11 +97686,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -97943,12 +97712,36 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources13", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -98014,7 +97807,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98023,7 +97816,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98043,10 +97836,13 @@ private void Initialize() } /// - /// create a LocalSubjectAccessReview + /// partially update the specified Lease /// /// /// + /// + /// name of the Lease + /// /// /// object name and auth scope, such as for teams and projects /// @@ -98060,7 +97856,14 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -98086,15 +97889,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedLocalSubjectAccessReviewWithHttpMessagesAsync(V1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedLeaseWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (name == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } if (namespaceParameter == null) { @@ -98110,14 +97913,17 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLocalSubjectAccessReview", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -98128,6 +97934,10 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -98139,7 +97949,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98162,7 +97972,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -98184,7 +97994,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -98207,7 +98017,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98216,43 +98026,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98272,10 +98046,16 @@ private void Initialize() } /// - /// create a SelfSubjectAccessReview + /// replace the specified Lease /// /// /// + /// + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -98312,15 +98092,19 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateSelfSubjectAccessReviewWithHttpMessagesAsync(V1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedLeaseWithHttpMessagesAsync(V1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (name == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -98332,13 +98116,17 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateSelfSubjectAccessReview", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedLease", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/selfsubjectaccessreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -98359,7 +98147,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98404,7 +98192,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -98427,7 +98215,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98436,7 +98224,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98454,25 +98242,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98492,25 +98262,214 @@ private void Initialize() } /// - /// create a SelfSubjectRulesReview + /// get available resources /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// Headers that will be added to request. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources21", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind Lease + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -98523,25 +98482,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> CreateSelfSubjectRulesReviewWithHttpMessagesAsync(V1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListLeaseForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -98549,29 +98494,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateSelfSubjectRulesReview", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListLeaseForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/selfsubjectrulesreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/leases").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -98579,7 +98553,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98598,12 +98572,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -98624,7 +98592,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -98647,7 +98615,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98656,43 +98624,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98712,21 +98644,117 @@ private void Initialize() } /// - /// create a SubjectAccessReview + /// delete collection of Lease /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// /// /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -98752,15 +98780,11 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateSubjectAccessReviewWithHttpMessagesAsync(V1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedLease1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) + if (namespaceParameter == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -98769,24 +98793,76 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateSubjectAccessReview", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedLease1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1/subjectaccessreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -98799,7 +98875,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -98844,7 +98920,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -98867,7 +98943,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -98876,43 +98952,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -98932,8 +98972,91 @@ private void Initialize() } /// - /// get available resources + /// list or watch objects of kind Lease /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -98946,11 +99069,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedLease1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -98958,12 +99091,64 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources14", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedLease1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -99029,7 +99214,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -99038,7 +99223,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99058,7 +99243,7 @@ private void Initialize() } /// - /// create a LocalSubjectAccessReview + /// create a Lease /// /// /// @@ -99101,16 +99286,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedLocalSubjectAccessReview1WithHttpMessagesAsync(V1beta1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedLease1WithHttpMessagesAsync(V1beta1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -99128,11 +99309,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLocalSubjectAccessReview1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLease1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -99222,7 +99403,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -99231,7 +99412,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99249,7 +99430,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99267,7 +99448,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99287,8 +99468,14 @@ private void Initialize() } /// - /// create a SelfSubjectAccessReview + /// delete a Lease /// + /// + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// /// @@ -99297,11 +99484,27 @@ private void Initialize() /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -99327,15 +99530,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateSelfSubjectAccessReview1WithHttpMessagesAsync(V1beta1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedLease1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (body != null) + if (namespaceParameter == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -99346,22 +99549,36 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateSelfSubjectAccessReview1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedLease1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -99374,7 +99591,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -99419,7 +99636,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -99442,7 +99659,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -99451,25 +99668,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99487,7 +99686,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99507,21 +99706,21 @@ private void Initialize() } /// - /// create a SelfSubjectRulesReview + /// read the specified Lease /// - /// + /// + /// name of the Lease /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -99547,15 +99746,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateSelfSubjectRulesReview1WithHttpMessagesAsync(V1beta1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedLease1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (body != null) + if (namespaceParameter == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -99564,24 +99763,27 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateSelfSubjectRulesReview1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedLease1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (dryRun != null) + if (exact != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (export != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -99594,7 +99796,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -99613,12 +99815,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -99639,7 +99835,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -99662,7 +99858,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -99671,43 +99867,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99727,10 +99887,16 @@ private void Initialize() } /// - /// create a SubjectAccessReview + /// partially update the specified Lease /// /// /// + /// + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -99741,7 +99907,14 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -99767,15 +99940,19 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateSubjectAccessReview1WithHttpMessagesAsync(V1beta1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedLease1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (name == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -99787,13 +99964,18 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateSubjectAccessReview1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedLease1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/authorization.k8s.io/v1beta1/subjectaccessreviews").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -99803,6 +99985,10 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -99814,7 +100000,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -99837,7 +100023,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -99859,7 +100045,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -99882,7 +100068,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -99891,43 +100077,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -99947,8 +100097,31 @@ private void Initialize() } /// - /// get information of a group + /// replace the specified Lease /// + /// + /// + /// + /// name of the Lease + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -99961,11 +100134,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedLease1WithHttpMessagesAsync(V1beta1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -99973,16 +100164,41 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup7", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedLease1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -100001,6 +100217,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -100021,7 +100243,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -100044,7 +100266,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -100053,7 +100275,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100073,7 +100313,7 @@ private void Initialize() } /// - /// get available resources + /// get information of a group /// /// /// Headers that will be added to request. @@ -100090,7 +100330,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -100100,11 +100340,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources15", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup11", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -100170,7 +100410,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -100179,7 +100419,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100199,90 +100439,8 @@ private void Initialize() } /// - /// list or watch objects of kind HorizontalPodAutoscaler + /// get available resources /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -100298,7 +100456,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListHorizontalPodAutoscalerForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -100307,62 +100465,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListHorizontalPodAutoscalerForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources22", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/horizontalpodautoscalers").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -100428,7 +100536,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -100437,7 +100545,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -100457,11 +100565,8 @@ private void Initialize() } /// - /// delete collection of HorizontalPodAutoscaler + /// list or watch objects of kind EndpointSlice /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -100470,10 +100575,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from the @@ -100496,23 +100597,10 @@ private void Initialize() /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -100540,20 +100628,8 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after that @@ -100571,9 +100647,6 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -100586,21 +100659,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListEndpointSliceForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -100609,27 +100672,20 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedHorizontalPodAutoscaler", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListEndpointSliceForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/endpointslices").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -100639,18 +100695,10 @@ private void Initialize() { _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } if (fieldSelector != null) { _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } if (labelSelector != null) { _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); @@ -100659,13 +100707,9 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) + if (pretty != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } if (resourceVersion != null) { @@ -100679,10 +100723,6 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -100690,7 +100730,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -100709,12 +100749,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -100758,27650 +100792,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedHorizontalPodAutoscaler", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a HorizontalPodAutoscaler - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedHorizontalPodAutoscaler", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedHorizontalPodAutoscaler", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscaler", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscaler", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscaler", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscalerStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update status of the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscalerStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace status of the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscalerStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources16", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListHorizontalPodAutoscalerForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListHorizontalPodAutoscalerForAllNamespaces1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/horizontalpodautoscalers").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedHorizontalPodAutoscaler1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedHorizontalPodAutoscaler1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a HorizontalPodAutoscaler - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedHorizontalPodAutoscaler1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedHorizontalPodAutoscaler1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscaler1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscaler1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscaler1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscalerStatus1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update status of the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscalerStatus1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace status of the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscalerStatus1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources17", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListHorizontalPodAutoscalerForAllNamespaces2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/horizontalpodautoscalers").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedHorizontalPodAutoscaler2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedHorizontalPodAutoscaler2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a HorizontalPodAutoscaler - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedHorizontalPodAutoscaler2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedHorizontalPodAutoscaler2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscaler2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscaler2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscaler2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified HorizontalPodAutoscaler - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update status of the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace status of the specified HorizontalPodAutoscaler - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedHorizontalPodAutoscalerStatus2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup8", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources18", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Job - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListJobForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListJobForAllNamespaces", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/jobs").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a Job - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedJobWithHttpMessagesAsync(V1Job body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a Job - /// - /// - /// name of the Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified Job - /// - /// - /// name of the Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified Job - /// - /// - /// - /// - /// name of the Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified Job - /// - /// - /// - /// - /// name of the Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedJobWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified Job - /// - /// - /// name of the Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedJobStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update status of the specified Job - /// - /// - /// - /// - /// name of the Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedJobStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace status of the specified Job - /// - /// - /// - /// - /// name of the Job - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedJobStatusWithHttpMessagesAsync(V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedJobStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1/namespaces/{namespace}/jobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources19", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind CronJob - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListCronJobForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCronJobForAllNamespaces", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/cronjobs").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedCronJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedCronJobWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCronJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a CronJob - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCronJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a CronJob - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCronJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified CronJob - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedCronJobWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedCronJobWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedCronJobWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJob", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified CronJob - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedCronJobStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJobStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update status of the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedCronJobStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJobStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace status of the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJobStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources20", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind CronJob - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListCronJobForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCronJobForAllNamespaces1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/cronjobs").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedCronJob1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedCronJob1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedCronJob1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a CronJob - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedCronJob1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a CronJob - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedCronJob1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified CronJob - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedCronJob1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJob1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedCronJob1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJob1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedCronJob1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJob1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified CronJob - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedCronJobStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedCronJobStatus1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update status of the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedCronJobStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedCronJobStatus1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace status of the specified CronJob - /// - /// - /// - /// - /// name of the CronJob - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedCronJobStatus1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup9", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources21", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of CertificateSigningRequest - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCertificateSigningRequest", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind CertificateSigningRequest - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListCertificateSigningRequestWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCertificateSigningRequest", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a CertificateSigningRequest - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateCertificateSigningRequest", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests").ToString(); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a CertificateSigningRequest - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCertificateSigningRequestWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCertificateSigningRequest", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified CertificateSigningRequest - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadCertificateSigningRequestWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadCertificateSigningRequest", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified CertificateSigningRequest - /// - /// - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchCertificateSigningRequestWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchCertificateSigningRequest", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified CertificateSigningRequest - /// - /// - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceCertificateSigningRequestWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequest", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace approval of the specified CertificateSigningRequest - /// - /// - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequestApproval", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read status of the specified CertificateSigningRequest - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadCertificateSigningRequestStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadCertificateSigningRequestStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update status of the specified CertificateSigningRequest - /// - /// - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchCertificateSigningRequestStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchCertificateSigningRequestStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace status of the specified CertificateSigningRequest - /// - /// - /// - /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCertificateSigningRequestStatus", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup10", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources22", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Lease - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListLeaseForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListLeaseForAllNamespaces", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/leases").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedLease", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedLeaseWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedLease", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a Lease - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedLeaseWithHttpMessagesAsync(V1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLease", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a Lease - /// - /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedLease", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified Lease - /// - /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedLeaseWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedLease", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified Lease - /// - /// - /// - /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedLeaseWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedLease", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified Lease - /// - /// - /// - /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedLeaseWithHttpMessagesAsync(V1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedLease", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources23", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Lease - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListLeaseForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListLeaseForAllNamespaces1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/leases").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedLease1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedLease1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedLease1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedLease1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a Lease - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedLease1WithHttpMessagesAsync(V1beta1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedLease1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a Lease - /// - /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedLease1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedLease1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified Lease - /// - /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedLease1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedLease1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified Lease - /// - /// - /// - /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedLease1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedLease1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified Lease - /// - /// - /// - /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedLease1WithHttpMessagesAsync(V1beta1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedLease1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup11", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources24", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind EndpointSlice - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListEndpointSliceForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListEndpointSliceForAllNamespaces", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/endpointslices").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of EndpointSlice - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedEndpointSliceWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedEndpointSlice", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind EndpointSlice - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedEndpointSliceWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedEndpointSlice", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create an EndpointSlice - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedEndpointSliceWithHttpMessagesAsync(V1alpha1EndpointSlice body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedEndpointSlice", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete an EndpointSlice - /// - /// - /// name of the EndpointSlice - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedEndpointSliceWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedEndpointSlice", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified EndpointSlice - /// - /// - /// name of the EndpointSlice - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedEndpointSliceWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedEndpointSlice", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified EndpointSlice - /// - /// - /// - /// - /// name of the EndpointSlice - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedEndpointSliceWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedEndpointSlice", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified EndpointSlice - /// - /// - /// - /// - /// name of the EndpointSlice - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedEndpointSliceWithHttpMessagesAsync(V1alpha1EndpointSlice body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedEndpointSlice", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup12", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources25", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Event - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListEventForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListEventForAllNamespaces1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/events").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of Event - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedEvent1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Event - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedEvent1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create an Event - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedEvent1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete an Event - /// - /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedEvent1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified Event - /// - /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedEvent1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified Event - /// - /// - /// - /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> PatchNamespacedEvent1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedEvent1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// replace the specified Event - /// - /// - /// - /// - /// name of the Event - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReplaceNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedEvent1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup13", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources26", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListDaemonSetForAllNamespaces2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/daemonsets").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListDeploymentForAllNamespaces3WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListDeploymentForAllNamespaces3", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/deployments").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Ingress - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListIngressForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListIngressForAllNamespaces", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/ingresses").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -128410,7 +100801,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -128430,7 +100821,7 @@ private void Initialize() } /// - /// delete collection of DaemonSet + /// delete collection of EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -128443,8 +100834,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -128568,7 +100957,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedEndpointSliceWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -128597,11 +100986,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedEndpointSlice", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -128708,729 +101097,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNamespacedDaemonSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDaemonSet2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a DaemonSet - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDaemonSet2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a DaemonSet - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedDaemonSet2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDaemonSet2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -129474,24 +101141,6 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -129500,21 +101149,87 @@ private void Initialize() } /// - /// read the specified DaemonSet + /// list or watch objects of kind EndpointSlice /// - /// - /// name of the DaemonSet - /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -129540,12 +101255,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDaemonSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedEndpointSliceWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -129557,27 +101268,55 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedEndpointSlice", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (export != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -129652,7 +101391,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -129661,7 +101400,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -129681,13 +101420,10 @@ private void Initialize() } /// - /// partially update the specified DaemonSet + /// create an EndpointSlice /// /// /// - /// - /// name of the DaemonSet - /// /// /// object name and auth scope, such as for teams and projects /// @@ -129701,14 +101437,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -129734,15 +101463,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDaemonSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedEndpointSliceWithHttpMessagesAsync(V1beta1EndpointSlice body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + body.Validate(); } if (namespaceParameter == null) { @@ -129758,17 +101487,14 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedEndpointSlice", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -129779,10 +101505,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -129794,7 +101516,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -129817,7 +101539,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -129839,7 +101561,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -129862,7 +101584,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -129871,7 +101593,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -129891,27 +101649,43 @@ private void Initialize() } /// - /// replace the specified DaemonSet + /// delete an EndpointSlice /// - /// - /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -129937,16 +101711,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedEndpointSliceWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -129964,16 +101730,18 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDaemonSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedEndpointSlice", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -129981,9 +101749,17 @@ private void Initialize() { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -129996,7 +101772,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -130041,7 +101817,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -130064,7 +101840,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -130073,7 +101849,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130086,12 +101862,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130111,14 +101887,22 @@ private void Initialize() } /// - /// read status of the specified DaemonSet + /// read the specified EndpointSlice /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// /// /// If 'true', then the output is pretty printed. /// @@ -130143,7 +101927,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedEndpointSliceWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -130160,18 +101944,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDaemonSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedEndpointSlice", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -130245,7 +102039,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -130254,7 +102048,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130274,12 +102068,12 @@ private void Initialize() } /// - /// partially update status of the specified DaemonSet + /// partially update the specified EndpointSlice /// /// /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -130327,7 +102121,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedEndpointSliceWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -130356,11 +102150,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDaemonSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedEndpointSlice", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -130455,7 +102249,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -130464,7 +102258,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130484,12 +102278,12 @@ private void Initialize() } /// - /// replace status of the specified DaemonSet + /// replace the specified EndpointSlice /// /// /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -130530,7 +102324,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(V1beta1DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedEndpointSliceWithHttpMessagesAsync(V1beta1EndpointSlice body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -130562,11 +102356,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDaemonSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedEndpointSlice", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -130657,7 +102451,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -130666,7 +102460,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130684,7 +102478,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -130704,123 +102498,8 @@ private void Initialize() } /// - /// delete collection of Deployment + /// get information of a group /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -130833,21 +102512,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -130855,89 +102524,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup12", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -130956,12 +102552,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -131005,7 +102595,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -131014,7 +102604,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -131034,93 +102624,8 @@ private void Initialize() } /// - /// list or watch objects of kind Deployment + /// get available resources /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -131133,21 +102638,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedDeployment3WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -131155,64 +102650,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources23", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -131278,7 +102721,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -131287,7 +102730,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -131307,28 +102750,88 @@ private void Initialize() } /// - /// create a Deployment + /// list or watch objects of kind Event /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -131341,29 +102844,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListEventForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -131371,31 +102856,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListEventForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/events").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -131403,7 +102915,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -131422,12 +102934,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -131448,7 +102954,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -131471,7 +102977,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -131480,43 +102986,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -131536,22 +103006,53 @@ private void Initialize() } /// - /// delete a Deployment + /// delete collection of Event /// - /// - /// name of the Deployment - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// /// /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -131559,6 +103060,33 @@ private void Initialize() /// Defaults to a per object value if not specified. zero means delete /// immediately. /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// Deprecated: please use the PropagationPolicy, this field will be deprecated /// in 1.7. Should the dependent objects be orphaned. If true/false, the @@ -131574,6 +103102,22 @@ private void Initialize() /// dependents in the background; 'Foreground' - a cascading policy that /// deletes all dependents in the foreground. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// @@ -131598,12 +103142,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedDeployment3WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -131615,31 +103155,57 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (orphanDependents != null) { _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); @@ -131648,6 +103214,18 @@ private void Initialize() { _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -131704,7 +103282,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -131748,24 +103326,6 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -131774,215 +103334,87 @@ private void Initialize() } /// - /// read the specified Deployment + /// list or watch objects of kind Event /// - /// - /// name of the Deployment - /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// The cancellation token. + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedDeployment3WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeployment3", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// partially update the specified Deployment - /// - /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// name of the Deployment + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -132008,16 +103440,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeployment3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedEvent1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -132029,33 +103453,55 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (force != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -132068,7 +103514,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -132087,12 +103533,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -132136,7 +103576,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -132145,7 +103585,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132165,13 +103605,10 @@ private void Initialize() } /// - /// replace the specified Deployment + /// create an Event /// /// /// - /// - /// name of the Deployment - /// /// /// object name and auth scope, such as for teams and projects /// @@ -132211,7 +103648,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeployment3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -132221,10 +103658,6 @@ private void Initialize() { body.Validate(); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -132239,16 +103672,14 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeployment3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -132270,7 +103701,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -132315,7 +103746,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -132338,7 +103769,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -132347,7 +103778,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132365,7 +103796,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132385,27 +103834,43 @@ private void Initialize() } /// - /// create rollback of a Deployment + /// delete an Event /// - /// - /// /// - /// name of the DeploymentRollback + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -132431,16 +103896,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -132458,16 +103915,18 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedDeploymentRollback1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -132475,9 +103934,17 @@ private void Initialize() { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -132490,7 +103957,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -132535,7 +104002,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -132580,24 +104047,6 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); @@ -132623,14 +104072,22 @@ private void Initialize() } /// - /// read scale of the specified Deployment + /// read the specified Event /// /// - /// name of the Scale + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// /// /// If 'true', then the output is pretty printed. /// @@ -132655,7 +104112,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeploymentScale3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedEvent1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -132672,18 +104129,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentScale3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -132757,7 +104224,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -132766,7 +104233,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132786,12 +104253,12 @@ private void Initialize() } /// - /// partially update scale of the specified Deployment + /// partially update the specified Event /// /// /// /// - /// name of the Scale + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -132839,7 +104306,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeploymentScale3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedEvent1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -132868,11 +104335,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentScale3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -132967,7 +104434,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -132976,7 +104443,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -132996,12 +104463,12 @@ private void Initialize() } /// - /// replace scale of the specified Deployment + /// replace the specified Event /// /// /// /// - /// name of the Scale + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -133042,7 +104509,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedEvent1WithHttpMessagesAsync(V1beta1Event body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -133074,11 +104541,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentScale3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedEvent1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -133169,7 +104636,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133178,7 +104645,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133196,7 +104663,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133216,17 +104683,8 @@ private void Initialize() } /// - /// read status of the specified Deployment + /// get information of a group /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -133239,25 +104697,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -133265,26 +104709,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedDeploymentStatus3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup13", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -133350,7 +104780,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133359,7 +104789,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133379,38 +104809,8 @@ private void Initialize() } /// - /// partially update status of the specified Deployment + /// get available resources /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -133423,29 +104823,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -133453,46 +104835,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedDeploymentStatus3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources24", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -133511,12 +104863,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -133560,7 +104906,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133569,7 +104915,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133589,31 +104935,88 @@ private void Initialize() } /// - /// replace status of the specified Deployment + /// list or watch objects of kind Ingress /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the Deployment + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -133626,33 +105029,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(Extensionsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListIngressForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -133660,33 +105041,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedDeploymentStatus3", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListIngressForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/ingresses").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -133694,7 +105100,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -133713,12 +105119,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -133739,7 +105139,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -133762,7 +105162,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -133771,25 +105171,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -133822,8 +105204,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -134152,8 +105532,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -136036,7 +107414,277 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup14", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources25", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -136045,25 +107693,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136083,11 +107713,8 @@ private void Initialize() } /// - /// delete collection of NetworkPolicy + /// delete collection of FlowSchema /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -136096,8 +107723,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -136212,21 +107837,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionFlowSchemaWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -136247,15 +107862,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionFlowSchema", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -136413,11 +108026,8 @@ private void Initialize() } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind FlowSchema /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -136426,8 +108036,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -136512,21 +108120,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListFlowSchemaWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -136542,15 +108140,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListFlowSchema", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -136657,7 +108253,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -136666,7 +108262,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136686,13 +108282,10 @@ private void Initialize() } /// - /// create a NetworkPolicy + /// create a FlowSchema /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -136729,7 +108322,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateFlowSchemaWithHttpMessagesAsync(V1alpha1FlowSchema body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -136739,10 +108332,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -136753,15 +108342,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateFlowSchema", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -136850,7 +108437,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -136859,7 +108446,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136877,7 +108464,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136895,7 +108482,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -136915,13 +108502,10 @@ private void Initialize() } /// - /// delete a NetworkPolicy + /// delete a FlowSchema /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// @@ -136977,15 +108561,407 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteFlowSchemaWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteFlowSchema", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified FlowSchema + /// + /// + /// name of the FlowSchema + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadFlowSchemaWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadFlowSchema", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified FlowSchema + /// + /// + /// + /// + /// name of the FlowSchema + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchFlowSchemaWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) + if (body == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (namespaceParameter == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -136996,36 +108972,222 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchFlowSchema", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (gracePeriodSeconds != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (orphanDependents != null) + if (force != null) { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); } - if (propagationPolicy != null) + if (pretty != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified FlowSchema + /// + /// + /// + /// + /// name of the FlowSchema + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceFlowSchemaWithHttpMessagesAsync(V1alpha1FlowSchema body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceFlowSchema", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -137038,7 +109200,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -137083,7 +109245,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -137106,7 +109268,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -137115,7 +109277,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137128,12 +109290,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137153,21 +109315,10 @@ private void Initialize() } /// - /// read the specified NetworkPolicy + /// read status of the specified FlowSchema /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// name of the FlowSchema /// /// /// If 'true', then the output is pretty printed. @@ -137193,16 +109344,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadFlowSchemaStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137210,28 +109357,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadFlowSchemaStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -137305,7 +109440,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -137314,7 +109449,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137334,15 +109469,12 @@ private void Initialize() } /// - /// partially update the specified NetworkPolicy + /// partially update status of the specified FlowSchema /// /// /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. An @@ -137387,7 +109519,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedNetworkPolicyWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchFlowSchemaStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -137397,10 +109529,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137413,16 +109541,14 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchFlowSchemaStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -137515,7 +109641,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -137524,7 +109650,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137544,15 +109670,12 @@ private void Initialize() } /// - /// replace the specified NetworkPolicy + /// replace status of the specified FlowSchema /// /// /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. An @@ -137590,7 +109713,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(V1beta1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceFlowSchemaStatusWithHttpMessagesAsync(V1alpha1FlowSchema body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -137604,10 +109727,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137619,16 +109738,14 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedNetworkPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceFlowSchemaStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -137717,7 +109834,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -137726,7 +109843,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137744,7 +109861,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -137764,11 +109881,8 @@ private void Initialize() } /// - /// delete collection of ReplicaSet + /// delete collection of PriorityLevelConfiguration /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -137777,8 +109891,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -137893,21 +110005,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionPriorityLevelConfigurationWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -137928,15 +110030,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityLevelConfiguration", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -138094,11 +110194,8 @@ private void Initialize() } /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind PriorityLevelConfiguration /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -138107,8 +110204,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -138193,21 +110288,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedReplicaSet2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPriorityLevelConfigurationWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -138223,15 +110308,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPriorityLevelConfiguration", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -138338,7 +110421,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -138347,7 +110430,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138367,13 +110450,10 @@ private void Initialize() } /// - /// create a ReplicaSet + /// create a PriorityLevelConfiguration /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -138410,7 +110490,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreatePriorityLevelConfigurationWithHttpMessagesAsync(V1alpha1PriorityLevelConfiguration body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -138420,10 +110500,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -138434,15 +110510,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityLevelConfiguration", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -138531,7 +110605,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -138540,7 +110614,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138558,7 +110632,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138576,7 +110650,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138596,13 +110670,10 @@ private void Initialize() } /// - /// delete a ReplicaSet + /// delete a PriorityLevelConfiguration /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// @@ -138658,15 +110729,407 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedReplicaSet2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePriorityLevelConfigurationWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityLevelConfiguration", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified PriorityLevelConfiguration + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadPriorityLevelConfigurationWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityLevelConfiguration", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified PriorityLevelConfiguration + /// + /// + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchPriorityLevelConfigurationWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) + if (body == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (namespaceParameter == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -138677,36 +111140,222 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityLevelConfiguration", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (gracePeriodSeconds != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (orphanDependents != null) + if (force != null) { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); } - if (propagationPolicy != null) + if (pretty != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified PriorityLevelConfiguration + /// + /// + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplacePriorityLevelConfigurationWithHttpMessagesAsync(V1alpha1PriorityLevelConfiguration body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityLevelConfiguration", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -138719,7 +111368,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -138764,7 +111413,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -138787,7 +111436,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -138796,7 +111445,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138809,12 +111458,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -138834,21 +111483,10 @@ private void Initialize() } /// - /// read the specified ReplicaSet + /// read status of the specified PriorityLevelConfiguration /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// name of the PriorityLevelConfiguration /// /// /// If 'true', then the output is pretty printed. @@ -138874,16 +111512,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSet2WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadPriorityLevelConfigurationStatusWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -138891,28 +111525,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityLevelConfigurationStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -138986,7 +111608,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -138995,7 +111617,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -139015,15 +111637,12 @@ private void Initialize() } /// - /// partially update the specified ReplicaSet + /// partially update status of the specified PriorityLevelConfiguration /// /// /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. An @@ -139068,7 +111687,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSet2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchPriorityLevelConfigurationStatusWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -139078,10 +111697,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -139094,16 +111709,14 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityLevelConfigurationStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -139196,7 +111809,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -139205,7 +111818,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -139225,15 +111838,12 @@ private void Initialize() } /// - /// replace the specified ReplicaSet + /// replace status of the specified PriorityLevelConfiguration /// /// /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. An @@ -139271,7 +111881,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePriorityLevelConfigurationStatusWithHttpMessagesAsync(V1alpha1PriorityLevelConfiguration body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -139285,10 +111895,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -139300,16 +111906,14 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSet2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityLevelConfigurationStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -139398,7 +112002,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -139407,7 +112011,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -139425,7 +112029,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -139445,17 +112049,8 @@ private void Initialize() } /// - /// read scale of the specified ReplicaSet + /// get information of a group /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -139468,25 +112063,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -139494,26 +112075,12 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup15", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -139579,7 +112146,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -139588,7 +112155,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -139608,38 +112175,8 @@ private void Initialize() } /// - /// partially update scale of the specified ReplicaSet + /// get available resources /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -139652,29 +112189,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -139682,46 +112201,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources26", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -139740,12 +112229,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -139789,7 +112272,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -139798,7 +112281,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -139818,27 +112301,117 @@ private void Initialize() } /// - /// replace scale of the specified ReplicaSet + /// delete collection of NetworkPolicy /// - /// - /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -139864,20 +112437,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -139889,28 +112450,76 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSetScale2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -139923,7 +112532,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -139968,7 +112577,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -139991,7 +112600,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140000,25 +112609,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140038,14 +112629,88 @@ private void Initialize() } /// - /// read status of the specified ReplicaSet + /// list or watch objects of kind NetworkPolicy /// - /// - /// name of the ReplicaSet - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// @@ -140070,12 +112735,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedNetworkPolicyWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -140087,18 +112748,56 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicaSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -140172,7 +112871,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140181,7 +112880,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140201,13 +112900,10 @@ private void Initialize() } /// - /// partially update status of the specified ReplicaSet + /// create a NetworkPolicy /// /// /// - /// - /// name of the ReplicaSet - /// /// /// object name and auth scope, such as for teams and projects /// @@ -140221,14 +112917,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -140254,15 +112943,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedNetworkPolicyWithHttpMessagesAsync(V1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + body.Validate(); } if (namespaceParameter == null) { @@ -140278,17 +112967,14 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicaSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -140299,10 +112985,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -140314,7 +112996,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -140337,7 +113019,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -140359,7 +113041,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -140382,7 +113064,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140391,7 +113073,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140411,27 +113129,43 @@ private void Initialize() } /// - /// replace status of the specified ReplicaSet + /// delete a NetworkPolicy /// - /// - /// /// - /// name of the ReplicaSet + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -140457,16 +113191,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(V1beta1ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -140484,16 +113210,18 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicaSetStatus2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -140501,9 +113229,17 @@ private void Initialize() { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -140516,7 +113252,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -140561,7 +113297,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -140584,7 +113320,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140593,7 +113329,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140606,12 +113342,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140631,14 +113367,22 @@ private void Initialize() } /// - /// read scale of the specified ReplicationControllerDummy + /// read the specified NetworkPolicy /// /// - /// name of the Scale + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// /// /// If 'true', then the output is pretty printed. /// @@ -140663,7 +113407,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedNetworkPolicyWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -140680,18 +113424,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedReplicationControllerDummyScale", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -140765,7 +113519,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140774,7 +113528,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -140794,12 +113548,12 @@ private void Initialize() } /// - /// partially update scale of the specified ReplicationControllerDummy + /// partially update the specified NetworkPolicy /// /// /// /// - /// name of the Scale + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -140847,7 +113601,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedNetworkPolicyWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -140876,11 +113630,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedReplicationControllerDummyScale", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -140975,7 +113729,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -140984,7 +113738,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -141004,12 +113758,12 @@ private void Initialize() } /// - /// replace scale of the specified ReplicationControllerDummy + /// replace the specified NetworkPolicy /// /// /// /// - /// name of the Scale + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -141050,7 +113804,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(V1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -141082,11 +113836,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedReplicationControllerDummyScale", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedNetworkPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -141177,7 +113931,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -141186,7 +113940,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -141204,7 +113958,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -141234,8 +113988,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -141323,7 +114075,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -141346,7 +114098,7 @@ private void Initialize() } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/networkpolicies").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -141453,7 +114205,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -141462,7 +114214,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -141482,7 +114234,133 @@ private void Initialize() } /// - /// delete collection of PodSecurityPolicy + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources27", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of IngressClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -141492,8 +114370,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -141611,7 +114487,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionIngressClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -141635,11 +114511,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionIngressClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingressclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -141797,7 +114673,7 @@ private void Initialize() } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind IngressClass /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -141807,8 +114683,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -141896,7 +114770,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListPodSecurityPolicyWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListIngressClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -141915,11 +114789,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListIngressClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingressclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -142026,7 +114900,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -142035,7 +114909,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142055,7 +114929,7 @@ private void Initialize() } /// - /// create a PodSecurityPolicy + /// create an IngressClass /// /// /// @@ -142095,7 +114969,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreatePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateIngressClassWithHttpMessagesAsync(V1beta1IngressClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -142117,11 +114991,11 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreatePodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateIngressClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingressclasses").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -142210,7 +115084,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -142219,7 +115093,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142237,7 +115111,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142255,7 +115129,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142275,10 +115149,10 @@ private void Initialize() } /// - /// delete a PodSecurityPolicy + /// delete an IngressClass /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// @@ -142334,7 +115208,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePodSecurityPolicyWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteIngressClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -142355,11 +115229,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeletePodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteIngressClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingressclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -142504,10 +115378,10 @@ private void Initialize() } /// - /// read the specified PodSecurityPolicy + /// read the specified IngressClass /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -142541,7 +115415,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPodSecurityPolicyWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadIngressClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -142559,11 +115433,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadIngressClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingressclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (exact != null) @@ -142647,7 +115521,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -142656,7 +115530,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142676,12 +115550,12 @@ private void Initialize() } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified IngressClass /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -142726,7 +115600,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchIngressClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -142750,11 +115624,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchIngressClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingressclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -142848,7 +115722,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -142857,7 +115731,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -142877,12 +115751,12 @@ private void Initialize() } /// - /// replace the specified PodSecurityPolicy + /// replace the specified IngressClass /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -142920,7 +115794,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceIngressClassWithHttpMessagesAsync(V1beta1IngressClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -142947,11 +115821,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePodSecurityPolicy", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceIngressClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingressclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -143041,7 +115915,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -143050,7 +115924,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -143068,7 +115942,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -143088,7 +115962,7 @@ private void Initialize() } /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind Ingress /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -143098,8 +115972,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -143187,7 +116059,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListIngressForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -143206,11 +116078,11 @@ private void Initialize() tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListReplicaSetForAllNamespaces2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListIngressForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/extensions/v1beta1/replicasets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingresses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -143317,259 +116189,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup14", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources27", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -143578,7 +116198,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -143598,7 +116218,7 @@ private void Initialize() } /// - /// delete collection of NetworkPolicy + /// delete collection of Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -143611,8 +116231,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -143736,7 +116354,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedIngress1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -143765,11 +116383,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedIngress1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -143928,7 +116546,7 @@ private void Initialize() } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -143941,8 +116559,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -144036,7 +116652,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedNetworkPolicy1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedIngress1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -144060,11 +116676,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedIngress1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -144172,7 +116788,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -144181,7 +116797,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144201,7 +116817,7 @@ private void Initialize() } /// - /// create a NetworkPolicy + /// create an Ingress /// /// /// @@ -144244,7 +116860,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedIngress1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -144271,11 +116887,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedIngress1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -144365,7 +116981,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -144374,7 +116990,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144392,7 +117008,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144410,7 +117026,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144430,10 +117046,10 @@ private void Initialize() } /// - /// delete a NetworkPolicy + /// delete an Ingress /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -144492,7 +117108,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedIngress1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -144518,11 +117134,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedIngress1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -144668,10 +117284,10 @@ private void Initialize() } /// - /// read the specified NetworkPolicy + /// read the specified Ingress /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -144708,7 +117324,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedIngress1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -144731,11 +117347,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedIngress1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -144820,7 +117436,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -144829,7 +117445,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -144849,12 +117465,12 @@ private void Initialize() } /// - /// partially update the specified NetworkPolicy + /// partially update the specified Ingress /// /// /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -144902,7 +117518,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedIngress1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -144931,11 +117547,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedIngress1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -145030,7 +117646,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -145039,7 +117655,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145059,12 +117675,12 @@ private void Initialize() } /// - /// replace the specified NetworkPolicy + /// replace the specified Ingress /// /// /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -145105,7 +117721,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(V1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedIngress1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -145137,11 +117753,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedNetworkPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedIngress1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -145232,7 +117848,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -145241,7 +117857,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145259,391 +117875,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind NetworkPolicy - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNetworkPolicyForAllNamespaces1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1/networkpolicies").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources28", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -145663,378 +117895,14 @@ private void Initialize() } /// - /// list or watch objects of kind Ingress + /// read status of the specified Ingress /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. + /// + /// name of the Ingress /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListIngressForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListIngressForAllNamespaces1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/ingresses").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete collection of Ingress - /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// If 'true', then the output is pretty printed. /// @@ -146059,8 +117927,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedIngress1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedIngressStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -146072,77 +117944,18 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedIngress1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedIngressStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -146154,7 +117967,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -146173,12 +117986,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -146222,7 +118029,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -146231,7 +118038,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -146251,89 +118058,34 @@ private void Initialize() } /// - /// list or watch objects of kind Ingress + /// partially update status of the specified Ingress /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// name of the Ingress /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -146359,8 +118111,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedIngress1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedIngressStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -146372,55 +118132,33 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedIngress1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedIngressStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (resourceVersion != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (timeoutSeconds != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (watch != null) + if (force != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -146433,7 +118171,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -146452,6 +118190,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -146495,7 +118239,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -146504,7 +118248,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -146524,10 +118268,13 @@ private void Initialize() } /// - /// create an Ingress + /// replace status of the specified Ingress /// /// /// + /// + /// name of the Ingress + /// /// /// object name and auth scope, such as for teams and projects /// @@ -146567,7 +118314,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedIngress1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedIngressStatus1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -146577,6 +118324,10 @@ private void Initialize() { body.Validate(); } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -146591,14 +118342,16 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedIngress1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedIngressStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -146620,7 +118373,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -146665,7 +118418,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -146727,24 +118480,6 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -146753,47 +118488,8 @@ private void Initialize() } /// - /// delete an Ingress + /// get information of a group /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -146806,25 +118502,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedIngress1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -146832,51 +118514,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedIngress1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup16", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -146895,12 +118542,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -146921,7 +118562,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -146944,7 +118585,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -146953,7 +118594,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -146965,13 +118606,121 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources28", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -146991,21 +118740,114 @@ private void Initialize() } /// - /// read the specified Ingress + /// delete collection of RuntimeClass /// - /// - /// name of the Ingress + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -147022,25 +118864,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedIngress1WithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionRuntimeClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -147048,27 +118876,74 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedIngress1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionRuntimeClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses").ToString(); List _queryParameters = new List(); - if (exact != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (export != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -147081,7 +118956,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -147100,6 +118975,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -147143,7 +119024,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -147152,7 +119033,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -147172,34 +119053,84 @@ private void Initialize() } /// - /// partially update the specified Ingress + /// list or watch objects of kind RuntimeClass /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the Ingress + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -147216,29 +119147,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedIngress1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRuntimeClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -147246,33 +119159,53 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedIngress1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRuntimeClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (force != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -147285,7 +119218,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -147304,12 +119237,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -147353,7 +119280,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -147362,7 +119289,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -147382,16 +119309,10 @@ private void Initialize() } /// - /// replace the specified Ingress + /// create a RuntimeClass /// /// /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -147428,7 +119349,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedIngress1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateRuntimeClassWithHttpMessagesAsync(V1alpha1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -147438,14 +119359,6 @@ private void Initialize() { body.Validate(); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -147456,17 +119369,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedIngress1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateRuntimeClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -147487,7 +119396,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -147532,7 +119441,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -147555,7 +119464,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -147564,7 +119473,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -147582,7 +119491,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -147602,13 +119529,40 @@ private void Initialize() } /// - /// read status of the specified Ingress + /// delete a RuntimeClass /// /// - /// name of the Ingress + /// name of the RuntimeClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -147634,16 +119588,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedIngressStatus1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteRuntimeClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -147651,18 +119601,37 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedIngressStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteRuntimeClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -147674,7 +119643,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -147693,6 +119662,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -147713,7 +119688,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -147736,7 +119711,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -147745,7 +119720,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -147765,34 +119758,18 @@ private void Initialize() } /// - /// partially update status of the specified Ingress + /// read the specified RuntimeClass /// - /// - /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// name of the RuntimeClass /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -147818,20 +119795,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedIngressStatus1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadRuntimeClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -147839,33 +119808,25 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedIngressStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadRuntimeClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) + if (exact != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (force != null) + if (export != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -147878,7 +119839,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -147897,12 +119858,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -147946,7 +119901,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -147955,7 +119910,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -147975,15 +119930,12 @@ private void Initialize() } /// - /// replace status of the specified Ingress + /// partially update the specified RuntimeClass /// /// /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -147995,7 +119947,14 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -148021,24 +119980,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedIngressStatus1WithHttpMessagesAsync(Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchRuntimeClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -148049,17 +120000,16 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedIngressStatus1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchRuntimeClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -148069,6 +120019,10 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -148080,7 +120034,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -148103,7 +120057,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -148125,7 +120079,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -148148,7 +120102,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -148157,25 +120111,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -148195,8 +120131,28 @@ private void Initialize() } /// - /// get information of a group + /// replace the specified RuntimeClass /// + /// + /// + /// + /// name of the RuntimeClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -148209,11 +120165,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceRuntimeClassWithHttpMessagesAsync(V1alpha1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -148221,16 +120195,39 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup15", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceRuntimeClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -148249,6 +120246,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -148269,7 +120272,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -148292,7 +120295,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -148301,7 +120304,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -148352,7 +120373,7 @@ private void Initialize() } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -148457,8 +120478,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -148576,7 +120595,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionRuntimeClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionRuntimeClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -148600,11 +120619,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionRuntimeClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionRuntimeClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -148772,8 +120791,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -148861,7 +120878,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListRuntimeClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRuntimeClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -148880,11 +120897,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRuntimeClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRuntimeClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -148991,7 +121008,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149000,7 +121017,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149060,7 +121077,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateRuntimeClassWithHttpMessagesAsync(V1alpha1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateRuntimeClass1WithHttpMessagesAsync(V1beta1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -149082,11 +121099,11 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateRuntimeClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateRuntimeClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -149175,7 +121192,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149184,7 +121201,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149202,7 +121219,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149220,7 +121237,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149299,7 +121316,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteRuntimeClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteRuntimeClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -149320,11 +121337,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteRuntimeClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteRuntimeClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -149506,7 +121523,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadRuntimeClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadRuntimeClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -149524,11 +121541,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadRuntimeClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadRuntimeClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (exact != null) @@ -149612,7 +121629,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149621,7 +121638,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149691,7 +121708,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchRuntimeClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchRuntimeClass1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -149715,11 +121732,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchRuntimeClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchRuntimeClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -149813,7 +121830,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -149822,7 +121839,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -149885,7 +121902,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceRuntimeClassWithHttpMessagesAsync(V1alpha1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceRuntimeClass1WithHttpMessagesAsync(V1beta1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -149912,11 +121929,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceRuntimeClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceRuntimeClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1alpha1/runtimeclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -150006,7 +122023,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -150015,7 +122032,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -150033,7 +122050,133 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup17", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -150084,7 +122227,7 @@ private void Initialize() } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -150179,8 +122322,11 @@ private void Initialize() } /// - /// delete collection of RuntimeClass + /// delete collection of PodDisruptionBudget /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -150189,8 +122335,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -150305,11 +122449,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionRuntimeClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150330,13 +122484,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionRuntimeClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedPodDisruptionBudget", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -150494,8 +122650,11 @@ private void Initialize() } /// - /// list or watch objects of kind RuntimeClass + /// list or watch objects of kind PodDisruptionBudget /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -150504,8 +122663,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -150590,11 +122747,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListRuntimeClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150610,13 +122777,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRuntimeClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedPodDisruptionBudget", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -150723,7 +122892,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -150732,7 +122901,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -150752,10 +122921,13 @@ private void Initialize() } /// - /// create a RuntimeClass + /// create a PodDisruptionBudget /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -150792,7 +122964,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateRuntimeClass1WithHttpMessagesAsync(V1beta1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -150802,6 +122974,10 @@ private void Initialize() { body.Validate(); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -150812,13 +122988,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateRuntimeClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedPodDisruptionBudget", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -150907,7 +123085,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -150916,7 +123094,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -150934,7 +123112,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -150952,7 +123130,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -150972,10 +123150,13 @@ private void Initialize() } /// - /// delete a RuntimeClass + /// delete a PodDisruptionBudget /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -151031,12 +123212,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteRuntimeClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -151050,14 +123235,16 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteRuntimeClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedPodDisruptionBudget", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -151201,10 +123388,13 @@ private void Initialize() } /// - /// read the specified RuntimeClass + /// read the specified PodDisruptionBudget /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -151238,12 +123428,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadRuntimeClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -151254,14 +123448,16 @@ private void Initialize() tracingParameters.Add("exact", exact); tracingParameters.Add("export", export); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadRuntimeClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodDisruptionBudget", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (exact != null) { @@ -151344,7 +123540,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -151353,7 +123549,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -151373,12 +123569,15 @@ private void Initialize() } /// - /// partially update the specified RuntimeClass + /// partially update the specified PodDisruptionBudget /// /// /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -151423,7 +123622,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchRuntimeClass1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -151433,6 +123632,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -151445,14 +123648,16 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchRuntimeClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodDisruptionBudget", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -151545,7 +123750,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -151554,7 +123759,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -151574,12 +123779,15 @@ private void Initialize() } /// - /// replace the specified RuntimeClass + /// replace the specified PodDisruptionBudget /// /// /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -151617,7 +123825,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceRuntimeClass1WithHttpMessagesAsync(V1beta1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -151631,6 +123839,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -151642,14 +123854,16 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceRuntimeClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodDisruptionBudget", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/node.k8s.io/v1beta1/runtimeclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -151738,7 +123952,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -151747,7 +123961,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -151765,7 +123979,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -151785,8 +123999,17 @@ private void Initialize() } /// - /// get information of a group + /// read status of the specified PodDisruptionBudget /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -151799,11 +124022,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -151811,12 +124048,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup16", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodDisruptionBudgetStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -151882,7 +124133,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -151891,7 +124142,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -151911,8 +124162,38 @@ private void Initialize() } /// - /// get available resources + /// partially update status of the specified PodDisruptionBudget /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -151925,11 +124206,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources31WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -151937,16 +124236,46 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources31", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodDisruptionBudgetStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -151965,6 +124294,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -152008,7 +124343,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -152017,7 +124352,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -152037,44 +124372,15 @@ private void Initialize() } /// - /// delete collection of PodDisruptionBudget + /// replace status of the specified PodDisruptionBudget /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// /// /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -152082,74 +124388,11 @@ private void Initialize() /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -152175,8 +124418,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } if (namespaceParameter == null) { throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); @@ -152188,76 +124443,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); - tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodDisruptionBudgetStatus", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -152270,7 +124477,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -152315,7 +124522,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -152338,7 +124545,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -152347,7 +124554,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -152369,9 +124594,6 @@ private void Initialize() /// /// list or watch objects of kind PodDisruptionBudget /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -152380,8 +124602,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -152435,6 +124655,9 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -152451,9 +124674,6 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -152466,21 +124686,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -152493,18 +124703,16 @@ private void Initialize() tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPodDisruptionBudgetForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/poddisruptionbudgets").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -152526,6 +124734,10 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -152538,10 +124750,6 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -152640,12 +124848,39 @@ private void Initialize() } /// - /// create a PodDisruptionBudget + /// delete collection of PodSecurityPolicy /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// /// /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// /// /// When present, indicates that modifications should not be persisted. An @@ -152653,237 +124888,9 @@ private void Initialize() /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedPodDisruptionBudget", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a PodDisruptionBudget - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// /// /// The duration in seconds before the object should be deleted. Value must be @@ -152892,6 +124899,33 @@ private void Initialize() /// Defaults to a per object value if not specified. zero means delete /// immediately. /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// Deprecated: please use the PropagationPolicy, this field will be deprecated /// in 1.7. Should the dependent objects be orphaned. If true/false, the @@ -152907,6 +124941,22 @@ private void Initialize() /// dependents in the background; 'Foreground' - a cascading policy that /// deletes all dependents in the foreground. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// If 'true', then the output is pretty printed. /// @@ -152922,25 +124972,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -152948,31 +124984,55 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); tracingParameters.Add("body", body); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPodSecurityPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } if (gracePeriodSeconds != null) { _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (orphanDependents != null) { _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); @@ -152981,6 +125041,18 @@ private void Initialize() { _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -153037,7 +125109,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -153081,24 +125153,6 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -153107,21 +125161,84 @@ private void Initialize() } /// - /// read the specified PodDisruptionBudget + /// list or watch objects of kind PodSecurityPolicy /// - /// - /// name of the PodDisruptionBudget + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -153138,25 +125255,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPodSecurityPolicyWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -153164,27 +125267,53 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPodSecurityPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); List _queryParameters = new List(); - if (exact != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (export != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -153259,7 +125388,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -153268,7 +125397,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -153288,16 +125417,10 @@ private void Initialize() } /// - /// partially update the specified PodDisruptionBudget + /// create a PodSecurityPolicy /// /// /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -153308,14 +125431,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -153341,19 +125457,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreatePodSecurityPolicyWithHttpMessagesAsync(V1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + body.Validate(); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -153365,18 +125477,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreatePodSecurityPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -153386,10 +125493,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -153401,7 +125504,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -153424,7 +125527,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -153446,7 +125549,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -153469,7 +125572,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -153478,7 +125581,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -153498,15 +125637,12 @@ private void Initialize() } /// - /// replace the specified PodDisruptionBudget + /// delete a PodSecurityPolicy /// - /// - /// /// - /// name of the PodDisruptionBudget + /// name of the PodSecurityPolicy /// - /// - /// object name and auth scope, such as for teams and projects + /// /// /// /// When present, indicates that modifications should not be persisted. An @@ -153514,11 +125650,27 @@ private void Initialize() /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -153544,24 +125696,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePodSecurityPolicyWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -153571,26 +125711,34 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodDisruptionBudget", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeletePodSecurityPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -153603,7 +125751,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -153648,7 +125796,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -153671,7 +125819,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -153680,7 +125828,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -153693,12 +125841,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -153718,13 +125866,18 @@ private void Initialize() } /// - /// read status of the specified PodDisruptionBudget + /// read the specified PodSecurityPolicy /// /// - /// name of the PodDisruptionBudget + /// name of the PodSecurityPolicy /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -153750,16 +125903,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadPodSecurityPolicyWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -153767,18 +125916,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodDisruptionBudgetStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadPodSecurityPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -153852,7 +126009,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -153861,7 +126018,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -153881,15 +126038,12 @@ private void Initialize() } /// - /// partially update status of the specified PodDisruptionBudget + /// partially update the specified PodSecurityPolicy /// /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// When present, indicates that modifications should not be persisted. An @@ -153934,7 +126088,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -153944,10 +126098,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -153960,16 +126110,14 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodDisruptionBudgetStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPodSecurityPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -154062,7 +126210,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -154071,7 +126219,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -154091,15 +126239,12 @@ private void Initialize() } /// - /// replace status of the specified PodDisruptionBudget + /// replace the specified PodSecurityPolicy /// /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// When present, indicates that modifications should not be persisted. An @@ -154137,7 +126282,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(V1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -154151,10 +126296,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -154166,16 +126307,14 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodDisruptionBudgetStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePodSecurityPolicy", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -154264,7 +126403,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -154273,7 +126412,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -154291,7 +126430,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -154311,90 +126450,8 @@ private void Initialize() } /// - /// list or watch objects of kind PodDisruptionBudget + /// get information of a group /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -154410,7 +126467,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -154419,62 +126476,138 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodDisruptionBudgetForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup18", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/poddisruptionbudgets").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } } - if (labelSelector != null) + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); } - if (limit != null) + // Send Request + if (_shouldTrace) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); } - if (pretty != null) + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); } - if (resourceVersion != null) + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; } - if (timeoutSeconds != null) + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } } - if (watch != null) + if (_shouldTrace) { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + ServiceClientTracing.Exit(_invocationId, _result); } - if (_queryParameters.Count > 0) + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources31WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) { - _url += "?" + string.Join("&", _queryParameters); + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources31", tracingParameters); } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -154540,7 +126673,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -154549,7 +126682,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -154569,7 +126702,7 @@ private void Initialize() } /// - /// delete collection of PodSecurityPolicy + /// delete collection of ClusterRoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -154579,8 +126712,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -154698,7 +126829,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -154722,11 +126853,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -154884,7 +127015,7 @@ private void Initialize() } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind ClusterRoleBinding /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -154894,8 +127025,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -154983,7 +127112,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListPodSecurityPolicy1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRoleBindingWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -155002,11 +127131,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -155113,7 +127242,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -155122,7 +127251,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -155142,7 +127271,7 @@ private void Initialize() } /// - /// create a PodSecurityPolicy + /// create a ClusterRoleBinding /// /// /// @@ -155182,7 +127311,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreatePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -155204,11 +127333,11 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreatePodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -155297,254 +127426,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a PodSecurityPolicy - /// - /// - /// name of the PodSecurityPolicy - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeletePodSecurityPolicy1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeletePodSecurityPolicy1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -155553,7 +127435,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -155571,7 +127471,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -155591,18 +127491,40 @@ private void Initialize() } /// - /// read the specified PodSecurityPolicy + /// delete a ClusterRoleBinding /// /// - /// name of the PodSecurityPolicy + /// name of the ClusterRoleBinding /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -155628,7 +127550,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPodSecurityPolicy1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRoleBindingWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -155641,25 +127563,36 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (exact != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (export != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -155672,7 +127605,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -155691,6 +127624,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -155711,7 +127650,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -155734,7 +127673,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -155743,7 +127682,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -155763,31 +127720,10 @@ private void Initialize() } /// - /// partially update the specified PodSecurityPolicy + /// read the specified ClusterRoleBinding /// - /// - /// /// - /// name of the PodSecurityPolicy - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -155813,12 +127749,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchPodSecurityPolicy1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRoleBindingWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -155830,32 +127762,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -155867,7 +127783,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -155886,12 +127802,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -155935,7 +127845,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -155944,7 +127854,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -155964,12 +127874,12 @@ private void Initialize() } /// - /// replace the specified PodSecurityPolicy + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the PodSecurityPolicy + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -155981,7 +127891,14 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -156007,16 +127924,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -156031,14 +127944,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePodSecurityPolicy1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/policy/v1beta1/podsecuritypolicies/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -156049,6 +127963,10 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -156060,7 +127978,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -156083,7 +128001,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -156105,7 +128023,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -156128,7 +128046,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -156137,25 +128055,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -156175,8 +128075,28 @@ private void Initialize() } /// - /// get information of a group + /// replace the specified ClusterRoleBinding /// + /// + /// + /// + /// name of the ClusterRoleBinding + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -156189,11 +128109,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -156201,16 +128139,39 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup17", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -156229,6 +128190,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -156249,7 +128216,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -156272,7 +128239,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -156281,7 +128248,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -156293,121 +128260,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources32WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources32", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -156427,7 +128286,7 @@ private void Initialize() } /// - /// delete collection of ClusterRoleBinding + /// delete collection of ClusterRole /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -156437,8 +128296,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -156556,7 +128413,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRoleWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -156580,11 +128437,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -156742,7 +128599,7 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind ClusterRole /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -156752,8 +128609,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -156841,7 +128696,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRoleBindingWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRoleWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -156860,11 +128715,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -156971,7 +128826,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -156980,7 +128835,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -157000,7 +128855,7 @@ private void Initialize() } /// - /// create a ClusterRoleBinding + /// create a ClusterRole /// /// /// @@ -157040,16 +128895,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -157062,11 +128913,11 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -157155,7 +129006,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -157164,7 +129015,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -157182,7 +129033,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -157200,7 +129051,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -157220,10 +129071,10 @@ private void Initialize() } /// - /// delete a ClusterRoleBinding + /// delete a ClusterRole /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// @@ -157279,7 +129130,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRoleBindingWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRoleWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -157300,11 +129151,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -157449,10 +129300,10 @@ private void Initialize() } /// - /// read the specified ClusterRoleBinding + /// read the specified ClusterRole /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -157478,7 +129329,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRoleBindingWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRoleWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -157494,11 +129345,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (pretty != null) @@ -157574,7 +129425,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -157583,7 +129434,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -157603,12 +129454,12 @@ private void Initialize() } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified ClusterRole /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. An @@ -157653,7 +129504,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRoleWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -157677,11 +129528,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -157775,7 +129626,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -157784,7 +129635,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -157804,12 +129655,12 @@ private void Initialize() } /// - /// replace the specified ClusterRoleBinding + /// replace the specified ClusterRole /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. An @@ -157847,16 +129698,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRoleBindingWithHttpMessagesAsync(V1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) - { - body.Validate(); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -157874,11 +129721,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -157968,7 +129815,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -157977,7 +129824,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -157995,7 +129842,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -158015,8 +129862,11 @@ private void Initialize() } /// - /// delete collection of ClusterRole + /// delete collection of RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -158025,8 +129875,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -158141,11 +129989,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRoleWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -158166,13 +130024,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -158330,8 +130190,11 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -158340,8 +130203,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -158426,11 +130287,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRoleWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -158446,13 +130317,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -158559,7 +130432,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -158568,7 +130441,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -158588,10 +130461,13 @@ private void Initialize() } /// - /// create a ClusterRole + /// create a RoleBinding /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -158628,12 +130504,20 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -158644,13 +130528,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -158739,7 +130625,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -158748,7 +130634,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -158766,7 +130652,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -158784,7 +130670,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -158804,10 +130690,13 @@ private void Initialize() } /// - /// delete a ClusterRole + /// delete a RoleBinding /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -158863,12 +130752,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRoleWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -158882,14 +130775,16 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -159033,10 +130928,13 @@ private void Initialize() } /// - /// read the specified ClusterRole + /// read the specified RoleBinding /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -159062,12 +130960,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRoleWithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -159076,14 +130978,16 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -159158,7 +131062,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -159167,7 +131071,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -159187,12 +131091,15 @@ private void Initialize() } /// - /// partially update the specified ClusterRole + /// partially update the specified RoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -159237,7 +131144,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRoleWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -159247,6 +131154,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -159259,14 +131170,16 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -159359,7 +131272,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -159368,7 +131281,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -159388,12 +131301,15 @@ private void Initialize() } /// - /// replace the specified ClusterRole + /// replace the specified RoleBinding /// /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -159431,16 +131347,24 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRoleWithHttpMessagesAsync(V1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -159452,14 +131376,16 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -159548,7 +131474,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -159557,7 +131483,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -159575,7 +131501,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -159595,7 +131521,7 @@ private void Initialize() } /// - /// delete collection of RoleBinding + /// delete collection of Role /// /// /// object name and auth scope, such as for teams and projects @@ -159608,8 +131534,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -159733,7 +131657,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -159762,11 +131686,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -159925,7 +131849,7 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// /// /// object name and auth scope, such as for teams and projects @@ -159938,8 +131862,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -160033,7 +131955,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRoleBindingWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (namespaceParameter == null) { @@ -160057,11 +131979,11 @@ private void Initialize() tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) @@ -160169,7 +132091,633 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// create a Role + /// + /// + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateNamespacedRoleWithHttpMessagesAsync(V1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete a Role + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified Role + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -160178,7 +132726,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -160198,10 +132746,13 @@ private void Initialize() } /// - /// create a RoleBinding + /// partially update the specified Role /// /// /// + /// + /// name of the Role + /// /// /// object name and auth scope, such as for teams and projects /// @@ -160215,7 +132766,14 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -160241,15 +132799,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRoleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (name == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } if (namespaceParameter == null) { @@ -160265,14 +132823,17 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) @@ -160283,6 +132844,10 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -160294,7 +132859,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -160317,7 +132882,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -160339,7 +132904,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -160362,7 +132927,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -160371,43 +132936,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -160427,43 +132956,27 @@ private void Initialize() } /// - /// delete a RoleBinding + /// replace the specified Role /// + /// + /// /// - /// name of the RoleBinding + /// name of the Role /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -160489,8 +133002,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRoleWithHttpMessagesAsync(V1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -160508,18 +133025,16 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); @@ -160527,17 +133042,9 @@ private void Initialize() { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -160550,7 +133057,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -160595,7 +133102,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -160618,7 +133125,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -160627,7 +133134,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -160640,12 +133147,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -160665,17 +133172,88 @@ private void Initialize() } /// - /// read the specified RoleBinding + /// list or watch objects of kind RoleBinding /// - /// - /// name of the RoleBinding + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -160688,25 +133266,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRoleBindingWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleBindingForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -160714,22 +133278,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/rolebindings").ToString(); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -160799,7 +133399,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -160808,7 +133408,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -160828,38 +133428,88 @@ private void Initialize() } /// - /// partially update the specified RoleBinding + /// list or watch objects of kind Role /// - /// - /// - /// - /// name of the RoleBinding + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -160872,29 +133522,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRoleBindingWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -160902,38 +133534,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/roles").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (force != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -160941,7 +133593,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -160960,12 +133612,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -161009,7 +133655,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -161018,7 +133664,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -161038,31 +133684,8 @@ private void Initialize() } /// - /// replace the specified RoleBinding + /// get available resources /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -161075,33 +133698,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRoleBindingWithHttpMessagesAsync(V1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources32WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -161109,41 +133710,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources32", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -161162,12 +133738,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -161188,7 +133758,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -161211,7 +133781,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -161220,25 +133790,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -161258,11 +133810,8 @@ private void Initialize() } /// - /// delete collection of Role + /// delete collection of ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -161271,8 +133820,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -161387,21 +133934,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -161422,15 +133959,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -161588,11 +134123,8 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -161601,8 +134133,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -161687,21 +134217,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRoleWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRoleBinding1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -161717,15 +134237,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -161832,7 +134350,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -161841,7 +134359,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -161861,13 +134379,10 @@ private void Initialize() } /// - /// create a Role + /// create a ClusterRoleBinding /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -161904,15 +134419,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRoleWithHttpMessagesAsync(V1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (namespaceParameter == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + body.Validate(); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -161924,15 +134439,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -162021,7 +134534,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -162030,7 +134543,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -162048,7 +134561,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -162066,7 +134579,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -162086,13 +134599,10 @@ private void Initialize() } /// - /// delete a Role + /// delete a ClusterRoleBinding /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// @@ -162148,16 +134658,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRoleBinding1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -162171,16 +134677,14 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -162324,13 +134828,10 @@ private void Initialize() } /// - /// read the specified Role + /// read the specified ClusterRoleBinding /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -162356,16 +134857,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRoleWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRoleBinding1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -162374,16 +134871,14 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -162458,7 +134953,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -162467,7 +134962,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -162487,15 +134982,12 @@ private void Initialize() } /// - /// partially update the specified Role + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -162540,7 +135032,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRoleWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -162550,10 +135042,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -162566,16 +135054,14 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -162668,7 +135154,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -162677,7 +135163,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -162697,15 +135183,12 @@ private void Initialize() } /// - /// replace the specified Role + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -162743,19 +135226,19 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRoleWithHttpMessagesAsync(V1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + body.Validate(); } - if (namespaceParameter == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -162768,16 +135251,14 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -162866,7 +135347,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -162875,7 +135356,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -162893,7 +135374,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -162913,7 +135394,7 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// delete collection of ClusterRole /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -162923,8 +135404,8 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -162947,10 +135428,23 @@ private void Initialize() /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -162978,8 +135472,20 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after that @@ -162997,6 +135503,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -163012,7 +135521,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListRoleBindingForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRole1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -163022,20 +135531,25 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("body", body); tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/rolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -163045,10 +135559,18 @@ private void Initialize() { _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } if (fieldSelector != null) { _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } if (labelSelector != null) { _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); @@ -163057,9 +135579,13 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) + if (orphanDependents != null) { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (resourceVersion != null) { @@ -163073,6 +135599,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -163080,7 +135610,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -163099,6 +135629,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -163142,7 +135678,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -163151,7 +135687,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -163171,7 +135707,7 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -163181,8 +135717,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -163236,9 +135770,6 @@ private void Initialize() /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -163255,6 +135786,9 @@ private void Initialize() /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -163270,7 +135804,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListRoleForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRole1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -163284,16 +135818,16 @@ private void Initialize() tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("labelSelector", labelSelector); tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1/roles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -163315,10 +135849,6 @@ private void Initialize() { _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -163331,6 +135861,10 @@ private void Initialize() { _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -163400,7 +135934,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -163409,7 +135943,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -163429,8 +135963,25 @@ private void Initialize() } /// - /// get available resources + /// create a ClusterRole /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -163443,11 +135994,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources33WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -163455,12 +136016,458 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources33", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete a ClusterRole + /// + /// + /// name of the ClusterRole + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> DeleteClusterRole1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified ClusterRole + /// + /// + /// name of the ClusterRole + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadClusterRole1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -163526,7 +136533,208 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified ClusterRole + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchClusterRole1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -163535,7 +136743,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -163555,8 +136763,218 @@ private void Initialize() } /// - /// delete collection of ClusterRoleBinding + /// replace the specified ClusterRole /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -163565,8 +136983,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -163681,11 +137097,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -163706,13 +137132,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -163870,8 +137298,11 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -163880,8 +137311,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -163966,11 +137395,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRoleBinding1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -163986,13 +137425,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -164099,7 +137540,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -164108,7 +137549,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -164128,10 +137569,13 @@ private void Initialize() } /// - /// create a ClusterRoleBinding + /// create a RoleBinding /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -164168,7 +137612,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -164178,6 +137622,10 @@ private void Initialize() { body.Validate(); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -164188,13 +137636,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -164283,7 +137733,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -164292,7 +137742,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -164310,7 +137760,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -164328,7 +137778,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -164348,10 +137798,13 @@ private void Initialize() } /// - /// delete a ClusterRoleBinding + /// delete a RoleBinding /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -164407,12 +137860,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRoleBinding1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -164426,14 +137883,16 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -164577,10 +138036,13 @@ private void Initialize() } /// - /// read the specified ClusterRoleBinding + /// read the specified RoleBinding /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -164606,12 +138068,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRoleBinding1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -164620,14 +138086,16 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -164702,7 +138170,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -164711,7 +138179,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -164731,12 +138199,15 @@ private void Initialize() } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified RoleBinding /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -164781,7 +138252,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -164791,6 +138262,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -164803,14 +138278,16 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -164903,7 +138380,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -164912,7 +138389,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -164932,12 +138409,15 @@ private void Initialize() } /// - /// replace the specified ClusterRoleBinding + /// replace the specified RoleBinding /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -164975,7 +138455,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRoleBinding1WithHttpMessagesAsync(V1alpha1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -164989,6 +138469,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -165000,14 +138484,16 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -165096,7 +138582,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -165105,7 +138591,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -165123,7 +138609,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -165143,8 +138629,11 @@ private void Initialize() } /// - /// delete collection of ClusterRole + /// delete collection of Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -165153,8 +138642,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -165269,11 +138756,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRole1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -165294,13 +138791,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -165458,8 +138957,11 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -165468,8 +138970,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -165554,11 +139054,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRole1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -165574,13 +139084,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -165687,7 +139199,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -165696,7 +139208,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -165716,10 +139228,13 @@ private void Initialize() } /// - /// create a ClusterRole + /// create a Role /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -165756,12 +139271,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -165772,13 +139291,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -165867,7 +139388,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -165876,7 +139397,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -165894,7 +139415,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -165912,7 +139433,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -165932,10 +139453,13 @@ private void Initialize() } /// - /// delete a ClusterRole + /// delete a Role /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -165991,12 +139515,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRole1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -166010,14 +139538,16 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -166161,10 +139691,13 @@ private void Initialize() } /// - /// read the specified ClusterRole + /// read the specified Role /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -166190,12 +139723,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRole1WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -166204,19 +139741,703 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified Role + /// + /// + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedRole1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified Role + /// + /// + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind RoleBinding + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces1", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/rolebindings").ToString(); List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -166286,7 +140507,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -166295,7 +140516,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -166315,35 +140536,88 @@ private void Initialize() } /// - /// partially update the specified ClusterRole + /// list or watch objects of kind Role /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the ClusterRole + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -166356,25 +140630,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRole1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListRoleForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -166382,36 +140642,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/roles").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (force != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -166419,7 +140701,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -166438,12 +140720,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -166487,7 +140763,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -166496,7 +140772,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -166516,28 +140792,8 @@ private void Initialize() } /// - /// replace the specified ClusterRole + /// get available resources /// - /// - /// - /// - /// name of the ClusterRole - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -166550,25 +140806,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRole1WithHttpMessagesAsync(V1alpha1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources33WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -166576,39 +140818,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources33", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -166627,12 +140846,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -166653,7 +140866,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -166676,7 +140889,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -166685,25 +140898,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -166723,11 +140918,8 @@ private void Initialize() } /// - /// delete collection of RoleBinding + /// delete collection of ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -166736,8 +140928,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -166852,21 +141042,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -166887,15 +141067,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -167053,11 +141231,8 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind ClusterRoleBinding /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -167066,8 +141241,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -167152,21 +141325,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRoleBinding1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRoleBinding2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -167182,15 +141345,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -167297,7 +141458,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -167306,7 +141467,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -167326,13 +141487,10 @@ private void Initialize() } /// - /// create a RoleBinding + /// create a ClusterRoleBinding /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -167369,7 +141527,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -167379,10 +141537,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -167393,15 +141547,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -167490,7 +141642,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -167499,7 +141651,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -167517,7 +141669,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -167535,7 +141687,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -167555,13 +141707,10 @@ private void Initialize() } /// - /// delete a RoleBinding + /// delete a ClusterRoleBinding /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// @@ -167617,223 +141766,210 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified RoleBinding - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedRoleBinding1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRoleBinding2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified ClusterRoleBinding + /// + /// + /// name of the ClusterRoleBinding + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadClusterRoleBinding2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -167843,16 +141979,14 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -167927,7 +142061,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -167936,7 +142070,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -167956,15 +142090,12 @@ private void Initialize() } /// - /// partially update the specified RoleBinding + /// partially update the specified ClusterRoleBinding /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -168009,7 +142140,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRoleBinding1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -168019,10 +142150,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -168035,16 +142162,14 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -168137,7 +142262,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -168146,7 +142271,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -168166,15 +142291,12 @@ private void Initialize() } /// - /// replace the specified RoleBinding + /// replace the specified ClusterRoleBinding /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -168212,7 +142334,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(V1alpha1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -168226,10 +142348,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -168241,16 +142359,14 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -168339,7 +142455,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -168348,7 +142464,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -168366,7 +142482,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -168386,11 +142502,8 @@ private void Initialize() } /// - /// delete collection of Role + /// delete collection of ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -168399,8 +142512,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -168515,21 +142626,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionClusterRole2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -168550,15 +142651,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -168716,11 +142815,8 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -168729,8 +142825,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -168815,21 +142909,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRole1WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterRole2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -168845,15 +142929,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -168960,7 +143042,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -168969,7 +143051,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -168989,13 +143071,10 @@ private void Initialize() } /// - /// create a Role + /// create a ClusterRole /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -169032,16 +143111,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -169052,15 +143127,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -169149,7 +143222,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -169158,7 +143231,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -169176,7 +143249,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -169194,7 +143267,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -169214,13 +143287,10 @@ private void Initialize() } /// - /// delete a Role + /// delete a ClusterRole /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// @@ -169276,16 +143346,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterRole2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -169299,16 +143365,14 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -169452,13 +143516,10 @@ private void Initialize() } /// - /// read the specified Role + /// read the specified ClusterRole /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -169484,16 +143545,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRole1WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadClusterRole2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -169502,16 +143559,14 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -169586,7 +143641,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -169595,7 +143650,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -169615,15 +143670,12 @@ private void Initialize() } /// - /// partially update the specified Role + /// partially update the specified ClusterRole /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. An @@ -169668,7 +143720,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRole1WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchClusterRole2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -169678,10 +143730,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -169694,16 +143742,14 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -169796,7 +143842,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -169805,7 +143851,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -169825,15 +143871,12 @@ private void Initialize() } /// - /// replace the specified Role + /// replace the specified ClusterRole /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. An @@ -169871,7 +143914,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRole1WithHttpMessagesAsync(V1alpha1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -169881,10 +143924,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -169896,16 +143935,14 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -169994,541 +144031,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind RoleBinding - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/rolebindings").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Role - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListRoleForAllNamespaces1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces1", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1alpha1/roles").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -170537,7 +144040,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -170549,121 +144052,13 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources34WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources34", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -170683,8 +144078,11 @@ private void Initialize() } /// - /// delete collection of ClusterRoleBinding + /// delete collection of RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -170693,8 +144091,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -170809,11 +144205,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -170834,13 +144240,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -170998,8 +144406,11 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -171008,8 +144419,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -171094,11 +144503,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRoleBinding2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -171114,13 +144533,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -171227,7 +144648,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -171236,7 +144657,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -171256,10 +144677,13 @@ private void Initialize() } /// - /// create a ClusterRoleBinding + /// create a RoleBinding /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -171296,7 +144720,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -171306,6 +144730,10 @@ private void Initialize() { body.Validate(); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -171316,13 +144744,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -171411,7 +144841,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -171420,7 +144850,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -171438,7 +144868,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -171456,7 +144886,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -171476,10 +144906,13 @@ private void Initialize() } /// - /// delete a ClusterRoleBinding + /// delete a RoleBinding /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -171535,12 +144968,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRoleBinding2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -171554,14 +144991,16 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -171705,10 +145144,13 @@ private void Initialize() } /// - /// read the specified ClusterRoleBinding + /// read the specified RoleBinding /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -171734,12 +145176,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRoleBinding2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -171748,14 +145194,16 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -171830,7 +145278,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -171839,7 +145287,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -171859,12 +145307,15 @@ private void Initialize() } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified RoleBinding /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -171909,7 +145360,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -171919,6 +145370,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -171931,14 +145386,16 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -172031,7 +145488,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -172040,7 +145497,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -172060,12 +145517,15 @@ private void Initialize() } /// - /// replace the specified ClusterRoleBinding + /// replace the specified RoleBinding /// /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -172103,7 +145563,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRoleBinding2WithHttpMessagesAsync(V1beta1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -172117,6 +145577,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -172128,14 +145592,16 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -172224,7 +145690,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -172233,7 +145699,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -172251,7 +145717,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -172271,8 +145737,11 @@ private void Initialize() } /// - /// delete collection of ClusterRole + /// delete collection of Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -172281,8 +145750,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -172397,11 +145864,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionClusterRole2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -172422,13 +145899,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -172586,8 +146065,11 @@ private void Initialize() } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -172596,8 +146078,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -172682,11 +146162,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterRole2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -172702,13 +146192,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -172815,7 +146307,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -172824,7 +146316,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -172844,10 +146336,13 @@ private void Initialize() } /// - /// create a ClusterRole + /// create a Role /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -172884,12 +146379,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -172900,13 +146399,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -172995,7 +146496,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -173004,7 +146505,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -173022,7 +146523,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -173040,7 +146541,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -173060,10 +146561,13 @@ private void Initialize() } /// - /// delete a ClusterRole + /// delete a Role /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -173119,12 +146623,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterRole2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -173138,14 +146646,16 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -173289,10 +146799,13 @@ private void Initialize() } /// - /// read the specified ClusterRole + /// read the specified Role /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -173318,12 +146831,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadClusterRole2WithHttpMessagesAsync(string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -173332,14 +146849,16 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (pretty != null) { @@ -173414,7 +146933,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -173423,7 +146942,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -173443,12 +146962,15 @@ private void Initialize() } /// - /// partially update the specified ClusterRole + /// partially update the specified Role /// /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -173493,7 +147015,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchClusterRole2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchNamespacedRole2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -173503,6 +147025,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -173515,14 +147041,16 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -173615,7 +147143,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -173624,7 +147152,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -173644,12 +147172,15 @@ private void Initialize() } /// - /// replace the specified ClusterRole + /// replace the specified Role /// /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -173687,7 +147218,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceClusterRole2WithHttpMessagesAsync(V1beta1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -173697,6 +147228,10 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -173708,14 +147243,16 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceClusterRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -173804,7 +147341,663 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind RoleBinding + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/rolebindings").ToString(); + List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// list or watch objects of kind Role + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListRoleForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/roles").ToString(); + List _queryParameters = new List(); + if (allowWatchBookmarks != null) + { + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); + } + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } + if (fieldSelector != null) + { + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get information of a group + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIGroup19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup19", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -173813,7 +148006,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -173825,13 +148018,121 @@ private void Initialize() throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// get available resources + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources34WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources34", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -173851,11 +148152,8 @@ private void Initialize() } /// - /// delete collection of RoleBinding + /// delete collection of PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -173864,8 +148162,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -173980,21 +148276,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionPriorityClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -174015,15 +148301,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -174181,11 +148465,8 @@ private void Initialize() } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -174194,8 +148475,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -174280,21 +148559,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRoleBinding2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPriorityClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -174310,15 +148579,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -174425,7 +148692,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -174434,7 +148701,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -174454,13 +148721,10 @@ private void Initialize() } /// - /// create a RoleBinding + /// create a PriorityClass /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -174497,7 +148761,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreatePriorityClassWithHttpMessagesAsync(V1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -174507,10 +148771,6 @@ private void Initialize() { body.Validate(); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -174521,15 +148781,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -174618,7 +148876,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -174627,7 +148885,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -174645,7 +148903,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -174663,7 +148921,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -174683,13 +148941,10 @@ private void Initialize() } /// - /// delete a RoleBinding + /// delete a PriorityClass /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// @@ -174745,16 +149000,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePriorityClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -174768,16 +149019,14 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -174921,13 +149170,18 @@ private void Initialize() } /// - /// read the specified RoleBinding + /// read the specified PriorityClass /// /// - /// name of the RoleBinding + /// name of the PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -174953,16 +149207,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRoleBinding2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadPriorityClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -174970,18 +149220,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -175055,7 +149313,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -175064,7 +149322,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -175084,15 +149342,12 @@ private void Initialize() } /// - /// partially update the specified RoleBinding + /// partially update the specified PriorityClass /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -175137,7 +149392,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRoleBinding2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchPriorityClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -175147,10 +149402,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -175163,16 +149414,14 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -175265,7 +149514,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -175274,7 +149523,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -175294,15 +149543,12 @@ private void Initialize() } /// - /// replace the specified RoleBinding + /// replace the specified PriorityClass /// /// /// /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -175340,7 +149586,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(V1beta1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePriorityClassWithHttpMessagesAsync(V1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -175354,10 +149600,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -175369,16 +149611,14 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRoleBinding2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -175467,7 +149707,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -175476,7 +149716,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -175494,7 +149734,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -175514,11 +149754,134 @@ private void Initialize() } /// - /// delete collection of Role + /// get available resources /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Headers that will be added to request. /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetAPIResources35WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources35", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/").ToString(); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// delete collection of PriorityClass + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -175527,8 +149890,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -175643,21 +150004,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionPriorityClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -175678,15 +150029,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -175844,11 +150193,8 @@ private void Initialize() } /// - /// list or watch objects of kind Role + /// list or watch objects of kind PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -175857,8 +150203,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -175943,21 +150287,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedRole2WithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPriorityClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -175973,15 +150307,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -176088,7 +150420,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -176097,7 +150429,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -176117,13 +150449,10 @@ private void Initialize() } /// - /// create a Role + /// create a PriorityClass /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -176160,15 +150489,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreatePriorityClass1WithHttpMessagesAsync(V1alpha1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (namespaceParameter == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + body.Validate(); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -176180,15 +150509,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -176277,7 +150604,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -176286,7 +150613,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -176304,7 +150631,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -176322,7 +150649,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -176342,13 +150669,10 @@ private void Initialize() } /// - /// delete a Role + /// delete a PriorityClass /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// @@ -176404,16 +150728,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePriorityClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -176427,16 +150747,14 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -176580,13 +150898,18 @@ private void Initialize() } /// - /// read the specified Role + /// read the specified PriorityClass /// /// - /// name of the Role + /// name of the PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -176612,16 +150935,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadNamespacedRole2WithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadPriorityClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -176629,18 +150948,26 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -176714,7 +151041,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -176723,7 +151050,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -176743,15 +151070,12 @@ private void Initialize() } /// - /// partially update the specified Role + /// partially update the specified PriorityClass /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -176796,7 +151120,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedRole2WithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchPriorityClass1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -176806,10 +151130,6 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -176822,16 +151142,14 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("force", force); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -176924,7 +151242,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -176933,7 +151251,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -176953,15 +151271,12 @@ private void Initialize() } /// - /// replace the specified Role + /// replace the specified PriorityClass /// /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -176999,19 +151314,19 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedRole2WithHttpMessagesAsync(V1beta1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePriorityClass1WithHttpMessagesAsync(V1alpha1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); + body.Validate(); } - if (namespaceParameter == null) + if (name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + throw new ValidationException(ValidationRules.CannotBeNull, "name"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -177024,16 +151339,14 @@ private void Initialize() tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedRole2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -177122,667 +151435,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind RoleBinding - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleBindingForAllNamespaces2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/rolebindings").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// list or watch objects of kind Role - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListRoleForAllNamespaces2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListRoleForAllNamespaces2", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/rbac.authorization.k8s.io/v1beta1/roles").ToString(); - List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) - { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); - } - if (limit != null) - { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup18", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -177791,7 +151444,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -177828,7 +151499,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources35WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources36WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -177838,11 +151509,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources35", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources36", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -177947,8 +151618,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -178066,7 +151735,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionPriorityClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionPriorityClass2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -178090,11 +151759,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -178262,8 +151931,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -178351,7 +152018,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListPriorityClassWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPriorityClass2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -178370,11 +152037,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -178481,7 +152148,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -178490,7 +152157,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -178550,7 +152217,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreatePriorityClassWithHttpMessagesAsync(V1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreatePriorityClass2WithHttpMessagesAsync(V1beta1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -178572,11 +152239,11 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -178665,7 +152332,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -178674,7 +152341,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -178692,7 +152359,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -178710,7 +152377,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -178789,7 +152456,214 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePriorityClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeletePriorityClass2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass2", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (gracePeriodSeconds != null) + { + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// read the specified PriorityClass + /// + /// + /// name of the PriorityClass + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReadPriorityClass2WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -178802,36 +152676,25 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) + if (exact != null) { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (propagationPolicy != null) + if (export != null) { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -178844,7 +152707,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -178863,12 +152726,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -178889,7 +152746,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -178912,7 +152769,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -178921,25 +152778,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -178959,18 +152798,31 @@ private void Initialize() } /// - /// read the specified PriorityClass + /// partially update the specified PriorityClass /// + /// + /// /// /// name of the PriorityClass /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -178996,8 +152848,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPriorityClassWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchPriorityClass2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -179009,25 +152865,31 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (exact != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (export != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); } if (pretty != null) { @@ -179040,7 +152902,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -179059,6 +152921,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -179102,7 +152970,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -179111,7 +152979,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -179131,7 +152999,7 @@ private void Initialize() } /// - /// partially update the specified PriorityClass + /// replace the specified PriorityClass /// /// /// @@ -179148,14 +153016,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -179181,12 +153042,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchPriorityClassWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePriorityClass2WithHttpMessagesAsync(V1beta1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } + if (body != null) + { + body.Validate(); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -179201,15 +153066,14 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass2", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -179220,10 +153084,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -179235,7 +153095,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -179258,7 +153118,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -179280,7 +153140,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -179303,7 +153163,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -179312,7 +153172,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -179332,28 +153210,8 @@ private void Initialize() } /// - /// replace the specified PriorityClass + /// get information of a group /// - /// - /// - /// - /// name of the PriorityClass - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -179366,29 +153224,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePriorityClassWithHttpMessagesAsync(V1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -179396,39 +153236,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup20", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1/priorityclasses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -179447,12 +153264,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -179473,7 +153284,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -179496,7 +153307,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -179505,25 +153316,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -179560,7 +153353,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources36WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources37WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -179570,11 +153363,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources36", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources37", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -179669,8 +153462,11 @@ private void Initialize() } /// - /// delete collection of PriorityClass + /// delete collection of PodPreset /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -179679,8 +153475,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -179795,11 +153589,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionPriorityClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -179820,13 +153624,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -179984,8 +153790,11 @@ private void Initialize() } /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind PodPreset /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -179994,8 +153803,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -180080,11 +153887,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListPriorityClass1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -180100,13 +153917,15 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -180213,7 +154032,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -180222,7 +154041,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -180242,10 +154061,13 @@ private void Initialize() } /// - /// create a PriorityClass + /// create a PodPreset /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -180282,15 +154104,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreatePriorityClass1WithHttpMessagesAsync(V1alpha1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (body != null) + if (namespaceParameter == null) { - body.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -180302,13 +154124,15 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -180397,7 +154221,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -180406,7 +154230,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -180424,7 +154248,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -180442,7 +154266,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -180462,10 +154286,13 @@ private void Initialize() } /// - /// delete a PriorityClass + /// delete a PodPreset /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -180521,12 +154348,16 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePriorityClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -180540,14 +154371,16 @@ private void Initialize() tracingParameters.Add("orphanDependents", orphanDependents); tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { @@ -180691,10 +154524,13 @@ private void Initialize() } /// - /// read the specified PriorityClass + /// read the specified PodPreset /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -180728,12 +154564,417 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPriorityClass1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodPreset", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (exact != null) + { + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// partially update the specified PodPreset + /// + /// + /// + /// + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> PatchNamespacedPodPresetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); + tracingParameters.Add("pretty", pretty); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodPreset", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } + // Set Credentials + if (Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 401) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + if (_httpResponse.Content != null) { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + } + else { + _responseContent = string.Empty; + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// replace the specified PodPreset + /// + /// + /// + /// + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ReplaceNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } + if (namespaceParameter == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -180741,25 +154982,28 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("name", name); + tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodPreset", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); - if (exact != null) + if (dryRun != null) { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (export != null) + if (fieldManager != null) { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } if (pretty != null) { @@ -180772,7 +155016,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -180791,6 +155035,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -180811,7 +155061,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -180834,7 +155084,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -180843,7 +155093,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -180863,35 +155131,88 @@ private void Initialize() } /// - /// partially update the specified PriorityClass + /// list or watch objects of kind PodPreset /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the PriorityClass + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// Headers that will be added to request. /// @@ -180904,25 +155225,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> PatchPriorityClass1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListPodPresetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -180930,36 +155237,58 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); + tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); + tracingParameters.Add("continueParameter", continueParameter); + tracingParameters.Add("fieldSelector", fieldSelector); + tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("pretty", pretty); + tracingParameters.Add("resourceVersion", resourceVersion); + tracingParameters.Add("timeoutSeconds", timeoutSeconds); + tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListPodPresetForAllNamespaces", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/podpresets").ToString(); List _queryParameters = new List(); - if (dryRun != null) + if (allowWatchBookmarks != null) { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); } - if (fieldManager != null) + if (continueParameter != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); } - if (force != null) + if (fieldSelector != null) { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); + } + if (labelSelector != null) + { + _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } + if (resourceVersion != null) + { + _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); + } + if (timeoutSeconds != null) + { + _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); + } + if (watch != null) + { + _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -180967,7 +155296,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -180986,12 +155315,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -181035,7 +155358,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -181044,7 +155367,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -181064,28 +155387,8 @@ private void Initialize() } /// - /// replace the specified PriorityClass + /// get information of a group /// - /// - /// - /// - /// name of the PriorityClass - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// Headers that will be added to request. /// @@ -181098,29 +155401,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePriorityClass1WithHttpMessagesAsync(V1alpha1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIGroup21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - body.Validate(); - } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -181128,39 +155413,16 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("name", name); - tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass1", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup21", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -181179,12 +155441,6 @@ private void Initialize() // Serialize Request string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Credentials != null) { @@ -181205,7 +155461,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -181228,7 +155484,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -181237,25 +155493,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -181292,7 +155530,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources37WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources38WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -181302,11 +155540,11 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources37", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources38", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/").ToString(); // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; @@ -181401,7 +155639,7 @@ private void Initialize() } /// - /// delete collection of PriorityClass + /// delete collection of CSIDriver /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -181411,8 +155649,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -181530,7 +155766,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionPriorityClass2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionCSIDriverWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -181554,11 +155790,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionPriorityClass2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCSIDriver", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csidrivers").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -181716,7 +155952,7 @@ private void Initialize() } /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind CSIDriver /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -181726,8 +155962,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -181815,7 +156049,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListPriorityClass2WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCSIDriverWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -181834,11 +156068,11 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPriorityClass2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCSIDriver", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csidrivers").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -181945,7 +156179,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -181954,7 +156188,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -181974,7 +156208,7 @@ private void Initialize() } /// - /// create a PriorityClass + /// create a CSIDriver /// /// /// @@ -182014,7 +156248,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreatePriorityClass2WithHttpMessagesAsync(V1beta1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateCSIDriverWithHttpMessagesAsync(V1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -182036,11 +156270,11 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreatePriorityClass2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateCSIDriver", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csidrivers").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -182129,7 +156363,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -182138,7 +156372,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -182156,7 +156390,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -182174,7 +156408,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -182194,10 +156428,10 @@ private void Initialize() } /// - /// delete a PriorityClass + /// delete a CSIDriver /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// @@ -182253,7 +156487,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeletePriorityClass2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCSIDriverWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -182274,11 +156508,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeletePriorityClass2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCSIDriver", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csidrivers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -182376,7 +156610,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -182385,7 +156619,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -182403,7 +156637,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -182423,10 +156657,10 @@ private void Initialize() } /// - /// read the specified PriorityClass + /// read the specified CSIDriver /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -182460,7 +156694,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadPriorityClass2WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCSIDriverWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -182478,11 +156712,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadPriorityClass2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCSIDriver", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csidrivers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (exact != null) @@ -182566,7 +156800,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -182575,7 +156809,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -182595,12 +156829,12 @@ private void Initialize() } /// - /// partially update the specified PriorityClass + /// partially update the specified CSIDriver /// /// /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// When present, indicates that modifications should not be persisted. An @@ -182645,7 +156879,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchPriorityClass2WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchCSIDriverWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -182669,11 +156903,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchPriorityClass2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchCSIDriver", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csidrivers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -182767,7 +157001,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -182776,7 +157010,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -182796,12 +157030,12 @@ private void Initialize() } /// - /// replace the specified PriorityClass + /// replace the specified CSIDriver /// /// /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// When present, indicates that modifications should not be persisted. An @@ -182839,7 +157073,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePriorityClass2WithHttpMessagesAsync(V1beta1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCSIDriverWithHttpMessagesAsync(V1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -182866,11 +157100,11 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplacePriorityClass2", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCSIDriver", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csidrivers/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); if (dryRun != null) @@ -182960,7 +157194,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -182969,7 +157203,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -182987,259 +157221,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get information of a group - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIGroup19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup19", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// get available resources - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetAPIResources38WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources38", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/").ToString(); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -183259,11 +157241,8 @@ private void Initialize() } /// - /// delete collection of PodPreset + /// delete collection of CSINode /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -183272,8 +157251,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -183388,21 +157365,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionCSINodeWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -183423,15 +157390,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCSINode", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csinodes").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -183589,11 +157554,8 @@ private void Initialize() } /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind CSINode /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -183602,8 +157564,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -183688,21 +157648,11 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedPodPresetWithHttpMessagesAsync(string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCSINodeWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -183718,15 +157668,13 @@ private void Initialize() tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCSINode", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csinodes").ToString(); List _queryParameters = new List(); if (allowWatchBookmarks != null) { @@ -183833,651 +157781,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// create a PodPreset - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> CreateNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateNamespacedPodPreset", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets").ToString(); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (fieldManager != null) - { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// delete a PodPreset - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> DeleteNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("body", body); - tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); - tracingParameters.Add("orphanDependents", orphanDependents); - tracingParameters.Add("propagationPolicy", propagationPolicy); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteNamespacedPodPreset", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (dryRun != null) - { - _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); - } - if (gracePeriodSeconds != null) - { - _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); - } - if (orphanDependents != null) - { - _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); - } - if (propagationPolicy != null) - { - _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// read the specified PodPreset - /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ReadNamespacedPodPresetWithHttpMessagesAsync(string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("exact", exact); - tracingParameters.Add("export", export); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); - tracingParameters.Add("pretty", pretty); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadNamespacedPodPreset", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - List _queryParameters = new List(); - if (exact != null) - { - _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); - } - if (export != null) - { - _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); - } - if (pretty != null) - { - _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) - { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - } - else { - _responseContent = string.Empty; - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -184486,7 +157790,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -184506,16 +157810,10 @@ private void Initialize() } /// - /// partially update the specified PodPreset + /// create a CSINode /// /// /// - /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -184526,14 +157824,7 @@ private void Initialize() /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -184559,19 +157850,15 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchNamespacedPodPresetWithHttpMessagesAsync(V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateCSINodeWithHttpMessagesAsync(V1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { throw new ValidationException(ValidationRules.CannotBeNull, "body"); } - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (namespaceParameter == null) + if (body != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); + body.Validate(); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -184583,18 +157870,13 @@ private void Initialize() tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); tracingParameters.Add("fieldManager", fieldManager); - tracingParameters.Add("force", force); - tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateCSINode", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csinodes").ToString(); List _queryParameters = new List(); if (dryRun != null) { @@ -184604,10 +157886,6 @@ private void Initialize() { _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); } - if (force != null) - { - _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); - } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); @@ -184619,7 +157897,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -184642,7 +157920,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -184664,7 +157942,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -184687,7 +157965,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -184696,7 +157974,43 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -184716,15 +158030,12 @@ private void Initialize() } /// - /// replace the specified PodPreset + /// delete a CSINode /// - /// - /// /// - /// name of the PodPreset + /// name of the CSINode /// - /// - /// object name and auth scope, such as for teams and projects + /// /// /// /// When present, indicates that modifications should not be persisted. An @@ -184732,11 +158043,27 @@ private void Initialize() /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -184762,20 +158089,12 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceNamespacedPodPresetWithHttpMessagesAsync(V1alpha1PodPreset body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCSINodeWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); } - if (namespaceParameter == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "namespaceParameter"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -184785,26 +158104,34 @@ private void Initialize() Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("body", body); tracingParameters.Add("dryRun", dryRun); - tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("gracePeriodSeconds", gracePeriodSeconds); + tracingParameters.Add("orphanDependents", orphanDependents); + tracingParameters.Add("propagationPolicy", propagationPolicy); tracingParameters.Add("name", name); - tracingParameters.Add("namespaceParameter", namespaceParameter); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceNamespacedPodPreset", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCSINode", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csinodes/{name}").ToString(); _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); List _queryParameters = new List(); if (dryRun != null) { _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); } - if (fieldManager != null) + if (gracePeriodSeconds != null) { - _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + _queryParameters.Add(string.Format("gracePeriodSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(gracePeriodSeconds, SerializationSettings).Trim('"')))); + } + if (orphanDependents != null) + { + _queryParameters.Add(string.Format("orphanDependents={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(orphanDependents, SerializationSettings).Trim('"')))); + } + if (propagationPolicy != null) + { + _queryParameters.Add(string.Format("propagationPolicy={0}", System.Uri.EscapeDataString(propagationPolicy))); } if (pretty != null) { @@ -184817,7 +158144,7 @@ private void Initialize() // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -184862,7 +158189,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -184885,7 +158212,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -184894,7 +158221,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -184907,12 +158234,12 @@ private void Initialize() } } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 202) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -184932,90 +158259,22 @@ private void Initialize() } /// - /// list or watch objects of kind PodPreset + /// read the specified CSINode /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// name of the CSINode /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// /// /// Headers that will be added to request. /// @@ -185028,11 +158287,21 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> ListPodPresetForAllNamespacesWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCSINodeWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -185040,58 +158309,30 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("allowWatchBookmarks", allowWatchBookmarks); - tracingParameters.Add("continueParameter", continueParameter); - tracingParameters.Add("fieldSelector", fieldSelector); - tracingParameters.Add("labelSelector", labelSelector); - tracingParameters.Add("limit", limit); + tracingParameters.Add("exact", exact); + tracingParameters.Add("export", export); + tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); - tracingParameters.Add("resourceVersion", resourceVersion); - tracingParameters.Add("timeoutSeconds", timeoutSeconds); - tracingParameters.Add("watch", watch); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListPodPresetForAllNamespaces", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCSINode", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/settings.k8s.io/v1alpha1/podpresets").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csinodes/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); List _queryParameters = new List(); - if (allowWatchBookmarks != null) - { - _queryParameters.Add(string.Format("allowWatchBookmarks={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(allowWatchBookmarks, SerializationSettings).Trim('"')))); - } - if (continueParameter != null) - { - _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); - } - if (fieldSelector != null) - { - _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); - } - if (labelSelector != null) + if (exact != null) { - _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); + _queryParameters.Add(string.Format("exact={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(exact, SerializationSettings).Trim('"')))); } - if (limit != null) + if (export != null) { - _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(export, SerializationSettings).Trim('"')))); } if (pretty != null) { _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); } - if (resourceVersion != null) - { - _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); - } - if (timeoutSeconds != null) - { - _queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"')))); - } - if (watch != null) - { - _queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"')))); - } if (_queryParameters.Count > 0) { _url += "?" + string.Join("&", _queryParameters); @@ -185161,7 +158402,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -185170,7 +158411,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -185190,8 +158431,35 @@ private void Initialize() } /// - /// get information of a group + /// partially update the specified CSINode /// + /// + /// + /// + /// name of the CSINode + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -185204,11 +158472,25 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIGroup20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchCSINodeWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -185216,16 +158498,44 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("force", force); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIGroup20", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchCSINode", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csinodes/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (force != null) + { + _queryParameters.Add(string.Format("force={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(force, SerializationSettings).Trim('"')))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -185244,6 +158554,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -185287,7 +158603,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -185296,7 +158612,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -185316,8 +158632,28 @@ private void Initialize() } /// - /// get available resources + /// replace the specified CSINode /// + /// + /// + /// + /// name of the CSINode + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// Headers that will be added to request. /// @@ -185330,11 +158666,29 @@ private void Initialize() /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources39WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCSINodeWithHttpMessagesAsync(V1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -185342,16 +158696,39 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("dryRun", dryRun); + tracingParameters.Add("fieldManager", fieldManager); + tracingParameters.Add("name", name); + tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources39", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCSINode", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/storage.k8s.io/v1/csinodes/{name}").ToString(); + _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); + List _queryParameters = new List(); + if (dryRun != null) + { + _queryParameters.Add(string.Format("dryRun={0}", System.Uri.EscapeDataString(dryRun))); + } + if (fieldManager != null) + { + _queryParameters.Add(string.Format("fieldManager={0}", System.Uri.EscapeDataString(fieldManager))); + } + if (pretty != null) + { + _queryParameters.Add(string.Format("pretty={0}", System.Uri.EscapeDataString(pretty))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers @@ -185370,6 +158747,12 @@ private void Initialize() // Serialize Request string _requestContent = null; + if(body != null) + { + _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Credentials != null) { @@ -185390,7 +158773,7 @@ private void Initialize() HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 401) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 401) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); if (_httpResponse.Content != null) { @@ -185413,7 +158796,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -185422,7 +158805,25 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -185452,8 +158853,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -185767,8 +159166,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -186294,7 +159691,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteStorageClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteStorageClassWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -186417,7 +159814,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -186426,7 +159823,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -186444,7 +159841,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -187058,8 +160455,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -187373,8 +160768,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -187900,7 +161293,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteVolumeAttachmentWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteVolumeAttachmentWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -188023,7 +161416,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -188032,7 +161425,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -188050,7 +161443,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -189237,7 +162630,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources40WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources39WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -189247,7 +162640,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources40", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources39", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -189356,8 +162749,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -189671,8 +163062,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -190198,7 +163587,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteVolumeAttachment1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteVolumeAttachment1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -190321,7 +163710,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -190330,7 +163719,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -190348,7 +163737,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -190969,7 +164358,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources41WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources40WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -190979,7 +164368,7 @@ private void Initialize() _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources41", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources40", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -191088,8 +164477,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -191207,7 +164594,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionCSIDriverWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionCSIDriver1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -191231,7 +164618,7 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCSIDriver", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCSIDriver1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -191403,8 +164790,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -191492,7 +164877,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListCSIDriverWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCSIDriver1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -191511,7 +164896,7 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCSIDriver", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCSIDriver1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -191691,7 +165076,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateCSIDriverWithHttpMessagesAsync(V1beta1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateCSIDriver1WithHttpMessagesAsync(V1beta1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -191713,7 +165098,7 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateCSIDriver", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateCSIDriver1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -191930,7 +165315,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCSIDriverWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCSIDriver1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -191951,7 +165336,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCSIDriver", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCSIDriver1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -192053,7 +165438,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -192062,7 +165447,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -192080,7 +165465,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -192137,7 +165522,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadCSIDriverWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCSIDriver1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -192155,7 +165540,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadCSIDriver", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCSIDriver1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -192322,7 +165707,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchCSIDriverWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchCSIDriver1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -192346,7 +165731,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchCSIDriver", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchCSIDriver1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -192516,7 +165901,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceCSIDriverWithHttpMessagesAsync(V1beta1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCSIDriver1WithHttpMessagesAsync(V1beta1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -192543,7 +165928,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCSIDriver", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCSIDriver1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -192694,8 +166079,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -192813,7 +166196,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionCSINodeWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCollectionCSINode1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -192837,7 +166220,7 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCSINode", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionCSINode1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -193009,8 +166392,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -193098,7 +166479,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListCSINodeWithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListCSINode1WithHttpMessagesAsync(bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -193117,7 +166498,7 @@ private void Initialize() tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCSINode", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCSINode1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -193297,7 +166678,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> CreateCSINodeWithHttpMessagesAsync(V1beta1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateCSINode1WithHttpMessagesAsync(V1beta1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -193319,7 +166700,7 @@ private void Initialize() tracingParameters.Add("fieldManager", fieldManager); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateCSINode", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateCSINode1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -193536,7 +166917,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCSINodeWithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteCSINode1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -193557,7 +166938,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCSINode", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCSINode1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -193659,7 +167040,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -193668,7 +167049,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -193686,7 +167067,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -193743,7 +167124,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReadCSINodeWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReadCSINode1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -193761,7 +167142,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadCSINode", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadCSINode1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -193928,7 +167309,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> PatchCSINodeWithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> PatchCSINode1WithHttpMessagesAsync(V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -193952,7 +167333,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchCSINode", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchCSINode1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -194122,7 +167503,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceCSINodeWithHttpMessagesAsync(V1beta1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceCSINode1WithHttpMessagesAsync(V1beta1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -194149,7 +167530,7 @@ private void Initialize() tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceCSINode", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceCSINode1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -194300,8 +167681,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -194615,8 +167994,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -195142,7 +168519,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteStorageClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteStorageClass1WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -195265,7 +168642,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -195274,7 +168651,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -195292,7 +168669,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -195906,8 +169283,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -196221,8 +169596,6 @@ private void Initialize() /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -196748,7 +170121,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteVolumeAttachment2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteVolumeAttachment2WithHttpMessagesAsync(string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (name == null) { @@ -196871,7 +170244,7 @@ private void Initialize() throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -196880,7 +170253,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -196898,7 +170271,7 @@ private void Initialize() _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -198058,6 +171431,27 @@ private void Initialize() /// The custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. @@ -198066,6 +171460,29 @@ private void Initialize() /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -198106,7 +171523,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (group == null) { @@ -198131,8 +171548,10 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); @@ -198152,6 +171571,10 @@ private void Initialize() _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (fieldSelector != null) { _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); @@ -198160,6 +171583,10 @@ private void Initialize() { _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -198473,6 +171900,27 @@ private void Initialize() /// The custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. @@ -198481,6 +171929,29 @@ private void Initialize() /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -198521,7 +171992,7 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (group == null) { @@ -198542,8 +172013,10 @@ private void Initialize() { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("continueParameter", continueParameter); tracingParameters.Add("fieldSelector", fieldSelector); tracingParameters.Add("labelSelector", labelSelector); + tracingParameters.Add("limit", limit); tracingParameters.Add("resourceVersion", resourceVersion); tracingParameters.Add("timeoutSeconds", timeoutSeconds); tracingParameters.Add("watch", watch); @@ -198561,6 +172034,10 @@ private void Initialize() _url = _url.Replace("{version}", System.Uri.EscapeDataString(version)); _url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural)); List _queryParameters = new List(); + if (continueParameter != null) + { + _queryParameters.Add(string.Format("continue={0}", System.Uri.EscapeDataString(continueParameter))); + } if (fieldSelector != null) { _queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector))); @@ -198569,6 +172046,10 @@ private void Initialize() { _queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector))); } + if (limit != null) + { + _queryParameters.Add(string.Format("limit={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(limit, SerializationSettings).Trim('"')))); + } if (resourceVersion != null) { _queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion))); @@ -198991,7 +172472,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -199544,7 +173025,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -199620,8 +173101,6 @@ private void Initialize() /// /// Deletes the specified namespace scoped custom object /// - /// - /// /// /// the custom resource's group /// @@ -199638,6 +173117,8 @@ private void Initialize() /// /// the custom object's name /// + /// + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -199678,12 +173159,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string name, V1DeleteOptions body = default(V1DeleteOptions), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (group == null) { throw new ValidationException(ValidationRules.CannotBeNull, "group"); @@ -200352,7 +173829,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -200912,7 +174389,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -201447,7 +174924,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) @@ -201523,8 +175000,6 @@ private void Initialize() /// /// Deletes the specified cluster scoped custom object /// - /// - /// /// /// the custom resource's group /// @@ -201538,6 +175013,8 @@ private void Initialize() /// /// the custom object's name /// + /// + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -201578,12 +175055,8 @@ private void Initialize() /// /// A response object containing the response body and response headers. /// - public async Task> DeleteClusterCustomObjectWithHttpMessagesAsync(V1DeleteOptions body, string group, string version, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string name, V1DeleteOptions body = default(V1DeleteOptions), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } if (group == null) { throw new ValidationException(ValidationRules.CannotBeNull, "group"); @@ -202237,7 +175710,7 @@ private void Initialize() { _requestContent = SafeJsonConvert.SerializeObject(body, SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/merge-patch+json"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Credentials != null) diff --git a/src/KubernetesClient/generated/KubernetesExtensions.cs b/src/KubernetesClient/generated/KubernetesExtensions.cs index 949df4366..2ba114817 100644 --- a/src/KubernetesClient/generated/KubernetesExtensions.cs +++ b/src/KubernetesClient/generated/KubernetesExtensions.cs @@ -86,8 +86,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -179,8 +177,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -318,8 +314,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -411,8 +405,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -510,8 +502,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -603,8 +593,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -702,8 +690,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -795,8 +781,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -894,8 +878,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -987,8 +969,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -1086,8 +1066,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -1179,8 +1157,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -1411,8 +1387,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -1537,8 +1511,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -1669,8 +1641,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -1765,8 +1735,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -2265,8 +2233,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -2391,8 +2357,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -2523,8 +2487,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -2619,8 +2581,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -3119,8 +3079,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -3245,8 +3203,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -3377,8 +3333,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -3473,8 +3427,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -3973,8 +3925,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -4099,8 +4049,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -4231,8 +4179,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -4327,8 +4273,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -4827,8 +4771,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -4953,8 +4895,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -5085,8 +5025,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -5181,8 +5119,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -5379,7 +5315,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPersistentVolumeClaim(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1PersistentVolumeClaim DeleteNamespacedPersistentVolumeClaim(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteNamespacedPersistentVolumeClaimAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -5432,7 +5368,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedPersistentVolumeClaimAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPersistentVolumeClaimAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteNamespacedPersistentVolumeClaimWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -5889,8 +5825,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -6015,8 +5949,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -6147,8 +6079,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -6243,8 +6173,6 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -6441,7 +6369,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPod(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Pod DeleteNamespacedPod(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteNamespacedPodAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -6494,7 +6422,7 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedPodAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPodAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteNamespacedPodWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -7233,6 +7161,17 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// Follow the log stream of the pod. Defaults to false. /// + /// + /// insecureSkipTLSVerifyBackend indicates that the apiserver should not + /// confirm the validity of the serving certificate of the backend it is + /// connecting to. This will make the HTTPS connection between the apiserver + /// and the backend insecure. This means the apiserver cannot verify the log + /// data it is receiving came from the real kubelet. If the kubelet is + /// configured to verify the apiserver's TLS credentials, it does not mean the + /// connection to the real kubelet is vulnerable to a man in the middle attack + /// (e.g. an attacker could not intercept the actual log data coming from the + /// real kubelet). + /// /// /// If set, the number of bytes to read from the server before terminating the /// log output. This may not display a complete final line of logging, and may @@ -7259,9 +7198,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every /// line of log output. Defaults to false. /// - public static Stream ReadNamespacedPodLog(this IKubernetes operations, string name, string namespaceParameter, string container = default(string), bool? follow = default(bool?), int? limitBytes = default(int?), string pretty = default(string), bool? previous = default(bool?), int? sinceSeconds = default(int?), int? tailLines = default(int?), bool? timestamps = default(bool?)) + public static Stream ReadNamespacedPodLog(this IKubernetes operations, string name, string namespaceParameter, string container = default(string), bool? follow = default(bool?), bool? insecureSkipTLSVerifyBackend = default(bool?), int? limitBytes = default(int?), string pretty = default(string), bool? previous = default(bool?), int? sinceSeconds = default(int?), int? tailLines = default(int?), bool? timestamps = default(bool?)) { - return operations.ReadNamespacedPodLogAsync(name, namespaceParameter, container, follow, limitBytes, pretty, previous, sinceSeconds, tailLines, timestamps).GetAwaiter().GetResult(); + return operations.ReadNamespacedPodLogAsync(name, namespaceParameter, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, tailLines, timestamps).GetAwaiter().GetResult(); } /// @@ -7283,6 +7222,17 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// Follow the log stream of the pod. Defaults to false. /// + /// + /// insecureSkipTLSVerifyBackend indicates that the apiserver should not + /// confirm the validity of the serving certificate of the backend it is + /// connecting to. This will make the HTTPS connection between the apiserver + /// and the backend insecure. This means the apiserver cannot verify the log + /// data it is receiving came from the real kubelet. If the kubelet is + /// configured to verify the apiserver's TLS credentials, it does not mean the + /// connection to the real kubelet is vulnerable to a man in the middle attack + /// (e.g. an attacker could not intercept the actual log data coming from the + /// real kubelet). + /// /// /// If set, the number of bytes to read from the server before terminating the /// log output. This may not display a complete final line of logging, and may @@ -7312,9 +7262,9 @@ public static V1APIResourceList GetAPIResources(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedPodLogAsync(this IKubernetes operations, string name, string namespaceParameter, string container = default(string), bool? follow = default(bool?), int? limitBytes = default(int?), string pretty = default(string), bool? previous = default(bool?), int? sinceSeconds = default(int?), int? tailLines = default(int?), bool? timestamps = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedPodLogAsync(this IKubernetes operations, string name, string namespaceParameter, string container = default(string), bool? follow = default(bool?), bool? insecureSkipTLSVerifyBackend = default(bool?), int? limitBytes = default(int?), string pretty = default(string), bool? previous = default(bool?), int? sinceSeconds = default(int?), int? tailLines = default(int?), bool? timestamps = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - var _result = await operations.ReadNamespacedPodLogWithHttpMessagesAsync(name, namespaceParameter, container, follow, limitBytes, pretty, previous, sinceSeconds, tailLines, timestamps, null, cancellationToken).ConfigureAwait(false); + var _result = await operations.ReadNamespacedPodLogWithHttpMessagesAsync(name, namespaceParameter, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, tailLines, timestamps, null, cancellationToken).ConfigureAwait(false); _result.Request.Dispose(); return _result.Body; } @@ -8224,8 +8174,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -8350,8 +8298,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -8482,8 +8428,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -8578,8 +8522,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -8776,7 +8718,7 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPodTemplate(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1PodTemplate DeleteNamespacedPodTemplate(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteNamespacedPodTemplateAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -8829,7 +8771,7 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// /// The cancellation token. /// - public static async Task DeleteNamespacedPodTemplateAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPodTemplateAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteNamespacedPodTemplateWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -9078,8 +9020,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -9204,8 +9144,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -9336,8 +9274,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -9432,8 +9368,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -10348,8 +10282,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -10474,8 +10406,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -10606,8 +10536,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -10702,8 +10630,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -10900,7 +10826,7 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedResourceQuota(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1ResourceQuota DeleteNamespacedResourceQuota(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteNamespacedResourceQuotaAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -10953,7 +10879,7 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// /// The cancellation token. /// - public static async Task DeleteNamespacedResourceQuotaAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedResourceQuotaAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteNamespacedResourceQuotaWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -11410,8 +11336,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -11536,8 +11460,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -11668,8 +11590,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -11764,8 +11684,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -12264,8 +12182,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -12390,8 +12306,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -12522,8 +12436,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -12618,8 +12530,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -12816,7 +12726,7 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedServiceAccount(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1ServiceAccount DeleteNamespacedServiceAccount(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteNamespacedServiceAccountAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -12869,7 +12779,7 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// /// The cancellation token. /// - public static async Task DeleteNamespacedServiceAccountAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedServiceAccountAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteNamespacedServiceAccountWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -13192,8 +13102,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -13288,8 +13196,6 @@ public static string ConnectPutNamespacedPodProxyWithPath(this IKubernetes opera /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -15241,8 +15147,6 @@ public static string ConnectPutNamespacedServiceProxyWithPath(this IKubernetes o /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -15364,8 +15268,6 @@ public static string ConnectPutNamespacedServiceProxyWithPath(this IKubernetes o /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -15493,8 +15395,6 @@ public static string ConnectPutNamespacedServiceProxyWithPath(this IKubernetes o /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -15586,8 +15486,6 @@ public static string ConnectPutNamespacedServiceProxyWithPath(this IKubernetes o /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -16759,8 +16657,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -16852,8 +16748,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -16951,8 +16845,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -17074,8 +16966,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -17203,8 +17093,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -17296,8 +17184,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -17485,7 +17371,7 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePersistentVolume(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1PersistentVolume DeletePersistentVolume(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeletePersistentVolumeAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -17535,7 +17421,7 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// /// The cancellation token. /// - public static async Task DeletePersistentVolumeAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePersistentVolumeAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeletePersistentVolumeWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -17953,8 +17839,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18046,8 +17930,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18145,8 +18027,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18238,8 +18118,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18337,8 +18215,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18430,8 +18306,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18529,8 +18403,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18622,8 +18494,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18721,8 +18591,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18814,8 +18682,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -18913,8 +18779,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -19006,8 +18870,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -19105,8 +18967,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -19198,8 +19058,6 @@ public static string ConnectPutNodeProxyWithPath(this IKubernetes operations, st /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -19381,8 +19239,6 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -19504,8 +19360,6 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -19633,8 +19487,6 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -19726,8 +19578,6 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -20193,8 +20043,6 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -20316,8 +20164,6 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -20445,8 +20291,6 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -20538,8 +20382,6 @@ public static V1APIResourceList GetAPIResources1(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -21033,8 +20875,6 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -21156,8 +20996,6 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -21285,8 +21123,6 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -21378,8 +21214,6 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -21845,8 +21679,6 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -21968,8 +21800,6 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -22097,8 +21927,6 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -22190,8 +22018,6 @@ public static V1APIResourceList GetAPIResources2(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -22713,8 +22539,6 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -22836,8 +22660,6 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -22965,8 +22787,6 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -23058,8 +22878,6 @@ public static V1APIResourceList GetAPIResources3(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -23743,8 +23561,6 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -23866,8 +23682,6 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -23995,8 +23809,6 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -24088,8 +23900,6 @@ public static V1APIResourceList GetAPIResources4(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -24801,8 +24611,6 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -24924,8 +24732,6 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -25053,8 +24859,6 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -25146,8 +24950,6 @@ public static V1APIResourceList GetAPIResources5(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -25831,8 +25633,6 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -25954,8 +25754,6 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -26083,8 +25881,6 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -26176,8 +25972,6 @@ public static V1APIResourceList GetAPIResources6(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -26889,8 +26683,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -26982,8 +26774,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -27081,8 +26871,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -27174,8 +26962,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -27273,8 +27059,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -27366,8 +27150,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -27468,8 +27250,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -27594,8 +27374,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -27726,8 +27504,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -27822,8 +27598,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -28322,8 +28096,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -28448,8 +28220,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -28580,8 +28350,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -28676,8 +28444,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -29384,8 +29150,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -29510,8 +29274,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -29642,8 +29404,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -29738,8 +29498,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -30654,134 +30412,130 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. + /// + /// + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedReplicaSet(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedReplicaSetAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionNamespacedReplicaSet(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.DeleteCollectionNamespacedReplicaSetAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of ReplicaSet + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// /// /// @@ -30912,8 +30666,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -31008,8 +30760,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -31924,8 +31674,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -32050,8 +31798,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -32182,8 +31928,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -32278,8 +32022,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -33191,8 +32933,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -33284,8 +33024,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -33383,8 +33121,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -33476,8 +33212,6 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -33562,18 +33296,18 @@ public static V1APIResourceList GetAPIResources7(this IKubernetes operations) } /// - /// get available resources + /// get information of a group /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources8(this IKubernetes operations) + public static V1APIGroup GetAPIGroup4(this IKubernetes operations) { - return operations.GetAPIResources8Async().GetAwaiter().GetResult(); + return operations.GetAPIGroup4Async().GetAwaiter().GetResult(); } /// - /// get available resources + /// get information of a group /// /// /// The operations group for this extension method. @@ -33581,109 +33315,44 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources8Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup4Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources8WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup4WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ControllerRevision + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + public static V1APIResourceList GetAPIResources8(this IKubernetes operations) + { + return operations.GetAPIResources8Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// The cancellation token. /// - public static V1beta1ControllerRevisionList ListControllerRevisionForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static async Task GetAPIResources8Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListControllerRevisionForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + using (var _result = await operations.GetAPIResources8WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind ControllerRevision + /// delete collection of AuditSink /// /// /// The operations group for this extension method. @@ -33696,8 +33365,8 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -33720,318 +33389,22 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListControllerRevisionForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListControllerRevisionForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static Appsv1beta1DeploymentList ListDeploymentForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListDeploymentForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListDeploymentForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListDeploymentForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. + /// + /// + /// 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. /// /// /// A selector to restrict the list of returned objects by their labels. @@ -34094,20 +33467,17 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedControllerRevision1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionAuditSink(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedControllerRevision1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionAuditSinkAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ControllerRevision + /// delete collection of AuditSink /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -34116,8 +33486,6 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -34223,23 +33591,20 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedControllerRevision1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionAuditSinkAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedControllerRevision1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionAuditSinkWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ControllerRevision + /// list or watch objects of kind AuditSink /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -34248,8 +33613,6 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -34322,20 +33685,17 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ControllerRevisionList ListNamespacedControllerRevision1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1AuditSinkList ListAuditSink(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedControllerRevision1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListAuditSinkAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ControllerRevision + /// list or watch objects of kind AuditSink /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -34344,8 +33704,6 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -34421,25 +33779,22 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedControllerRevision1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListAuditSinkAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedControllerRevision1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListAuditSinkWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ControllerRevision + /// create an AuditSink /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -34455,22 +33810,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ControllerRevision CreateNamespacedControllerRevision1(this IKubernetes operations, V1beta1ControllerRevision body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1AuditSink CreateAuditSink(this IKubernetes operations, V1alpha1AuditSink body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedControllerRevision1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateAuditSinkAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a ControllerRevision + /// create an AuditSink /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -34489,25 +33841,22 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedControllerRevision1Async(this IKubernetes operations, V1beta1ControllerRevision body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateAuditSinkAsync(this IKubernetes operations, V1alpha1AuditSink body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedControllerRevision1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateAuditSinkWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ControllerRevision + /// delete an AuditSink /// /// /// The operations group for this extension method. /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// @@ -34542,22 +33891,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedControllerRevision1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteAuditSink(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedControllerRevision1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteAuditSinkAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ControllerRevision + /// delete an AuditSink /// /// /// The operations group for this extension method. /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// @@ -34595,25 +33941,22 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedControllerRevision1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAuditSinkAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedControllerRevision1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteAuditSinkWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ControllerRevision + /// read the specified AuditSink /// /// /// The operations group for this extension method. /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -34626,22 +33969,19 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ControllerRevision ReadNamespacedControllerRevision1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1alpha1AuditSink ReadAuditSink(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedControllerRevision1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadAuditSinkAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ControllerRevision + /// read the specified AuditSink /// /// /// The operations group for this extension method. /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -34657,16 +33997,16 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedControllerRevision1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadAuditSinkAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedControllerRevision1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadAuditSinkWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ControllerRevision + /// partially update the specified AuditSink /// /// /// The operations group for this extension method. @@ -34674,10 +34014,7 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// When present, indicates that modifications should not be persisted. An @@ -34701,13 +34038,13 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ControllerRevision PatchNamespacedControllerRevision1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1alpha1AuditSink PatchAuditSink(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedControllerRevision1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchAuditSinkAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ControllerRevision + /// partially update the specified AuditSink /// /// /// The operations group for this extension method. @@ -34715,10 +34052,7 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// When present, indicates that modifications should not be persisted. An @@ -34745,16 +34079,16 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedControllerRevision1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchAuditSinkAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedControllerRevision1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchAuditSinkWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ControllerRevision + /// replace the specified AuditSink /// /// /// The operations group for this extension method. @@ -34762,10 +34096,7 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// When present, indicates that modifications should not be persisted. An @@ -34782,13 +34113,13 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ControllerRevision ReplaceNamespacedControllerRevision1(this IKubernetes operations, V1beta1ControllerRevision body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1AuditSink ReplaceAuditSink(this IKubernetes operations, V1alpha1AuditSink body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedControllerRevision1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceAuditSinkAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ControllerRevision + /// replace the specified AuditSink /// /// /// The operations group for this extension method. @@ -34796,10 +34127,7 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the AuditSink /// /// /// When present, indicates that modifications should not be persisted. An @@ -34819,56 +34147,77 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedControllerRevision1Async(this IKubernetes operations, V1beta1ControllerRevision body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceAuditSinkAsync(this IKubernetes operations, V1alpha1AuditSink body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedControllerRevision1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceAuditSinkWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Deployment + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects + public static V1APIGroup GetAPIGroup5(this IKubernetes operations) + { + return operations.GetAPIGroup5Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// + /// The cancellation token. /// - /// + public static async Task GetAPIGroup5Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup5WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + public static V1APIResourceList GetAPIResources9(this IKubernetes operations) + { + return operations.GetAPIResources9Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources9Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources9WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a TokenReview + /// + /// + /// The operations group for this extension method. + /// + /// /// /// /// When present, indicates that modifications should not be persisted. An @@ -34876,12918 +34225,39 @@ public static V1APIResourceList GetAPIResources8(this IKubernetes operations) /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedDeployment1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedDeployment1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedDeployment1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedDeployment1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1DeploymentList ListNamespacedDeployment1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedDeployment1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedDeployment1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedDeployment1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Deployment CreateNamespacedDeployment1(this IKubernetes operations, Appsv1beta1Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedDeployment1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedDeployment1Async(this IKubernetes operations, Appsv1beta1Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedDeployment1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedDeployment1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedDeployment1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedDeployment1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedDeployment1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Deployment ReadNamespacedDeployment1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedDeployment1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDeployment1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDeployment1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Deployment PatchNamespacedDeployment1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDeployment1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDeployment1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDeployment1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Deployment ReplaceNamespacedDeployment1(this IKubernetes operations, Appsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDeployment1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDeployment1Async(this IKubernetes operations, Appsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDeployment1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create rollback of a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status CreateNamespacedDeploymentRollback(this IKubernetes operations, Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedDeploymentRollbackAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create rollback of a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedDeploymentRollbackAsync(this IKubernetes operations, Appsv1beta1DeploymentRollback body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedDeploymentRollbackWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Scale ReadNamespacedDeploymentScale1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedDeploymentScale1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDeploymentScale1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDeploymentScale1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Scale PatchNamespacedDeploymentScale1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDeploymentScale1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDeploymentScale1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDeploymentScale1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Scale ReplaceNamespacedDeploymentScale1(this IKubernetes operations, Appsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDeploymentScale1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDeploymentScale1Async(this IKubernetes operations, Appsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDeploymentScale1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Deployment ReadNamespacedDeploymentStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedDeploymentStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDeploymentStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDeploymentStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Deployment PatchNamespacedDeploymentStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDeploymentStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDeploymentStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDeploymentStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Deployment ReplaceNamespacedDeploymentStatus1(this IKubernetes operations, Appsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDeploymentStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDeploymentStatus1Async(this IKubernetes operations, Appsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDeploymentStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedStatefulSet1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedStatefulSet1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedStatefulSet1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedStatefulSet1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSetList ListNamespacedStatefulSet1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedStatefulSet1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedStatefulSet1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedStatefulSet1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSet CreateNamespacedStatefulSet1(this IKubernetes operations, V1beta1StatefulSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedStatefulSet1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedStatefulSet1Async(this IKubernetes operations, V1beta1StatefulSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedStatefulSet1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedStatefulSet1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedStatefulSet1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedStatefulSet1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedStatefulSet1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSet ReadNamespacedStatefulSet1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedStatefulSet1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedStatefulSet1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedStatefulSet1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSet PatchNamespacedStatefulSet1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedStatefulSet1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedStatefulSet1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedStatefulSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSet ReplaceNamespacedStatefulSet1(this IKubernetes operations, V1beta1StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedStatefulSet1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedStatefulSet1Async(this IKubernetes operations, V1beta1StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedStatefulSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Scale ReadNamespacedStatefulSetScale1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedStatefulSetScale1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedStatefulSetScale1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedStatefulSetScale1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Scale PatchNamespacedStatefulSetScale1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedStatefulSetScale1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedStatefulSetScale1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedStatefulSetScale1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Appsv1beta1Scale ReplaceNamespacedStatefulSetScale1(this IKubernetes operations, Appsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedStatefulSetScale1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedStatefulSetScale1Async(this IKubernetes operations, Appsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedStatefulSetScale1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSet ReadNamespacedStatefulSetStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedStatefulSetStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedStatefulSetStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedStatefulSetStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSet PatchNamespacedStatefulSetStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedStatefulSetStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedStatefulSetStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedStatefulSetStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1StatefulSet ReplaceNamespacedStatefulSetStatus1(this IKubernetes operations, V1beta1StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedStatefulSetStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedStatefulSetStatus1Async(this IKubernetes operations, V1beta1StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedStatefulSetStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta1StatefulSetList ListStatefulSetForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListStatefulSetForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListStatefulSetForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListStatefulSetForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources9(this IKubernetes operations) - { - return operations.GetAPIResources9Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources9Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources9WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta2ControllerRevisionList ListControllerRevisionForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListControllerRevisionForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListControllerRevisionForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListControllerRevisionForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta2DaemonSetList ListDaemonSetForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListDaemonSetForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListDaemonSetForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListDaemonSetForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta2DeploymentList ListDeploymentForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListDeploymentForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListDeploymentForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListDeploymentForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedControllerRevision2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedControllerRevision2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedControllerRevision2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedControllerRevision2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ControllerRevisionList ListNamespacedControllerRevision2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedControllerRevision2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedControllerRevision2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedControllerRevision2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ControllerRevision CreateNamespacedControllerRevision2(this IKubernetes operations, V1beta2ControllerRevision body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedControllerRevision2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedControllerRevision2Async(this IKubernetes operations, V1beta2ControllerRevision body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedControllerRevision2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedControllerRevision2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedControllerRevision2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedControllerRevision2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedControllerRevision2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ControllerRevision ReadNamespacedControllerRevision2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedControllerRevision2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedControllerRevision2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedControllerRevision2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ControllerRevision PatchNamespacedControllerRevision2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedControllerRevision2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedControllerRevision2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedControllerRevision2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ControllerRevision ReplaceNamespacedControllerRevision2(this IKubernetes operations, V1beta2ControllerRevision body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedControllerRevision2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified ControllerRevision - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ControllerRevision - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedControllerRevision2Async(this IKubernetes operations, V1beta2ControllerRevision body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedControllerRevision2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedDaemonSet1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedDaemonSet1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedDaemonSet1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedDaemonSet1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DaemonSetList ListNamespacedDaemonSet1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedDaemonSet1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedDaemonSet1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedDaemonSet1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DaemonSet CreateNamespacedDaemonSet1(this IKubernetes operations, V1beta2DaemonSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedDaemonSet1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedDaemonSet1Async(this IKubernetes operations, V1beta2DaemonSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedDaemonSet1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedDaemonSet1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedDaemonSet1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedDaemonSet1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedDaemonSet1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DaemonSet ReadNamespacedDaemonSet1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedDaemonSet1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDaemonSet1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDaemonSet1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DaemonSet PatchNamespacedDaemonSet1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDaemonSet1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDaemonSet1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDaemonSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DaemonSet ReplaceNamespacedDaemonSet1(this IKubernetes operations, V1beta2DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDaemonSet1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDaemonSet1Async(this IKubernetes operations, V1beta2DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDaemonSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DaemonSet ReadNamespacedDaemonSetStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedDaemonSetStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDaemonSetStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDaemonSetStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update status of the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DaemonSet PatchNamespacedDaemonSetStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDaemonSetStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update status of the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDaemonSetStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDaemonSetStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace status of the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DaemonSet ReplaceNamespacedDaemonSetStatus1(this IKubernetes operations, V1beta2DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDaemonSetStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDaemonSetStatus1Async(this IKubernetes operations, V1beta2DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDaemonSetStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedDeployment2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedDeployment2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedDeployment2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedDeployment2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2DeploymentList ListNamespacedDeployment2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedDeployment2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedDeployment2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedDeployment2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Deployment CreateNamespacedDeployment2(this IKubernetes operations, V1beta2Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedDeployment2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedDeployment2Async(this IKubernetes operations, V1beta2Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedDeployment2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedDeployment2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedDeployment2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedDeployment2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedDeployment2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Deployment ReadNamespacedDeployment2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedDeployment2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDeployment2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDeployment2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Deployment PatchNamespacedDeployment2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDeployment2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDeployment2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDeployment2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Deployment ReplaceNamespacedDeployment2(this IKubernetes operations, V1beta2Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDeployment2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDeployment2Async(this IKubernetes operations, V1beta2Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDeployment2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale ReadNamespacedDeploymentScale2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedDeploymentScale2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDeploymentScale2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDeploymentScale2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale PatchNamespacedDeploymentScale2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDeploymentScale2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDeploymentScale2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDeploymentScale2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale ReplaceNamespacedDeploymentScale2(this IKubernetes operations, V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDeploymentScale2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDeploymentScale2Async(this IKubernetes operations, V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDeploymentScale2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Deployment ReadNamespacedDeploymentStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedDeploymentStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDeploymentStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDeploymentStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Deployment PatchNamespacedDeploymentStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDeploymentStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDeploymentStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDeploymentStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Deployment ReplaceNamespacedDeploymentStatus2(this IKubernetes operations, V1beta2Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDeploymentStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDeploymentStatus2Async(this IKubernetes operations, V1beta2Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDeploymentStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedReplicaSet1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedReplicaSet1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedReplicaSet1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedReplicaSet1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ReplicaSetList ListNamespacedReplicaSet1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedReplicaSet1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedReplicaSet1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedReplicaSet1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ReplicaSet CreateNamespacedReplicaSet1(this IKubernetes operations, V1beta2ReplicaSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedReplicaSet1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedReplicaSet1Async(this IKubernetes operations, V1beta2ReplicaSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedReplicaSet1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedReplicaSet1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedReplicaSet1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedReplicaSet1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedReplicaSet1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ReplicaSet ReadNamespacedReplicaSet1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedReplicaSet1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedReplicaSet1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedReplicaSet1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ReplicaSet PatchNamespacedReplicaSet1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedReplicaSet1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedReplicaSet1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedReplicaSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ReplicaSet ReplaceNamespacedReplicaSet1(this IKubernetes operations, V1beta2ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedReplicaSet1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedReplicaSet1Async(this IKubernetes operations, V1beta2ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedReplicaSet1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read scale of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale ReadNamespacedReplicaSetScale1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedReplicaSetScale1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read scale of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedReplicaSetScale1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedReplicaSetScale1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update scale of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale PatchNamespacedReplicaSetScale1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedReplicaSetScale1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update scale of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedReplicaSetScale1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedReplicaSetScale1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace scale of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale ReplaceNamespacedReplicaSetScale1(this IKubernetes operations, V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedReplicaSetScale1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace scale of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedReplicaSetScale1Async(this IKubernetes operations, V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedReplicaSetScale1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ReplicaSet ReadNamespacedReplicaSetStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedReplicaSetStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedReplicaSetStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedReplicaSetStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ReplicaSet PatchNamespacedReplicaSetStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedReplicaSetStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedReplicaSetStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedReplicaSetStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2ReplicaSet ReplaceNamespacedReplicaSetStatus1(this IKubernetes operations, V1beta2ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedReplicaSetStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedReplicaSetStatus1Async(this IKubernetes operations, V1beta2ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedReplicaSetStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedStatefulSet2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedStatefulSet2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedStatefulSet2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedStatefulSet2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2StatefulSetList ListNamespacedStatefulSet2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedStatefulSet2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedStatefulSet2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedStatefulSet2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2StatefulSet CreateNamespacedStatefulSet2(this IKubernetes operations, V1beta2StatefulSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedStatefulSet2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedStatefulSet2Async(this IKubernetes operations, V1beta2StatefulSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedStatefulSet2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedStatefulSet2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedStatefulSet2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedStatefulSet2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedStatefulSet2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2StatefulSet ReadNamespacedStatefulSet2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedStatefulSet2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedStatefulSet2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedStatefulSet2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2StatefulSet PatchNamespacedStatefulSet2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedStatefulSet2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedStatefulSet2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedStatefulSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2StatefulSet ReplaceNamespacedStatefulSet2(this IKubernetes operations, V1beta2StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedStatefulSet2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedStatefulSet2Async(this IKubernetes operations, V1beta2StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedStatefulSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale ReadNamespacedStatefulSetScale2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedStatefulSetScale2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedStatefulSetScale2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedStatefulSetScale2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale PatchNamespacedStatefulSetScale2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedStatefulSetScale2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedStatefulSetScale2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedStatefulSetScale2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2Scale ReplaceNamespacedStatefulSetScale2(this IKubernetes operations, V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedStatefulSetScale2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace scale of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedStatefulSetScale2Async(this IKubernetes operations, V1beta2Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedStatefulSetScale2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2StatefulSet ReadNamespacedStatefulSetStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedStatefulSetStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedStatefulSetStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedStatefulSetStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2StatefulSet PatchNamespacedStatefulSetStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedStatefulSetStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedStatefulSetStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedStatefulSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta2StatefulSet ReplaceNamespacedStatefulSetStatus2(this IKubernetes operations, V1beta2StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedStatefulSetStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the StatefulSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedStatefulSetStatus2Async(this IKubernetes operations, V1beta2StatefulSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedStatefulSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta2ReplicaSetList ListReplicaSetForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListReplicaSetForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListReplicaSetForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListReplicaSetForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta2StatefulSetList ListStatefulSetForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListStatefulSetForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind StatefulSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListStatefulSetForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListStatefulSetForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup4(this IKubernetes operations) - { - return operations.GetAPIGroup4Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup4Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup4WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources10(this IKubernetes operations) - { - return operations.GetAPIResources10Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources10Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources10WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionAuditSink(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionAuditSinkAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionAuditSinkAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionAuditSinkWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1AuditSinkList ListAuditSink(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListAuditSinkAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListAuditSinkAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListAuditSinkWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create an AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1AuditSink CreateAuditSink(this IKubernetes operations, V1alpha1AuditSink body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateAuditSinkAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create an AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateAuditSinkAsync(this IKubernetes operations, V1alpha1AuditSink body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateAuditSinkWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete an AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the AuditSink - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteAuditSink(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteAuditSinkAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete an AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the AuditSink - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteAuditSinkAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteAuditSinkWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the AuditSink - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1AuditSink ReadAuditSink(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadAuditSinkAsync(name, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the AuditSink - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadAuditSinkAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadAuditSinkWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the AuditSink - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1AuditSink PatchAuditSink(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchAuditSinkAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the AuditSink - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchAuditSinkAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchAuditSinkWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the AuditSink - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1AuditSink ReplaceAuditSink(this IKubernetes operations, V1alpha1AuditSink body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceAuditSinkAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified AuditSink - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the AuditSink - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceAuditSinkAsync(this IKubernetes operations, V1alpha1AuditSink body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceAuditSinkWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup5(this IKubernetes operations) - { - return operations.GetAPIGroup5Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup5Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup5WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources11(this IKubernetes operations) - { - return operations.GetAPIResources11Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources11Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources11WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a TokenReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1TokenReview CreateTokenReview(this IKubernetes operations, V1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateTokenReviewAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a TokenReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateTokenReviewAsync(this IKubernetes operations, V1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateTokenReviewWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources12(this IKubernetes operations) - { - return operations.GetAPIResources12Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources12Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources12WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a TokenReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1TokenReview CreateTokenReview1(this IKubernetes operations, V1beta1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateTokenReview1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a TokenReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateTokenReview1Async(this IKubernetes operations, V1beta1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateTokenReview1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup6(this IKubernetes operations) - { - return operations.GetAPIGroup6Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup6Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup6WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources13(this IKubernetes operations) - { - return operations.GetAPIResources13Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources13Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources13WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a LocalSubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1LocalSubjectAccessReview CreateNamespacedLocalSubjectAccessReview(this IKubernetes operations, V1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedLocalSubjectAccessReviewAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a LocalSubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedLocalSubjectAccessReviewAsync(this IKubernetes operations, V1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedLocalSubjectAccessReviewWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a SelfSubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1SelfSubjectAccessReview CreateSelfSubjectAccessReview(this IKubernetes operations, V1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateSelfSubjectAccessReviewAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a SelfSubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateSelfSubjectAccessReviewAsync(this IKubernetes operations, V1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateSelfSubjectAccessReviewWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a SelfSubjectRulesReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1SelfSubjectRulesReview CreateSelfSubjectRulesReview(this IKubernetes operations, V1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateSelfSubjectRulesReviewAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a SelfSubjectRulesReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateSelfSubjectRulesReviewAsync(this IKubernetes operations, V1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateSelfSubjectRulesReviewWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a SubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1SubjectAccessReview CreateSubjectAccessReview(this IKubernetes operations, V1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateSubjectAccessReviewAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a SubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateSubjectAccessReviewAsync(this IKubernetes operations, V1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateSubjectAccessReviewWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources14(this IKubernetes operations) - { - return operations.GetAPIResources14Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources14Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources14WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a LocalSubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1LocalSubjectAccessReview CreateNamespacedLocalSubjectAccessReview1(this IKubernetes operations, V1beta1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedLocalSubjectAccessReview1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a LocalSubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedLocalSubjectAccessReview1Async(this IKubernetes operations, V1beta1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedLocalSubjectAccessReview1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a SelfSubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1SelfSubjectAccessReview CreateSelfSubjectAccessReview1(this IKubernetes operations, V1beta1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateSelfSubjectAccessReview1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a SelfSubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateSelfSubjectAccessReview1Async(this IKubernetes operations, V1beta1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateSelfSubjectAccessReview1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a SelfSubjectRulesReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1SelfSubjectRulesReview CreateSelfSubjectRulesReview1(this IKubernetes operations, V1beta1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateSelfSubjectRulesReview1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a SelfSubjectRulesReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateSelfSubjectRulesReview1Async(this IKubernetes operations, V1beta1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateSelfSubjectRulesReview1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a SubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1SubjectAccessReview CreateSubjectAccessReview1(this IKubernetes operations, V1beta1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateSubjectAccessReview1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a SubjectAccessReview - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateSubjectAccessReview1Async(this IKubernetes operations, V1beta1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateSubjectAccessReview1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup7(this IKubernetes operations) - { - return operations.GetAPIGroup7Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup7Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup7WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources15(this IKubernetes operations) - { - return operations.GetAPIResources15Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources15Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources15WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1HorizontalPodAutoscalerList ListHorizontalPodAutoscalerForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListHorizontalPodAutoscalerForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListHorizontalPodAutoscalerForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListHorizontalPodAutoscalerForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.DeleteCollectionNamespacedHorizontalPodAutoscalerAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete collection of HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1HorizontalPodAutoscalerList ListNamespacedHorizontalPodAutoscaler(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) - { - return operations.ListNamespacedHorizontalPodAutoscalerAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1HorizontalPodAutoscaler CreateNamespacedHorizontalPodAutoscaler(this IKubernetes operations, V1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedHorizontalPodAutoscalerAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, V1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedHorizontalPodAutoscaler(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedHorizontalPodAutoscalerAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscaler(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) - { - return operations.ReadNamespacedHorizontalPodAutoscalerAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscaler(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedHorizontalPodAutoscalerAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscaler(this IKubernetes operations, V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedHorizontalPodAutoscalerAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscalerStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedHorizontalPodAutoscalerStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedHorizontalPodAutoscalerStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update status of the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscalerStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedHorizontalPodAutoscalerStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update status of the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedHorizontalPodAutoscalerStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace status of the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscalerStatus(this IKubernetes operations, V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedHorizontalPodAutoscalerStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedHorizontalPodAutoscalerStatusAsync(this IKubernetes operations, V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources16(this IKubernetes operations) - { - return operations.GetAPIResources16Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources16Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources16WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V2beta1HorizontalPodAutoscalerList ListHorizontalPodAutoscalerForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListHorizontalPodAutoscalerForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListHorizontalPodAutoscalerForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListHorizontalPodAutoscalerForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of HorizontalPodAutoscaler - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1TokenReview CreateTokenReview(this IKubernetes operations, V1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedHorizontalPodAutoscaler1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.CreateTokenReviewAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of HorizontalPodAutoscaler + /// create a TokenReview /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// The operations group for this extension method. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -47795,214 +34265,162 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateTokenReviewAsync(this IKubernetes operations, V1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateTokenReviewWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind HorizontalPodAutoscaler + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + public static V1APIResourceList GetAPIResources10(this IKubernetes operations) + { + return operations.GetAPIResources10Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// The cancellation token. /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + public static async Task GetAPIResources10Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources10WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a TokenReview + /// + /// + /// The operations group for this extension method. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - public static V2beta1HorizontalPodAutoscalerList ListNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1TokenReview CreateTokenReview1(this IKubernetes operations, V1beta1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ListNamespacedHorizontalPodAutoscaler1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.CreateTokenReview1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind HorizontalPodAutoscaler + /// create a TokenReview /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects + /// /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// If 'true', then the output is pretty printed. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// The cancellation token. /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + public static async Task CreateTokenReview1Async(this IKubernetes operations, V1beta1TokenReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateTokenReview1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + public static V1APIGroup GetAPIGroup6(this IKubernetes operations) + { + return operations.GetAPIGroup6Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// + /// The cancellation token. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + public static async Task GetAPIGroup6Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup6WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// - /// - /// If 'true', then the output is pretty printed. + public static V1APIResourceList GetAPIResources11(this IKubernetes operations) + { + return operations.GetAPIResources11Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// /// /// The cancellation token. /// - public static async Task ListNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources11Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources11WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a HorizontalPodAutoscaler + /// create a LocalSubjectAccessReview /// /// /// The operations group for this extension method. @@ -48027,13 +34445,13 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta1HorizontalPodAutoscaler CreateNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1LocalSubjectAccessReview CreateNamespacedLocalSubjectAccessReview(this IKubernetes operations, V1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedHorizontalPodAutoscaler1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedLocalSubjectAccessReviewAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a HorizontalPodAutoscaler + /// create a LocalSubjectAccessReview /// /// /// The operations group for this extension method. @@ -48061,26 +34479,20 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedLocalSubjectAccessReviewAsync(this IKubernetes operations, V1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedLocalSubjectAccessReviewWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a HorizontalPodAutoscaler + /// create a SelfSubjectAccessReview /// /// /// The operations group for this extension method. /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// /// @@ -48089,48 +34501,26 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1SelfSubjectAccessReview CreateSelfSubjectAccessReview(this IKubernetes operations, V1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedHorizontalPodAutoscaler1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.CreateSelfSubjectAccessReviewAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// delete a HorizontalPodAutoscaler + /// create a SelfSubjectAccessReview /// /// /// The operations group for this extension method. /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// /// @@ -48139,27 +34529,11 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -48167,61 +34541,61 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateSelfSubjectAccessReviewAsync(this IKubernetes operations, V1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateSelfSubjectAccessReviewWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified HorizontalPodAutoscaler + /// create a SelfSubjectRulesReview /// /// /// The operations group for this extension method. /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects + /// /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - public static V2beta1HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1SelfSubjectRulesReview CreateSelfSubjectRulesReview(this IKubernetes operations, V1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReadNamespacedHorizontalPodAutoscaler1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.CreateSelfSubjectRulesReviewAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// read the specified HorizontalPodAutoscaler + /// create a SelfSubjectRulesReview /// /// /// The operations group for this extension method. /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects + /// /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -48229,28 +34603,22 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateSelfSubjectRulesReviewAsync(this IKubernetes operations, V1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateSelfSubjectRulesReviewWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified HorizontalPodAutoscaler + /// create a SubjectAccessReview /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -48261,37 +34629,24 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - public static V2beta1HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1SubjectAccessReview CreateSubjectAccessReview(this IKubernetes operations, V1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.PatchNamespacedHorizontalPodAutoscaler1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.CreateSubjectAccessReviewAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified HorizontalPodAutoscaler + /// create a SubjectAccessReview /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -48302,14 +34657,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -48317,24 +34665,49 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateSubjectAccessReviewAsync(this IKubernetes operations, V1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateSubjectAccessReviewWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified HorizontalPodAutoscaler + /// get available resources /// /// /// The operations group for this extension method. /// - /// + public static V1APIResourceList GetAPIResources12(this IKubernetes operations) + { + return operations.GetAPIResources12Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// - /// - /// name of the HorizontalPodAutoscaler + /// + /// The cancellation token. + /// + public static async Task GetAPIResources12Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources12WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a LocalSubjectAccessReview + /// + /// + /// The operations group for this extension method. + /// + /// /// /// /// object name and auth scope, such as for teams and projects @@ -48354,22 +34727,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta1HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1LocalSubjectAccessReview CreateNamespacedLocalSubjectAccessReview1(this IKubernetes operations, V1beta1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedHorizontalPodAutoscaler1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedLocalSubjectAccessReview1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified HorizontalPodAutoscaler + /// create a LocalSubjectAccessReview /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the HorizontalPodAutoscaler - /// /// /// object name and auth scope, such as for teams and projects /// @@ -48391,45 +34761,61 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedLocalSubjectAccessReview1Async(this IKubernetes operations, V1beta1LocalSubjectAccessReview body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedLocalSubjectAccessReview1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified HorizontalPodAutoscaler + /// create a SelfSubjectAccessReview /// /// /// The operations group for this extension method. /// - /// - /// name of the HorizontalPodAutoscaler + /// /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - public static V2beta1HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscalerStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1SelfSubjectAccessReview CreateSelfSubjectAccessReview1(this IKubernetes operations, V1beta1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReadNamespacedHorizontalPodAutoscalerStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.CreateSelfSubjectAccessReview1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified HorizontalPodAutoscaler + /// create a SelfSubjectAccessReview /// /// /// The operations group for this extension method. /// - /// - /// name of the HorizontalPodAutoscaler + /// /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -48437,28 +34823,22 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedHorizontalPodAutoscalerStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateSelfSubjectAccessReview1Async(this IKubernetes operations, V1beta1SelfSubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateSelfSubjectAccessReview1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified HorizontalPodAutoscaler + /// create a SelfSubjectRulesReview /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -48469,37 +34849,24 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - public static V2beta1HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscalerStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1SelfSubjectRulesReview CreateSelfSubjectRulesReview1(this IKubernetes operations, V1beta1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.PatchNamespacedHorizontalPodAutoscalerStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.CreateSelfSubjectRulesReview1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified HorizontalPodAutoscaler + /// create a SelfSubjectRulesReview /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -48510,14 +34877,7 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. @@ -48525,28 +34885,22 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedHorizontalPodAutoscalerStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateSelfSubjectRulesReview1Async(this IKubernetes operations, V1beta1SelfSubjectRulesReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateSelfSubjectRulesReview1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified HorizontalPodAutoscaler + /// create a SubjectAccessReview /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -48562,25 +34916,19 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta1HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscalerStatus1(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1SubjectAccessReview CreateSubjectAccessReview1(this IKubernetes operations, V1beta1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedHorizontalPodAutoscalerStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateSubjectAccessReview1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified HorizontalPodAutoscaler + /// create a SubjectAccessReview /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the HorizontalPodAutoscaler - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -48599,9 +34947,37 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedHorizontalPodAutoscalerStatus1Async(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateSubjectAccessReview1Async(this IKubernetes operations, V1beta1SubjectAccessReview body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateSubjectAccessReview1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup7(this IKubernetes operations) + { + return operations.GetAPIGroup7Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup7Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup7WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -48613,9 +34989,9 @@ public static V1APIResourceList GetAPIResources16(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources17(this IKubernetes operations) + public static V1APIResourceList GetAPIResources13(this IKubernetes operations) { - return operations.GetAPIResources17Async().GetAwaiter().GetResult(); + return operations.GetAPIResources13Async().GetAwaiter().GetResult(); } /// @@ -48627,9 +35003,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources17Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources13Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources17WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources13WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -48649,8 +35025,6 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -48723,9 +35097,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V2beta2HorizontalPodAutoscalerList ListHorizontalPodAutoscalerForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1HorizontalPodAutoscalerList ListHorizontalPodAutoscalerForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListHorizontalPodAutoscalerForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListHorizontalPodAutoscalerForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// @@ -48742,8 +35116,6 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -48819,9 +35191,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListHorizontalPodAutoscalerForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListHorizontalPodAutoscalerForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListHorizontalPodAutoscalerForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -48844,8 +35216,6 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -48948,9 +35318,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedHorizontalPodAutoscaler2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedHorizontalPodAutoscalerAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -48970,8 +35340,6 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -49077,9 +35445,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49102,8 +35470,6 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -49176,9 +35542,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta2HorizontalPodAutoscalerList ListNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1HorizontalPodAutoscalerList ListNamespacedHorizontalPodAutoscaler(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedHorizontalPodAutoscaler2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedHorizontalPodAutoscalerAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -49198,8 +35564,6 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -49275,9 +35639,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49309,9 +35673,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta2HorizontalPodAutoscaler CreateNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1HorizontalPodAutoscaler CreateNamespacedHorizontalPodAutoscaler(this IKubernetes operations, V1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedHorizontalPodAutoscaler2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedHorizontalPodAutoscalerAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -49343,9 +35707,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, V1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49396,9 +35760,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedHorizontalPodAutoscaler(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedHorizontalPodAutoscaler2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedHorizontalPodAutoscalerAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -49449,9 +35813,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49480,9 +35844,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta2HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscaler(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedHorizontalPodAutoscaler2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedHorizontalPodAutoscalerAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// @@ -49511,9 +35875,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49555,9 +35919,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta2HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscaler(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedHorizontalPodAutoscaler2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedHorizontalPodAutoscalerAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// @@ -49599,9 +35963,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49636,9 +36000,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta2HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscaler(this IKubernetes operations, V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedHorizontalPodAutoscaler2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedHorizontalPodAutoscalerAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -49673,9 +36037,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedHorizontalPodAutoscalerAsync(this IKubernetes operations, V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49696,9 +36060,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta2HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscalerStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedHorizontalPodAutoscalerStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedHorizontalPodAutoscalerStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// @@ -49719,9 +36083,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedHorizontalPodAutoscalerStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49763,9 +36127,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta2HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscalerStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedHorizontalPodAutoscalerStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedHorizontalPodAutoscalerStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// @@ -49807,9 +36171,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedHorizontalPodAutoscalerStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49844,9 +36208,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2beta2HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscalerStatus(this IKubernetes operations, V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedHorizontalPodAutoscalerStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedHorizontalPodAutoscalerStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -49881,37 +36245,9 @@ public static V1APIResourceList GetAPIResources17(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup8(this IKubernetes operations) - { - return operations.GetAPIGroup8Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup8Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedHorizontalPodAutoscalerStatusAsync(this IKubernetes operations, V1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup8WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -49923,9 +36259,9 @@ public static V1APIGroup GetAPIGroup8(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources18(this IKubernetes operations) + public static V1APIResourceList GetAPIResources14(this IKubernetes operations) { - return operations.GetAPIResources18Async().GetAwaiter().GetResult(); + return operations.GetAPIResources14Async().GetAwaiter().GetResult(); } /// @@ -49937,16 +36273,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources18Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources14Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources18WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources14WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -49959,8 +36295,6 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -50033,13 +36367,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1JobList ListJobForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V2beta1HorizontalPodAutoscalerList ListHorizontalPodAutoscalerForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListJobForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListHorizontalPodAutoscalerForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50052,8 +36386,6 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -50129,16 +36461,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListJobForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListHorizontalPodAutoscalerForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListJobForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListHorizontalPodAutoscalerForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Job + /// delete collection of HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50154,8 +36486,6 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -50258,13 +36588,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedJob(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedJobAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedHorizontalPodAutoscaler1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Job + /// delete collection of HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50280,8 +36610,6 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -50387,16 +36715,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedJobAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedJobWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50412,8 +36740,6 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -50486,13 +36812,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1JobList ListNamespacedJob(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V2beta1HorizontalPodAutoscalerList ListNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedJobAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedHorizontalPodAutoscaler1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Job + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50508,8 +36834,6 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -50585,16 +36909,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedJobAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedJobWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Job + /// create a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50619,13 +36943,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job CreateNamespacedJob(this IKubernetes operations, V1Job body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V2beta1HorizontalPodAutoscaler CreateNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedJobAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedHorizontalPodAutoscaler1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a Job + /// create a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50653,22 +36977,22 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedJobAsync(this IKubernetes operations, V1Job body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedJobWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Job + /// delete a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -50706,19 +37030,19 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedJob(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedJobAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedHorizontalPodAutoscaler1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Job + /// delete a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -50759,22 +37083,22 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedJobAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedJobWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Job + /// read the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -50790,19 +37114,19 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job ReadNamespacedJob(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V2beta1HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedJobAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedHorizontalPodAutoscaler1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Job + /// read the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -50821,16 +37145,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedJobAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedJobWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Job + /// partially update the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50838,7 +37162,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -50865,13 +37189,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job PatchNamespacedJob(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V2beta1HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedJobAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedHorizontalPodAutoscaler1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Job + /// partially update the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50879,7 +37203,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -50909,16 +37233,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedJobAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Job + /// replace the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50926,7 +37250,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -50946,13 +37270,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job ReplaceNamespacedJob(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V2beta1HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscaler1(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedJobAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedHorizontalPodAutoscaler1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Job + /// replace the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -50960,7 +37284,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -50983,22 +37307,22 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedJobAsync(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedHorizontalPodAutoscaler1Async(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscaler1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified Job + /// read status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -51006,19 +37330,19 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job ReadNamespacedJobStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V2beta1HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscalerStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedJobStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedHorizontalPodAutoscalerStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified Job + /// read status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -51029,16 +37353,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedJobStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedHorizontalPodAutoscalerStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedJobStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified Job + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51046,7 +37370,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -51073,13 +37397,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job PatchNamespacedJobStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V2beta1HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscalerStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedJobStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedHorizontalPodAutoscalerStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified Job + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51087,7 +37411,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -51117,16 +37441,16 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedJobStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedHorizontalPodAutoscalerStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified Job + /// replace status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51134,7 +37458,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -51154,13 +37478,13 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Job ReplaceNamespacedJobStatus(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V2beta1HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscalerStatus1(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedJobStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedHorizontalPodAutoscalerStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified Job + /// replace status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51168,7 +37492,7 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// /// - /// name of the Job + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -51191,9 +37515,9 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedJobStatusAsync(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedHorizontalPodAutoscalerStatus1Async(this IKubernetes operations, V2beta1HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -51205,9 +37529,9 @@ public static V1APIResourceList GetAPIResources18(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources19(this IKubernetes operations) + public static V1APIResourceList GetAPIResources15(this IKubernetes operations) { - return operations.GetAPIResources19Async().GetAwaiter().GetResult(); + return operations.GetAPIResources15Async().GetAwaiter().GetResult(); } /// @@ -51219,16 +37543,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources19Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources15Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources19WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources15WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51241,8 +37565,6 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -51315,13 +37637,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1CronJobList ListCronJobForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V2beta2HorizontalPodAutoscalerList ListHorizontalPodAutoscalerForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListCronJobForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListHorizontalPodAutoscalerForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51334,8 +37656,6 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -51411,16 +37731,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListCronJobForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListHorizontalPodAutoscalerForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListCronJobForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListHorizontalPodAutoscalerForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of CronJob + /// delete collection of HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51436,8 +37756,6 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -51540,13 +37858,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedCronJob(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedCronJobAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedHorizontalPodAutoscaler2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of CronJob + /// delete collection of HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51562,8 +37880,6 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -51669,16 +37985,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedCronJobAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51694,8 +38010,6 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -51768,13 +38082,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJobList ListNamespacedCronJob(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscalerList ListNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedCronJobAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedHorizontalPodAutoscaler2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51790,8 +38104,6 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -51867,16 +38179,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedCronJobAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedCronJobWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a CronJob + /// create a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51901,13 +38213,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob CreateNamespacedCronJob(this IKubernetes operations, V1beta1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler CreateNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedCronJobAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedHorizontalPodAutoscaler2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a CronJob + /// create a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -51935,22 +38247,22 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedCronJobAsync(this IKubernetes operations, V1beta1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedCronJobWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a CronJob + /// delete a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -51988,19 +38300,19 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedCronJob(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedCronJobAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedHorizontalPodAutoscaler2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a CronJob + /// delete a HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52041,22 +38353,22 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedCronJobAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedCronJobWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified CronJob + /// read the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52072,19 +38384,19 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob ReadNamespacedCronJob(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedCronJobAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedHorizontalPodAutoscaler2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified CronJob + /// read the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52103,16 +38415,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedCronJobAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedCronJobWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified CronJob + /// partially update the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -52120,7 +38432,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52147,13 +38459,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob PatchNamespacedCronJob(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedCronJobAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedHorizontalPodAutoscaler2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified CronJob + /// partially update the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -52161,7 +38473,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52191,16 +38503,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedCronJobAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified CronJob + /// replace the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -52208,7 +38520,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52228,13 +38540,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob ReplaceNamespacedCronJob(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscaler2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedCronJobAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedHorizontalPodAutoscaler2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified CronJob + /// replace the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -52242,7 +38554,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52265,22 +38577,22 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedCronJobAsync(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedHorizontalPodAutoscaler2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscaler2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified CronJob + /// read status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52288,19 +38600,19 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob ReadNamespacedCronJobStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler ReadNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedCronJobStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedHorizontalPodAutoscalerStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified CronJob + /// read status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52311,16 +38623,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedCronJobStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedCronJobStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified CronJob + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -52328,7 +38640,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52355,13 +38667,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob PatchNamespacedCronJobStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler PatchNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedCronJobStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedHorizontalPodAutoscalerStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified CronJob + /// partially update status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -52369,7 +38681,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52399,16 +38711,16 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedCronJobStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedCronJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified CronJob + /// replace status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -52416,7 +38728,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52436,13 +38748,13 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CronJob ReplaceNamespacedCronJobStatus(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V2beta2HorizontalPodAutoscaler ReplaceNamespacedHorizontalPodAutoscalerStatus2(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedCronJobStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedHorizontalPodAutoscalerStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified CronJob + /// replace status of the specified HorizontalPodAutoscaler /// /// /// The operations group for this extension method. @@ -52450,7 +38762,7 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the HorizontalPodAutoscaler /// /// /// object name and auth scope, such as for teams and projects @@ -52473,9 +38785,37 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedCronJobStatusAsync(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedHorizontalPodAutoscalerStatus2Async(this IKubernetes operations, V2beta2HorizontalPodAutoscaler body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedHorizontalPodAutoscalerStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup8(this IKubernetes operations) + { + return operations.GetAPIGroup8Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup8Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup8WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -52487,9 +38827,9 @@ public static V1APIResourceList GetAPIResources19(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources20(this IKubernetes operations) + public static V1APIResourceList GetAPIResources16(this IKubernetes operations) { - return operations.GetAPIResources20Async().GetAwaiter().GetResult(); + return operations.GetAPIResources16Async().GetAwaiter().GetResult(); } /// @@ -52501,16 +38841,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources20Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources16Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources20WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources16WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// The operations group for this extension method. @@ -52523,8 +38863,6 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -52597,13 +38935,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V2alpha1CronJobList ListCronJobForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1JobList ListJobForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListCronJobForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListJobForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// The operations group for this extension method. @@ -52616,8 +38954,6 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -52693,16 +39029,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListCronJobForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListJobForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListCronJobForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListJobForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of CronJob + /// delete collection of Job /// /// /// The operations group for this extension method. @@ -52718,8 +39054,6 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -52822,13 +39156,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedCronJob1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedJob(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedCronJob1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedJobAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of CronJob + /// delete collection of Job /// /// /// The operations group for this extension method. @@ -52844,8 +39178,6 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -52870,140 +39202,23 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// 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. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedCronJob1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind CronJob - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -53031,6 +39246,21 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -53050,13 +39280,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJobList ListNamespacedCronJob1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionNamespacedJobAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListNamespacedCronJob1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.DeleteCollectionNamespacedJobWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind CronJob + /// list or watch objects of kind Job /// /// /// The operations group for this extension method. @@ -53072,8 +39308,100 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". /// - /// This field is beta. + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1JobList ListNamespacedJob(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListNamespacedJobAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind Job + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// /// /// The continue option should be set when retrieving more results from the @@ -53149,16 +39477,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedCronJob1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedJobAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedCronJob1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedJobWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a CronJob + /// create a Job /// /// /// The operations group for this extension method. @@ -53183,13 +39511,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob CreateNamespacedCronJob1(this IKubernetes operations, V2alpha1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1Job CreateNamespacedJob(this IKubernetes operations, V1Job body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedCronJob1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedJobAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a CronJob + /// create a Job /// /// /// The operations group for this extension method. @@ -53217,22 +39545,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedCronJob1Async(this IKubernetes operations, V2alpha1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedJobAsync(this IKubernetes operations, V1Job body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedCronJob1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedJobWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a CronJob + /// delete a Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53270,19 +39598,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedCronJob1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedJob(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedCronJob1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedJobAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a CronJob + /// delete a Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53323,22 +39651,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedCronJob1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedJobAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedCronJob1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedJobWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified CronJob + /// read the specified Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53354,19 +39682,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob ReadNamespacedCronJob1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1Job ReadNamespacedJob(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedCronJob1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedJobAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified CronJob + /// read the specified Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53385,16 +39713,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedCronJob1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedJobAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedCronJob1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedJobWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified CronJob + /// partially update the specified Job /// /// /// The operations group for this extension method. @@ -53402,7 +39730,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53429,13 +39757,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob PatchNamespacedCronJob1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1Job PatchNamespacedJob(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedCronJob1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedJobAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified CronJob + /// partially update the specified Job /// /// /// The operations group for this extension method. @@ -53443,7 +39771,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53473,16 +39801,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedCronJob1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedJobAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified CronJob + /// replace the specified Job /// /// /// The operations group for this extension method. @@ -53490,7 +39818,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53510,13 +39838,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob ReplaceNamespacedCronJob1(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1Job ReplaceNamespacedJob(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedCronJob1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedJobAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified CronJob + /// replace the specified Job /// /// /// The operations group for this extension method. @@ -53524,7 +39852,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53547,22 +39875,22 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedCronJob1Async(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedJobAsync(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified CronJob + /// read status of the specified Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53570,19 +39898,19 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob ReadNamespacedCronJobStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1Job ReadNamespacedJobStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadNamespacedCronJobStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedJobStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified CronJob + /// read status of the specified Job /// /// /// The operations group for this extension method. /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53593,16 +39921,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedCronJobStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedJobStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedCronJobStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedJobStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified CronJob + /// partially update status of the specified Job /// /// /// The operations group for this extension method. @@ -53610,7 +39938,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53637,13 +39965,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob PatchNamespacedCronJobStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1Job PatchNamespacedJobStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedCronJobStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedJobStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified CronJob + /// partially update status of the specified Job /// /// /// The operations group for this extension method. @@ -53651,7 +39979,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53681,16 +40009,16 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedCronJobStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedJobStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedCronJobStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified CronJob + /// replace status of the specified Job /// /// /// The operations group for this extension method. @@ -53698,7 +40026,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53718,13 +40046,13 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V2alpha1CronJob ReplaceNamespacedCronJobStatus1(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1Job ReplaceNamespacedJobStatus(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedCronJobStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedJobStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified CronJob + /// replace status of the specified Job /// /// /// The operations group for this extension method. @@ -53732,7 +40060,7 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// /// - /// name of the CronJob + /// name of the Job /// /// /// object name and auth scope, such as for teams and projects @@ -53755,27 +40083,27 @@ public static V1APIResourceList GetAPIResources20(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedCronJobStatus1Async(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedJobStatusAsync(this IKubernetes operations, V1Job body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get information of a group + /// get available resources /// /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup9(this IKubernetes operations) + public static V1APIResourceList GetAPIResources17(this IKubernetes operations) { - return operations.GetAPIGroup9Async().GetAwaiter().GetResult(); + return operations.GetAPIResources17Async().GetAwaiter().GetResult(); } /// - /// get information of a group + /// get available resources /// /// /// The operations group for this extension method. @@ -53783,48 +40111,211 @@ public static V1APIGroup GetAPIGroup9(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIGroup9Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources17Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup9WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources17WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources21(this IKubernetes operations) + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1beta1CronJobList ListCronJobForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.GetAPIResources21Async().GetAwaiter().GetResult(); + return operations.ListCronJobForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// get available resources + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// The cancellation token. /// - public static async Task GetAPIResources21Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCronJobForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources21WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCronJobForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of CertificateSigningRequest + /// delete collection of CronJob /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -53833,8 +40324,6 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -53937,17 +40426,20 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionCertificateSigningRequest(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedCronJob(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionCertificateSigningRequestAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedCronJobAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of CertificateSigningRequest + /// delete collection of CronJob /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -53956,8 +40448,6 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -54063,20 +40553,23 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionCertificateSigningRequestAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedCronJobAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedCronJobWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind CertificateSigningRequest + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -54085,8 +40578,6 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -54159,17 +40650,20 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequestList ListCertificateSigningRequest(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1CronJobList ListNamespacedCronJob(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListCertificateSigningRequestAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedCronJobAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind CertificateSigningRequest + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -54178,8 +40672,6 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -54255,22 +40747,25 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListCertificateSigningRequestAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedCronJobAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListCertificateSigningRequestWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedCronJobWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a CertificateSigningRequest + /// create a CronJob /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -54286,19 +40781,22 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest CreateCertificateSigningRequest(this IKubernetes operations, V1beta1CertificateSigningRequest body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1CronJob CreateNamespacedCronJob(this IKubernetes operations, V1beta1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateCertificateSigningRequestAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedCronJobAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a CertificateSigningRequest + /// create a CronJob /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -54317,22 +40815,25 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateCertificateSigningRequestAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedCronJobAsync(this IKubernetes operations, V1beta1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateCertificateSigningRequestWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedCronJobWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a CertificateSigningRequest + /// delete a CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -54367,19 +40868,22 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCertificateSigningRequest(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedCronJob(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteCertificateSigningRequestAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedCronJobAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a CertificateSigningRequest + /// delete a CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -54417,22 +40921,25 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCertificateSigningRequestAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedCronJobAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCertificateSigningRequestWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedCronJobWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified CertificateSigningRequest + /// read the specified CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -54445,19 +40952,22 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest ReadCertificateSigningRequest(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1CronJob ReadNamespacedCronJob(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadCertificateSigningRequestAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedCronJobAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified CertificateSigningRequest + /// read the specified CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -54473,16 +40983,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadCertificateSigningRequestAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedCronJobAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadCertificateSigningRequestWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedCronJobWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified CertificateSigningRequest + /// partially update the specified CronJob /// /// /// The operations group for this extension method. @@ -54490,7 +41000,10 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -54514,13 +41027,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest PatchCertificateSigningRequest(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1CronJob PatchNamespacedCronJob(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchCertificateSigningRequestAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedCronJobAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified CertificateSigningRequest + /// partially update the specified CronJob /// /// /// The operations group for this extension method. @@ -54528,7 +41041,10 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -54555,16 +41071,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchCertificateSigningRequestAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCronJobAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchCertificateSigningRequestWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified CertificateSigningRequest + /// replace the specified CronJob /// /// /// The operations group for this extension method. @@ -54572,38 +41088,10 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequest(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceCertificateSigningRequestAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified CertificateSigningRequest - /// - /// - /// The operations group for this extension method. - /// - /// + /// name of the CronJob /// - /// - /// name of the CertificateSigningRequest + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -54620,19 +41108,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - /// - /// The cancellation token. - /// - public static async Task ReplaceCertificateSigningRequestAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static V1beta1CronJob ReplaceNamespacedCronJob(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - using (var _result = await operations.ReplaceCertificateSigningRequestWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.ReplaceNamespacedCronJobAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace approval of the specified CertificateSigningRequest + /// replace the specified CronJob /// /// /// The operations group for this extension method. @@ -54640,38 +41122,10 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequestApproval(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceCertificateSigningRequestApprovalAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace approval of the specified CertificateSigningRequest - /// - /// - /// The operations group for this extension method. - /// - /// + /// name of the CronJob /// - /// - /// name of the CertificateSigningRequest + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -54691,39 +41145,45 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceCertificateSigningRequestApprovalAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCronJobAsync(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCronJobWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified CertificateSigningRequest + /// read status of the specified CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest ReadCertificateSigningRequestStatus(this IKubernetes operations, string name, string pretty = default(string)) + public static V1beta1CronJob ReadNamespacedCronJobStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadCertificateSigningRequestStatusAsync(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedCronJobStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read status of the specified CertificateSigningRequest + /// read status of the specified CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -54731,16 +41191,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadCertificateSigningRequestStatusAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedCronJobStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadCertificateSigningRequestStatusWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedCronJobStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified CertificateSigningRequest + /// partially update status of the specified CronJob /// /// /// The operations group for this extension method. @@ -54748,7 +41208,10 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -54772,13 +41235,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest PatchCertificateSigningRequestStatus(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1CronJob PatchNamespacedCronJobStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchCertificateSigningRequestStatusAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedCronJobStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified CertificateSigningRequest + /// partially update status of the specified CronJob /// /// /// The operations group for this extension method. @@ -54786,7 +41249,10 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -54813,16 +41279,16 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchCertificateSigningRequestStatusAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCronJobStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchCertificateSigningRequestStatusWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCronJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified CertificateSigningRequest + /// replace status of the specified CronJob /// /// /// The operations group for this extension method. @@ -54830,7 +41296,10 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -54847,13 +41316,13 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequestStatus(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1CronJob ReplaceNamespacedCronJobStatus(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceCertificateSigningRequestStatusAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedCronJobStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified CertificateSigningRequest + /// replace status of the specified CronJob /// /// /// The operations group for this extension method. @@ -54861,7 +41330,10 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// /// - /// name of the CertificateSigningRequest + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -54881,37 +41353,9 @@ public static V1APIResourceList GetAPIResources21(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceCertificateSigningRequestStatusAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup10(this IKubernetes operations) - { - return operations.GetAPIGroup10Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup10Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCronJobStatusAsync(this IKubernetes operations, V1beta1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup10WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCronJobStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -54923,9 +41367,9 @@ public static V1APIGroup GetAPIGroup10(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources22(this IKubernetes operations) + public static V1APIResourceList GetAPIResources18(this IKubernetes operations) { - return operations.GetAPIResources22Async().GetAwaiter().GetResult(); + return operations.GetAPIResources18Async().GetAwaiter().GetResult(); } /// @@ -54937,16 +41381,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources22Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources18Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources22WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources18WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Lease + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. @@ -54959,8 +41403,6 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -55033,13 +41475,13 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1LeaseList ListLeaseForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V2alpha1CronJobList ListCronJobForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListLeaseForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListCronJobForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Lease + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. @@ -55052,8 +41494,6 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -55129,16 +41569,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListLeaseForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCronJobForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListLeaseForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCronJobForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Lease + /// delete collection of CronJob /// /// /// The operations group for this extension method. @@ -55154,8 +41594,6 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -55258,13 +41696,13 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedLease(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedCronJob1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedLeaseAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedCronJob1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Lease + /// delete collection of CronJob /// /// /// The operations group for this extension method. @@ -55280,8 +41718,6 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -55387,16 +41823,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedLeaseAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedCronJob1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedCronJob1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Lease + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. @@ -55412,8 +41848,6 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -55486,13 +41920,13 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1LeaseList ListNamespacedLease(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V2alpha1CronJobList ListNamespacedCronJob1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedLeaseAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedCronJob1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Lease + /// list or watch objects of kind CronJob /// /// /// The operations group for this extension method. @@ -55508,8 +41942,6 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -55585,16 +42017,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedLeaseAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedCronJob1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedLeaseWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedCronJob1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Lease + /// create a CronJob /// /// /// The operations group for this extension method. @@ -55619,13 +42051,13 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Lease CreateNamespacedLease(this IKubernetes operations, V1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V2alpha1CronJob CreateNamespacedCronJob1(this IKubernetes operations, V2alpha1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedLeaseAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedCronJob1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a Lease + /// create a CronJob /// /// /// The operations group for this extension method. @@ -55653,22 +42085,22 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedLeaseAsync(this IKubernetes operations, V1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedCronJob1Async(this IKubernetes operations, V2alpha1CronJob body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedLeaseWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedCronJob1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Lease + /// delete a CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the Lease + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -55706,19 +42138,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedLease(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedCronJob1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedLeaseAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedCronJob1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Lease + /// delete a CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the Lease + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -55759,22 +42191,22 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedLeaseAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedCronJob1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedLeaseWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedCronJob1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Lease + /// read the specified CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the Lease + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -55790,19 +42222,19 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Lease ReadNamespacedLease(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V2alpha1CronJob ReadNamespacedCronJob1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedLeaseAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedCronJob1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Lease + /// read the specified CronJob /// /// /// The operations group for this extension method. /// /// - /// name of the Lease + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -55821,16 +42253,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedLeaseAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedCronJob1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedLeaseWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedCronJob1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Lease + /// partially update the specified CronJob /// /// /// The operations group for this extension method. @@ -55838,7 +42270,7 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the Lease + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -55865,13 +42297,13 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Lease PatchNamespacedLease(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V2alpha1CronJob PatchNamespacedCronJob1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedLeaseAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedCronJob1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Lease + /// partially update the specified CronJob /// /// /// The operations group for this extension method. @@ -55879,7 +42311,7 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the Lease + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -55909,16 +42341,16 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedLeaseAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedCronJob1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedLeaseWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Lease + /// replace the specified CronJob /// /// /// The operations group for this extension method. @@ -55926,7 +42358,7 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the Lease + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -55946,13 +42378,13 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Lease ReplaceNamespacedLease(this IKubernetes operations, V1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V2alpha1CronJob ReplaceNamespacedCronJob1(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedLeaseAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedCronJob1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Lease + /// replace the specified CronJob /// /// /// The operations group for this extension method. @@ -55960,7 +42392,7 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// /// - /// name of the Lease + /// name of the CronJob /// /// /// object name and auth scope, such as for teams and projects @@ -55983,242 +42415,283 @@ public static V1APIResourceList GetAPIResources22(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedLeaseAsync(this IKubernetes operations, V1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCronJob1Async(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedLeaseWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCronJob1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// read status of the specified CronJob /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources23(this IKubernetes operations) + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V2alpha1CronJob ReadNamespacedCronJobStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.GetAPIResources23Async().GetAwaiter().GetResult(); + return operations.ReadNamespacedCronJobStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// read status of the specified CronJob /// /// /// The operations group for this extension method. /// + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIResources23Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedCronJobStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources23WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedCronJobStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Lease + /// partially update status of the specified CronJob /// /// /// The operations group for this extension method. /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// name of the CronJob /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + public static V2alpha1CronJob PatchNamespacedCronJobStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchNamespacedCronJobStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified CronJob + /// + /// + /// The operations group for this extension method. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// name of the CronJob /// - public static V1beta1LeaseList ListLeaseForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedCronJobStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListLeaseForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + using (var _result = await operations.PatchNamespacedCronJobStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind Lease + /// replace status of the specified CronJob /// /// /// The operations group for this extension method. /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// name of the CronJob /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + public static V2alpha1CronJob ReplaceNamespacedCronJobStatus1(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceNamespacedCronJobStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace status of the specified CronJob + /// + /// + /// The operations group for this extension method. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + /// /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// name of the CronJob + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. /// /// /// The cancellation token. /// - public static async Task ListLeaseForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedCronJobStatus1Async(this IKubernetes operations, V2alpha1CronJob body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListLeaseForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedCronJobStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Lease + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects + public static V1APIGroup GetAPIGroup9(this IKubernetes operations) + { + return operations.GetAPIGroup9Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup9Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup9WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources19(this IKubernetes operations) + { + return operations.GetAPIResources19Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources19Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources19WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of CertificateSigningRequest + /// + /// + /// The operations group for this extension method. /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -56228,8 +42701,6 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -56332,20 +42803,17 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedLease1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionCertificateSigningRequest(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedLease1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionCertificateSigningRequestAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Lease + /// delete collection of CertificateSigningRequest /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -56354,8 +42822,6 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -56461,23 +42927,20 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedLease1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionCertificateSigningRequestAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedLease1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionCertificateSigningRequestWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Lease + /// list or watch objects of kind CertificateSigningRequest /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -56486,8 +42949,6 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -56560,20 +43021,17 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1LeaseList ListNamespacedLease1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1CertificateSigningRequestList ListCertificateSigningRequest(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedLease1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListCertificateSigningRequestAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Lease + /// list or watch objects of kind CertificateSigningRequest /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -56582,8 +43040,6 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -56659,25 +43115,22 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedLease1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCertificateSigningRequestAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedLease1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCertificateSigningRequestWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Lease + /// create a CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -56693,22 +43146,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Lease CreateNamespacedLease1(this IKubernetes operations, V1beta1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1CertificateSigningRequest CreateCertificateSigningRequest(this IKubernetes operations, V1beta1CertificateSigningRequest body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedLease1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateCertificateSigningRequestAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a Lease + /// create a CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -56727,25 +43177,22 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedLease1Async(this IKubernetes operations, V1beta1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateCertificateSigningRequestAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedLease1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateCertificateSigningRequestWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Lease + /// delete a CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// @@ -56780,22 +43227,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedLease1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteCertificateSigningRequest(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedLease1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteCertificateSigningRequestAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Lease + /// delete a CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// @@ -56833,25 +43277,22 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedLease1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCertificateSigningRequestAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedLease1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCertificateSigningRequestWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Lease + /// read the specified CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -56864,22 +43305,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Lease ReadNamespacedLease1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1CertificateSigningRequest ReadCertificateSigningRequest(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedLease1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadCertificateSigningRequestAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Lease + /// read the specified CertificateSigningRequest /// /// /// The operations group for this extension method. /// /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -56895,16 +43333,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedLease1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadCertificateSigningRequestAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedLease1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadCertificateSigningRequestWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Lease + /// partially update the specified CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -56912,10 +43350,7 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. An @@ -56939,13 +43374,13 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Lease PatchNamespacedLease1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1CertificateSigningRequest PatchCertificateSigningRequest(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedLease1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchCertificateSigningRequestAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Lease + /// partially update the specified CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -56953,10 +43388,7 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Lease - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. An @@ -56983,16 +43415,16 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedLease1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchCertificateSigningRequestAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedLease1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchCertificateSigningRequestWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Lease + /// replace the specified CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -57000,10 +43432,38 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Lease + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequest(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceCertificateSigningRequestAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. An @@ -57020,13 +43480,19 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Lease ReplaceNamespacedLease1(this IKubernetes operations, V1beta1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + /// + /// The cancellation token. + /// + public static async Task ReplaceCertificateSigningRequestAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ReplaceNamespacedLease1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.ReplaceCertificateSigningRequestWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// replace the specified Lease + /// replace approval of the specified CertificateSigningRequest /// /// /// The operations group for this extension method. @@ -57034,10 +43500,38 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// /// - /// name of the Lease + /// name of the CertificateSigningRequest /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequestApproval(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceCertificateSigningRequestApprovalAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace approval of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest /// /// /// When present, indicates that modifications should not be persisted. An @@ -57057,9 +43551,199 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedLease1Async(this IKubernetes operations, V1beta1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceCertificateSigningRequestApprovalAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedLease1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceCertificateSigningRequestApprovalWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest ReadCertificateSigningRequestStatus(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadCertificateSigningRequestStatusAsync(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadCertificateSigningRequestStatusAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadCertificateSigningRequestStatusWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest PatchCertificateSigningRequestStatus(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchCertificateSigningRequestStatusAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchCertificateSigningRequestStatusAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchCertificateSigningRequestStatusWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1CertificateSigningRequest ReplaceCertificateSigningRequestStatus(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceCertificateSigningRequestStatusAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace status of the specified CertificateSigningRequest + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the CertificateSigningRequest + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceCertificateSigningRequestStatusAsync(this IKubernetes operations, V1beta1CertificateSigningRequest body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceCertificateSigningRequestStatusWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -57071,9 +43755,9 @@ public static V1APIResourceList GetAPIResources23(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup11(this IKubernetes operations) + public static V1APIGroup GetAPIGroup10(this IKubernetes operations) { - return operations.GetAPIGroup11Async().GetAwaiter().GetResult(); + return operations.GetAPIGroup10Async().GetAwaiter().GetResult(); } /// @@ -57085,9 +43769,9 @@ public static V1APIGroup GetAPIGroup11(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIGroup11Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup10Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup11WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup10WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -57099,9 +43783,9 @@ public static V1APIGroup GetAPIGroup11(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources24(this IKubernetes operations) + public static V1APIResourceList GetAPIResources20(this IKubernetes operations) { - return operations.GetAPIResources24Async().GetAwaiter().GetResult(); + return operations.GetAPIResources20Async().GetAwaiter().GetResult(); } /// @@ -57113,16 +43797,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources24Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources20Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources24WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources20WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind EndpointSlice + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -57135,8 +43819,6 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -57209,13 +43891,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1alpha1EndpointSliceList ListEndpointSliceForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1LeaseList ListLeaseForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListEndpointSliceForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListLeaseForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind EndpointSlice + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -57228,8 +43910,6 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -57305,16 +43985,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListEndpointSliceForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListLeaseForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListEndpointSliceForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListLeaseForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of EndpointSlice + /// delete collection of Lease /// /// /// The operations group for this extension method. @@ -57330,8 +44010,6 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -57434,13 +44112,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedEndpointSlice(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedLease(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedEndpointSliceAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedLeaseAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of EndpointSlice + /// delete collection of Lease /// /// /// The operations group for this extension method. @@ -57456,8 +44134,6 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -57526,123 +44202,21 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionNamespacedEndpointSliceAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteCollectionNamespacedEndpointSliceWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind EndpointSlice - /// - /// - /// The operations group for this extension method. - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -57662,13 +44236,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1EndpointSliceList ListNamespacedEndpointSlice(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionNamespacedLeaseAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListNamespacedEndpointSliceAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.DeleteCollectionNamespacedLeaseWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind EndpointSlice + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -57684,8 +44264,100 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. /// - /// This field is beta. + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1LeaseList ListNamespacedLease(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListNamespacedLeaseAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind Lease + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// /// /// The continue option should be set when retrieving more results from the @@ -57761,16 +44433,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedEndpointSliceAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedLeaseAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedEndpointSliceWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedLeaseWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create an EndpointSlice + /// create a Lease /// /// /// The operations group for this extension method. @@ -57795,13 +44467,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1EndpointSlice CreateNamespacedEndpointSlice(this IKubernetes operations, V1alpha1EndpointSlice body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1Lease CreateNamespacedLease(this IKubernetes operations, V1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedEndpointSliceAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedLeaseAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create an EndpointSlice + /// create a Lease /// /// /// The operations group for this extension method. @@ -57829,22 +44501,22 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedEndpointSliceAsync(this IKubernetes operations, V1alpha1EndpointSlice body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedLeaseAsync(this IKubernetes operations, V1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedEndpointSliceWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedLeaseWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete an EndpointSlice + /// delete a Lease /// /// /// The operations group for this extension method. /// /// - /// name of the EndpointSlice + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -57882,19 +44554,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedEndpointSlice(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedLease(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedEndpointSliceAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedLeaseAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete an EndpointSlice + /// delete a Lease /// /// /// The operations group for this extension method. /// /// - /// name of the EndpointSlice + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -57935,22 +44607,22 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedEndpointSliceAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedLeaseAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedEndpointSliceWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedLeaseWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified EndpointSlice + /// read the specified Lease /// /// /// The operations group for this extension method. /// /// - /// name of the EndpointSlice + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -57966,19 +44638,19 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1EndpointSlice ReadNamespacedEndpointSlice(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1Lease ReadNamespacedLease(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedEndpointSliceAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedLeaseAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified EndpointSlice + /// read the specified Lease /// /// /// The operations group for this extension method. /// /// - /// name of the EndpointSlice + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -57997,16 +44669,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedEndpointSliceAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedLeaseAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedEndpointSliceWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedLeaseWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified EndpointSlice + /// partially update the specified Lease /// /// /// The operations group for this extension method. @@ -58014,7 +44686,7 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the EndpointSlice + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -58041,13 +44713,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1EndpointSlice PatchNamespacedEndpointSlice(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1Lease PatchNamespacedLease(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedEndpointSliceAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedLeaseAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified EndpointSlice + /// partially update the specified Lease /// /// /// The operations group for this extension method. @@ -58055,7 +44727,7 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the EndpointSlice + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -58085,16 +44757,16 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedEndpointSliceAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedLeaseAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedEndpointSliceWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedLeaseWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified EndpointSlice + /// replace the specified Lease /// /// /// The operations group for this extension method. @@ -58102,7 +44774,7 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the EndpointSlice + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -58122,13 +44794,13 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1EndpointSlice ReplaceNamespacedEndpointSlice(this IKubernetes operations, V1alpha1EndpointSlice body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1Lease ReplaceNamespacedLease(this IKubernetes operations, V1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedEndpointSliceAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedLeaseAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified EndpointSlice + /// replace the specified Lease /// /// /// The operations group for this extension method. @@ -58136,7 +44808,7 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// /// - /// name of the EndpointSlice + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -58159,37 +44831,9 @@ public static V1APIResourceList GetAPIResources24(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedEndpointSliceAsync(this IKubernetes operations, V1alpha1EndpointSlice body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedEndpointSliceWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup12(this IKubernetes operations) - { - return operations.GetAPIGroup12Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup12Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedLeaseAsync(this IKubernetes operations, V1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup12WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedLeaseWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -58201,9 +44845,9 @@ public static V1APIGroup GetAPIGroup12(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources25(this IKubernetes operations) + public static V1APIResourceList GetAPIResources21(this IKubernetes operations) { - return operations.GetAPIResources25Async().GetAwaiter().GetResult(); + return operations.GetAPIResources21Async().GetAwaiter().GetResult(); } /// @@ -58215,16 +44859,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources25Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources21Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources25WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources21WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Event + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -58237,8 +44881,6 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -58311,13 +44953,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1EventList ListEventForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1beta1LeaseList ListLeaseForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListEventForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListLeaseForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Event + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -58330,8 +44972,6 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -58407,16 +45047,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListEventForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListLeaseForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListEventForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListLeaseForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Event + /// delete collection of Lease /// /// /// The operations group for this extension method. @@ -58432,8 +45072,6 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -58536,13 +45174,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedEvent1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedLease1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedEvent1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedLease1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Event + /// delete collection of Lease /// /// /// The operations group for this extension method. @@ -58558,8 +45196,6 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -58665,16 +45301,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedEvent1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedLease1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedLease1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Event + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -58690,8 +45326,6 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -58764,13 +45398,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1EventList ListNamespacedEvent1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1LeaseList ListNamespacedLease1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedEvent1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedLease1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Event + /// list or watch objects of kind Lease /// /// /// The operations group for this extension method. @@ -58786,8 +45420,6 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -58863,16 +45495,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedEvent1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedLease1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedEvent1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedLease1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create an Event + /// create a Lease /// /// /// The operations group for this extension method. @@ -58897,13 +45529,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Event CreateNamespacedEvent1(this IKubernetes operations, V1beta1Event body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1Lease CreateNamespacedLease1(this IKubernetes operations, V1beta1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedEvent1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedLease1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create an Event + /// create a Lease /// /// /// The operations group for this extension method. @@ -58931,22 +45563,22 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedEvent1Async(this IKubernetes operations, V1beta1Event body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedLease1Async(this IKubernetes operations, V1beta1Lease body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedEvent1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedLease1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete an Event + /// delete a Lease /// /// /// The operations group for this extension method. /// /// - /// name of the Event + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -58984,19 +45616,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedEvent1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedLease1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedEvent1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedLease1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete an Event + /// delete a Lease /// /// /// The operations group for this extension method. /// /// - /// name of the Event + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -59037,22 +45669,22 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedEvent1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedLease1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedEvent1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedLease1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Event + /// read the specified Lease /// /// /// The operations group for this extension method. /// /// - /// name of the Event + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -59068,19 +45700,19 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Event ReadNamespacedEvent1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1Lease ReadNamespacedLease1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedEvent1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedLease1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Event + /// read the specified Lease /// /// /// The operations group for this extension method. /// /// - /// name of the Event + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -59099,16 +45731,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedEvent1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedLease1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedEvent1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedLease1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Event + /// partially update the specified Lease /// /// /// The operations group for this extension method. @@ -59116,7 +45748,7 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Event + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -59143,13 +45775,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Event PatchNamespacedEvent1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1Lease PatchNamespacedLease1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedEvent1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedLease1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Event + /// partially update the specified Lease /// /// /// The operations group for this extension method. @@ -59157,7 +45789,7 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Event + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -59187,16 +45819,16 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedEvent1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedLease1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedLease1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Event + /// replace the specified Lease /// /// /// The operations group for this extension method. @@ -59204,7 +45836,7 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Event + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -59224,13 +45856,13 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Event ReplaceNamespacedEvent1(this IKubernetes operations, V1beta1Event body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1Lease ReplaceNamespacedLease1(this IKubernetes operations, V1beta1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedEvent1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedLease1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Event + /// replace the specified Lease /// /// /// The operations group for this extension method. @@ -59238,7 +45870,7 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// /// - /// name of the Event + /// name of the Lease /// /// /// object name and auth scope, such as for teams and projects @@ -59261,9 +45893,9 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedEvent1Async(this IKubernetes operations, V1beta1Event body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedLease1Async(this IKubernetes operations, V1beta1Lease body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedLease1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -59275,9 +45907,9 @@ public static V1APIResourceList GetAPIResources25(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup13(this IKubernetes operations) + public static V1APIGroup GetAPIGroup11(this IKubernetes operations) { - return operations.GetAPIGroup13Async().GetAwaiter().GetResult(); + return operations.GetAPIGroup11Async().GetAwaiter().GetResult(); } /// @@ -59289,9 +45921,9 @@ public static V1APIGroup GetAPIGroup13(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIGroup13Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup11Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup13WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup11WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -59303,9 +45935,9 @@ public static V1APIGroup GetAPIGroup13(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources26(this IKubernetes operations) + public static V1APIResourceList GetAPIResources22(this IKubernetes operations) { - return operations.GetAPIResources26Async().GetAwaiter().GetResult(); + return operations.GetAPIResources22Async().GetAwaiter().GetResult(); } /// @@ -59317,400 +45949,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources26Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources26WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta1DaemonSetList ListDaemonSetForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListDaemonSetForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind DaemonSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListDaemonSetForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListDaemonSetForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static Extensionsv1beta1DeploymentList ListDeploymentForAllNamespaces3(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListDeploymentForAllNamespaces3Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListDeploymentForAllNamespaces3Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources22Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListDeploymentForAllNamespaces3WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources22WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind EndpointSlice /// /// /// The operations group for this extension method. @@ -59723,8 +45971,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -59797,13 +46043,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static Extensionsv1beta1IngressList ListIngressForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1beta1EndpointSliceList ListEndpointSliceForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListIngressForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListEndpointSliceForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind EndpointSlice /// /// /// The operations group for this extension method. @@ -59816,8 +46062,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -59893,16 +46137,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListIngressForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListEndpointSliceForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListIngressForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListEndpointSliceForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of DaemonSet + /// delete collection of EndpointSlice /// /// /// The operations group for this extension method. @@ -59918,8 +46162,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -60022,13 +46264,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedDaemonSet2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedEndpointSlice(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedDaemonSet2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedEndpointSliceAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of DaemonSet + /// delete collection of EndpointSlice /// /// /// The operations group for this extension method. @@ -60044,8 +46286,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -60151,16 +46391,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedDaemonSet2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedEndpointSliceAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedDaemonSet2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedEndpointSliceWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind DaemonSet + /// list or watch objects of kind EndpointSlice /// /// /// The operations group for this extension method. @@ -60176,8 +46416,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -60250,13 +46488,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSetList ListNamespacedDaemonSet2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1EndpointSliceList ListNamespacedEndpointSlice(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedDaemonSet2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedEndpointSliceAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind DaemonSet + /// list or watch objects of kind EndpointSlice /// /// /// The operations group for this extension method. @@ -60272,8 +46510,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -60349,16 +46585,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedDaemonSet2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedEndpointSliceAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedDaemonSet2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedEndpointSliceWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a DaemonSet + /// create an EndpointSlice /// /// /// The operations group for this extension method. @@ -60383,13 +46619,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet CreateNamespacedDaemonSet2(this IKubernetes operations, V1beta1DaemonSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1EndpointSlice CreateNamespacedEndpointSlice(this IKubernetes operations, V1beta1EndpointSlice body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedDaemonSet2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedEndpointSliceAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a DaemonSet + /// create an EndpointSlice /// /// /// The operations group for this extension method. @@ -60417,22 +46653,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedDaemonSet2Async(this IKubernetes operations, V1beta1DaemonSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedEndpointSliceAsync(this IKubernetes operations, V1beta1EndpointSlice body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedDaemonSet2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedEndpointSliceWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a DaemonSet + /// delete an EndpointSlice /// /// /// The operations group for this extension method. /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -60470,19 +46706,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDaemonSet2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedEndpointSlice(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDaemonSet2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedEndpointSliceAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a DaemonSet + /// delete an EndpointSlice /// /// /// The operations group for this extension method. /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -60523,22 +46759,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDaemonSet2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedEndpointSliceAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDaemonSet2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedEndpointSliceWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified DaemonSet + /// read the specified EndpointSlice /// /// /// The operations group for this extension method. /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -60554,19 +46790,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet ReadNamespacedDaemonSet2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1EndpointSlice ReadNamespacedEndpointSlice(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedDaemonSet2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedEndpointSliceAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified DaemonSet + /// read the specified EndpointSlice /// /// /// The operations group for this extension method. /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -60585,16 +46821,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedDaemonSet2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedEndpointSliceAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDaemonSet2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedEndpointSliceWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified DaemonSet + /// partially update the specified EndpointSlice /// /// /// The operations group for this extension method. @@ -60602,7 +46838,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -60629,13 +46865,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet PatchNamespacedDaemonSet2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1EndpointSlice PatchNamespacedEndpointSlice(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedDaemonSet2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedEndpointSliceAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified DaemonSet + /// partially update the specified EndpointSlice /// /// /// The operations group for this extension method. @@ -60643,7 +46879,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -60673,16 +46909,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedDaemonSet2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedEndpointSliceAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedDaemonSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedEndpointSliceWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified DaemonSet + /// replace the specified EndpointSlice /// /// /// The operations group for this extension method. @@ -60690,7 +46926,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -60710,13 +46946,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet ReplaceNamespacedDaemonSet2(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1EndpointSlice ReplaceNamespacedEndpointSlice(this IKubernetes operations, V1beta1EndpointSlice body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedDaemonSet2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedEndpointSliceAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified DaemonSet + /// replace the specified EndpointSlice /// /// /// The operations group for this extension method. @@ -60724,7 +46960,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the DaemonSet + /// name of the EndpointSlice /// /// /// object name and auth scope, such as for teams and projects @@ -60747,224 +46983,260 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedDaemonSet2Async(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedEndpointSliceAsync(this IKubernetes operations, V1beta1EndpointSlice body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedDaemonSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedEndpointSliceWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified DaemonSet + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1DaemonSet ReadNamespacedDaemonSetStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1APIGroup GetAPIGroup12(this IKubernetes operations) { - return operations.ReadNamespacedDaemonSetStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.GetAPIGroup12Async().GetAwaiter().GetResult(); } /// - /// read status of the specified DaemonSet + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReadNamespacedDaemonSetStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup12Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDaemonSetStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup12WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified DaemonSet + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1DaemonSet PatchNamespacedDaemonSetStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1APIResourceList GetAPIResources23(this IKubernetes operations) { - return operations.PatchNamespacedDaemonSetStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources23Async().GetAwaiter().GetResult(); } /// - /// partially update status of the specified DaemonSet + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the DaemonSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchNamespacedDaemonSetStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources23Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedDaemonSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources23WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified DaemonSet + /// list or watch objects of kind Event /// /// /// The operations group for this extension method. /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the DaemonSet + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1DaemonSet ReplaceNamespacedDaemonSetStatus2(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1beta1EventList ListEventForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ReplaceNamespacedDaemonSetStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ListEventForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// replace status of the specified DaemonSet + /// list or watch objects of kind Event /// /// /// The operations group for this extension method. /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the DaemonSet + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedDaemonSetStatus2Async(this IKubernetes operations, V1beta1DaemonSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListEventForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedDaemonSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListEventForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Deployment + /// delete collection of Event /// /// /// The operations group for this extension method. @@ -60980,8 +47252,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -61084,13 +47354,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedDeployment3(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedEvent1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedDeployment3Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedEvent1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Deployment + /// delete collection of Event /// /// /// The operations group for this extension method. @@ -61106,8 +47376,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -61213,16 +47481,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedDeployment3Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedEvent1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedDeployment3WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedEvent1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Event /// /// /// The operations group for this extension method. @@ -61238,8 +47506,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -61312,13 +47578,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1DeploymentList ListNamespacedDeployment3(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1EventList ListNamespacedEvent1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedDeployment3Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedEvent1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Deployment + /// list or watch objects of kind Event /// /// /// The operations group for this extension method. @@ -61334,8 +47600,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -61411,16 +47675,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedDeployment3Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedEvent1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedDeployment3WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedEvent1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Deployment + /// create an Event /// /// /// The operations group for this extension method. @@ -61445,13 +47709,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Deployment CreateNamespacedDeployment3(this IKubernetes operations, Extensionsv1beta1Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1Event CreateNamespacedEvent1(this IKubernetes operations, V1beta1Event body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedDeployment3Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedEvent1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a Deployment + /// create an Event /// /// /// The operations group for this extension method. @@ -61479,22 +47743,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedDeployment3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedEvent1Async(this IKubernetes operations, V1beta1Event body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedDeployment3WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedEvent1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Deployment + /// delete an Event /// /// /// The operations group for this extension method. /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -61532,19 +47796,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedDeployment3(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedEvent1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedDeployment3Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedEvent1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Deployment + /// delete an Event /// /// /// The operations group for this extension method. /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -61585,22 +47849,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedDeployment3Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedEvent1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedDeployment3WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedEvent1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Deployment + /// read the specified Event /// /// /// The operations group for this extension method. /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -61616,19 +47880,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Deployment ReadNamespacedDeployment3(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1Event ReadNamespacedEvent1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedDeployment3Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedEvent1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Deployment + /// read the specified Event /// /// /// The operations group for this extension method. /// /// - /// name of the Deployment + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -61647,298 +47911,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedDeployment3Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedDeployment3WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Deployment PatchNamespacedDeployment3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedDeployment3Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedDeployment3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedDeployment3WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Deployment ReplaceNamespacedDeployment3(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedDeployment3Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedDeployment3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedDeployment3WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create rollback of a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status CreateNamespacedDeploymentRollback1(this IKubernetes operations, Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedDeploymentRollback1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create rollback of a Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the DeploymentRollback - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedDeploymentRollback1Async(this IKubernetes operations, Extensionsv1beta1DeploymentRollback body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedDeploymentRollback1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Scale ReadNamespacedDeploymentScale3(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedDeploymentScale3Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read scale of the specified Deployment - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedDeploymentScale3Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedEvent1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDeploymentScale3WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedEvent1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update scale of the specified Deployment + /// partially update the specified Event /// /// /// The operations group for this extension method. @@ -61946,7 +47928,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -61973,13 +47955,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale PatchNamespacedDeploymentScale3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1Event PatchNamespacedEvent1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedDeploymentScale3Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedEvent1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update scale of the specified Deployment + /// partially update the specified Event /// /// /// The operations group for this extension method. @@ -61987,7 +47969,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -62017,16 +47999,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedDeploymentScale3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedEvent1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedDeploymentScale3WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace scale of the specified Deployment + /// replace the specified Event /// /// /// The operations group for this extension method. @@ -62034,7 +48016,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -62054,13 +48036,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale ReplaceNamespacedDeploymentScale3(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1Event ReplaceNamespacedEvent1(this IKubernetes operations, V1beta1Event body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedDeploymentScale3Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedEvent1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace scale of the specified Deployment + /// replace the specified Event /// /// /// The operations group for this extension method. @@ -62068,7 +48050,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the Event /// /// /// object name and auth scope, such as for teams and projects @@ -62091,217 +48073,253 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedDeploymentScale3Async(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedEvent1Async(this IKubernetes operations, V1beta1Event body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedDeploymentScale3WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedEvent1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified Deployment + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Deployment ReadNamespacedDeploymentStatus3(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1APIGroup GetAPIGroup13(this IKubernetes operations) { - return operations.ReadNamespacedDeploymentStatus3Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.GetAPIGroup13Async().GetAwaiter().GetResult(); } /// - /// read status of the specified Deployment + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReadNamespacedDeploymentStatus3Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup13Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedDeploymentStatus3WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup13WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified Deployment + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Deployment PatchNamespacedDeploymentStatus3(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1APIResourceList GetAPIResources24(this IKubernetes operations) { - return operations.PatchNamespacedDeploymentStatus3Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources24Async().GetAwaiter().GetResult(); } /// - /// partially update status of the specified Deployment + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Deployment - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchNamespacedDeploymentStatus3Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources24Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedDeploymentStatus3WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources24WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified Deployment + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the Deployment + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Deployment ReplaceNamespacedDeploymentStatus3(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static Extensionsv1beta1IngressList ListIngressForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ReplaceNamespacedDeploymentStatus3Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ListIngressForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// replace status of the specified Deployment + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. /// - /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// name of the Deployment + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedDeploymentStatus3Async(this IKubernetes operations, Extensionsv1beta1Deployment body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListIngressForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedDeploymentStatus3WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListIngressForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -62324,8 +48342,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -62450,8 +48466,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -62582,8 +48596,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -62678,8 +48690,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -63079,16 +49089,224 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedIngressAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedIngressAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified Ingress + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Extensionsv1beta1Ingress ReplaceNamespacedIngress(this IKubernetes operations, Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceNamespacedIngressAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified Ingress + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedIngressAsync(this IKubernetes operations, Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read status of the specified Ingress + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Extensionsv1beta1Ingress ReadNamespacedIngressStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReadNamespacedIngressStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified Ingress + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadNamespacedIngressStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadNamespacedIngressStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update status of the specified Ingress + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Extensionsv1beta1Ingress PatchNamespacedIngressStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchNamespacedIngressStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified Ingress + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedIngressStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedIngressStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Ingress + /// replace status of the specified Ingress /// /// /// The operations group for this extension method. @@ -63116,13 +49334,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Ingress ReplaceNamespacedIngress(this IKubernetes operations, Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static Extensionsv1beta1Ingress ReplaceNamespacedIngressStatus(this IKubernetes operations, Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedIngressAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedIngressStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Ingress + /// replace status of the specified Ingress /// /// /// The operations group for this extension method. @@ -63153,231 +49371,76 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedIngressAsync(this IKubernetes operations, Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedIngressWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Ingress ReadNamespacedIngressStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedIngressStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedIngressStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedIngressStatusAsync(this IKubernetes operations, Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedIngressStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedIngressStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified Ingress + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Ingress PatchNamespacedIngressStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1APIGroup GetAPIGroup14(this IKubernetes operations) { - return operations.PatchNamespacedIngressStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.GetAPIGroup14Async().GetAwaiter().GetResult(); } /// - /// partially update status of the specified Ingress + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchNamespacedIngressStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup14Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedIngressStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup14WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified Ingress + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Ingress ReplaceNamespacedIngressStatus(this IKubernetes operations, Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1APIResourceList GetAPIResources25(this IKubernetes operations) { - return operations.ReplaceNamespacedIngressStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources25Async().GetAwaiter().GetResult(); } /// - /// replace status of the specified Ingress + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedIngressStatusAsync(this IKubernetes operations, Extensionsv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources25Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedIngressStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources25WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of NetworkPolicy + /// delete collection of FlowSchema /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -63386,8 +49449,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -63490,20 +49551,17 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedNetworkPolicy(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionFlowSchema(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedNetworkPolicyAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionFlowSchemaAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of NetworkPolicy + /// delete collection of FlowSchema /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -63512,8 +49570,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -63619,23 +49675,20 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedNetworkPolicyAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionFlowSchemaAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionFlowSchemaWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind FlowSchema /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -63644,8 +49697,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -63718,20 +49769,17 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicyList ListNamespacedNetworkPolicy(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1FlowSchemaList ListFlowSchema(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedNetworkPolicyAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListFlowSchemaAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind FlowSchema /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -63740,8 +49788,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -63817,25 +49863,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedNetworkPolicyAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListFlowSchemaAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedNetworkPolicyWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListFlowSchemaWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a NetworkPolicy + /// create a FlowSchema /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -63851,22 +49894,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicy CreateNamespacedNetworkPolicy(this IKubernetes operations, V1beta1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1FlowSchema CreateFlowSchema(this IKubernetes operations, V1alpha1FlowSchema body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedNetworkPolicyAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateFlowSchemaAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a NetworkPolicy + /// create a FlowSchema /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -63885,25 +49925,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedNetworkPolicyAsync(this IKubernetes operations, V1beta1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateFlowSchemaAsync(this IKubernetes operations, V1alpha1FlowSchema body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedNetworkPolicyWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateFlowSchemaWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a NetworkPolicy + /// delete a FlowSchema /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// @@ -63938,22 +49975,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedNetworkPolicy(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteFlowSchema(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedNetworkPolicyAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteFlowSchemaAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a NetworkPolicy + /// delete a FlowSchema /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// @@ -63991,25 +50025,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedNetworkPolicyAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteFlowSchemaAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteFlowSchemaWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified NetworkPolicy + /// read the specified FlowSchema /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -64022,22 +50053,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicy ReadNamespacedNetworkPolicy(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1alpha1FlowSchema ReadFlowSchema(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedNetworkPolicyAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadFlowSchemaAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified NetworkPolicy + /// read the specified FlowSchema /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -64053,16 +50081,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedNetworkPolicyAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadFlowSchemaAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedNetworkPolicyWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadFlowSchemaWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified NetworkPolicy + /// partially update the specified FlowSchema /// /// /// The operations group for this extension method. @@ -64070,10 +50098,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. An @@ -64097,13 +50122,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicy PatchNamespacedNetworkPolicy(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1alpha1FlowSchema PatchFlowSchema(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedNetworkPolicyAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchFlowSchemaAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified NetworkPolicy + /// partially update the specified FlowSchema /// /// /// The operations group for this extension method. @@ -64111,10 +50136,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. An @@ -64141,16 +50163,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedNetworkPolicyAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchFlowSchemaAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchFlowSchemaWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified NetworkPolicy + /// replace the specified FlowSchema /// /// /// The operations group for this extension method. @@ -64158,10 +50180,38 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the FlowSchema /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1FlowSchema ReplaceFlowSchema(this IKubernetes operations, V1alpha1FlowSchema body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceFlowSchemaAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified FlowSchema + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. An @@ -64178,13 +50228,59 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1NetworkPolicy ReplaceNamespacedNetworkPolicy(this IKubernetes operations, V1beta1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + /// + /// The cancellation token. + /// + public static async Task ReplaceFlowSchemaAsync(this IKubernetes operations, V1alpha1FlowSchema body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ReplaceNamespacedNetworkPolicyAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.ReplaceFlowSchemaWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// replace the specified NetworkPolicy + /// read status of the specified FlowSchema + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the FlowSchema + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1FlowSchema ReadFlowSchemaStatus(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadFlowSchemaStatusAsync(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified FlowSchema + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the FlowSchema + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadFlowSchemaStatusAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadFlowSchemaStatusWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update status of the specified FlowSchema /// /// /// The operations group for this extension method. @@ -64192,10 +50288,45 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the FlowSchema /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1FlowSchema PatchFlowSchemaStatus(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchFlowSchemaStatusAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update status of the specified FlowSchema + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the FlowSchema /// /// /// When present, indicates that modifications should not be persisted. An @@ -64207,7 +50338,14 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// fieldManager is a name associated with the actor or entity that is making /// these changes. The value must be less than or 128 characters long, and only /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. @@ -64215,22 +50353,87 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedNetworkPolicyAsync(this IKubernetes operations, V1beta1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchFlowSchemaStatusAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchFlowSchemaStatusWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ReplicaSet + /// replace status of the specified FlowSchema /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// + /// + /// name of the FlowSchema + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1FlowSchema ReplaceFlowSchemaStatus(this IKubernetes operations, V1alpha1FlowSchema body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceFlowSchemaStatusAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace status of the specified FlowSchema + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the FlowSchema + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceFlowSchemaStatusAsync(this IKubernetes operations, V1alpha1FlowSchema body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceFlowSchemaStatusWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of PriorityLevelConfiguration + /// + /// + /// The operations group for this extension method. /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers @@ -64240,8 +50443,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -64344,20 +50545,17 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedReplicaSet2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionPriorityLevelConfiguration(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedReplicaSet2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionPriorityLevelConfigurationAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ReplicaSet + /// delete collection of PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -64366,8 +50564,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -64473,23 +50669,20 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedReplicaSet2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPriorityLevelConfigurationAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedReplicaSet2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPriorityLevelConfigurationWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -64498,8 +50691,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -64572,20 +50763,17 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSetList ListNamespacedReplicaSet2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1PriorityLevelConfigurationList ListPriorityLevelConfiguration(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedReplicaSet2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListPriorityLevelConfigurationAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -64594,8 +50782,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -64671,25 +50857,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedReplicaSet2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPriorityLevelConfigurationAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedReplicaSet2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPriorityLevelConfigurationWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ReplicaSet + /// create a PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -64705,22 +50888,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet CreateNamespacedReplicaSet2(this IKubernetes operations, V1beta1ReplicaSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1PriorityLevelConfiguration CreatePriorityLevelConfiguration(this IKubernetes operations, V1alpha1PriorityLevelConfiguration body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedReplicaSet2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreatePriorityLevelConfigurationAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a ReplicaSet + /// create a PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -64739,25 +50919,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedReplicaSet2Async(this IKubernetes operations, V1beta1ReplicaSet body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePriorityLevelConfigurationAsync(this IKubernetes operations, V1alpha1PriorityLevelConfiguration body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedReplicaSet2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePriorityLevelConfigurationWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ReplicaSet + /// delete a PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// @@ -64792,22 +50969,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedReplicaSet2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeletePriorityLevelConfiguration(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedReplicaSet2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeletePriorityLevelConfigurationAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ReplicaSet + /// delete a PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// @@ -64845,25 +51019,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedReplicaSet2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePriorityLevelConfigurationAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedReplicaSet2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePriorityLevelConfigurationWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ReplicaSet + /// read the specified PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -64876,22 +51047,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet ReadNamespacedReplicaSet2(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1alpha1PriorityLevelConfiguration ReadPriorityLevelConfiguration(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedReplicaSet2Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadPriorityLevelConfigurationAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ReplicaSet + /// read the specified PriorityLevelConfiguration /// /// /// The operations group for this extension method. /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -64907,16 +51075,206 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedReplicaSet2Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadPriorityLevelConfigurationAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadPriorityLevelConfigurationWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified PriorityLevelConfiguration + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityLevelConfiguration PatchPriorityLevelConfiguration(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchPriorityLevelConfigurationAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified PriorityLevelConfiguration + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchPriorityLevelConfigurationAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchPriorityLevelConfigurationWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified PriorityLevelConfiguration + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityLevelConfiguration ReplacePriorityLevelConfiguration(this IKubernetes operations, V1alpha1PriorityLevelConfiguration body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplacePriorityLevelConfigurationAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified PriorityLevelConfiguration + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplacePriorityLevelConfigurationAsync(this IKubernetes operations, V1alpha1PriorityLevelConfiguration body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplacePriorityLevelConfigurationWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read status of the specified PriorityLevelConfiguration + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityLevelConfiguration ReadPriorityLevelConfigurationStatus(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadPriorityLevelConfigurationStatusAsync(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified PriorityLevelConfiguration + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the PriorityLevelConfiguration + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadPriorityLevelConfigurationStatusAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedReplicaSet2WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadPriorityLevelConfigurationStatusWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ReplicaSet + /// partially update status of the specified PriorityLevelConfiguration /// /// /// The operations group for this extension method. @@ -64924,10 +51282,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. An @@ -64951,13 +51306,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet PatchNamespacedReplicaSet2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1alpha1PriorityLevelConfiguration PatchPriorityLevelConfigurationStatus(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedReplicaSet2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchPriorityLevelConfigurationStatusAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ReplicaSet + /// partially update status of the specified PriorityLevelConfiguration /// /// /// The operations group for this extension method. @@ -64965,10 +51320,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. An @@ -64995,16 +51347,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedReplicaSet2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchPriorityLevelConfigurationStatusAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedReplicaSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchPriorityLevelConfigurationStatusWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ReplicaSet + /// replace status of the specified PriorityLevelConfiguration /// /// /// The operations group for this extension method. @@ -65012,10 +51364,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. An @@ -65032,13 +51381,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet ReplaceNamespacedReplicaSet2(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1PriorityLevelConfiguration ReplacePriorityLevelConfigurationStatus(this IKubernetes operations, V1alpha1PriorityLevelConfiguration body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedReplicaSet2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplacePriorityLevelConfigurationStatusAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ReplicaSet + /// replace status of the specified PriorityLevelConfiguration /// /// /// The operations group for this extension method. @@ -65046,10 +51395,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityLevelConfiguration /// /// /// When present, indicates that modifications should not be persisted. An @@ -65069,133 +51415,309 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedReplicaSet2Async(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplacePriorityLevelConfigurationStatusAsync(this IKubernetes operations, V1alpha1PriorityLevelConfiguration body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedReplicaSet2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplacePriorityLevelConfigurationStatusWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read scale of the specified ReplicaSet + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// name of the Scale - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Scale ReadNamespacedReplicaSetScale2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1APIGroup GetAPIGroup15(this IKubernetes operations) { - return operations.ReadNamespacedReplicaSetScale2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.GetAPIGroup15Async().GetAwaiter().GetResult(); } /// - /// read scale of the specified ReplicaSet + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// name of the Scale + /// + /// The cancellation token. /// - /// - /// object name and auth scope, such as for teams and projects + public static async Task GetAPIGroup15Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup15WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// - /// - /// If 'true', then the output is pretty printed. + public static V1APIResourceList GetAPIResources26(this IKubernetes operations) + { + return operations.GetAPIResources26Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// /// /// The cancellation token. /// - public static async Task ReadNamespacedReplicaSetScale2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources26Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedReplicaSetScale2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources26WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update scale of the specified ReplicaSet + /// delete collection of NetworkPolicy /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale PatchNamespacedReplicaSetScale2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedNetworkPolicy(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedReplicaSetScale2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedNetworkPolicyAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// partially update scale of the specified ReplicaSet + /// delete collection of NetworkPolicy /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// 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. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// /// /// If 'true', then the output is pretty printed. @@ -65203,24 +51725,215 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedReplicaSetScale2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedNetworkPolicyAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedReplicaSetScale2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedNetworkPolicyWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace scale of the specified ReplicaSet + /// list or watch objects of kind NetworkPolicy /// /// /// The operations group for this extension method. /// - /// + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// name of the Scale + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1NetworkPolicyList ListNamespacedNetworkPolicy(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListNamespacedNetworkPolicyAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind NetworkPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ListNamespacedNetworkPolicyAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNamespacedNetworkPolicyWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a NetworkPolicy + /// + /// + /// The operations group for this extension method. + /// + /// /// /// /// object name and auth scope, such as for teams and projects @@ -65240,22 +51953,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale ReplaceNamespacedReplicaSetScale2(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1NetworkPolicy CreateNamespacedNetworkPolicy(this IKubernetes operations, V1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedReplicaSetScale2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedNetworkPolicyAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace scale of the specified ReplicaSet + /// create a NetworkPolicy /// /// /// The operations group for this extension method. /// /// /// - /// - /// name of the Scale - /// /// /// object name and auth scope, such as for teams and projects /// @@ -65277,133 +51987,105 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedReplicaSetScale2Async(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedNetworkPolicyAsync(this IKubernetes operations, V1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedReplicaSetScale2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedNetworkPolicyWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1ReplicaSet ReadNamespacedReplicaSetStatus2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedReplicaSetStatus2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified ReplicaSet + /// delete a NetworkPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the ReplicaSet + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedReplicaSetStatus2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedReplicaSetStatus2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// /// /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// 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. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ReplicaSet PatchNamespacedReplicaSetStatus2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1Status DeleteNamespacedNetworkPolicy(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.PatchNamespacedReplicaSetStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedNetworkPolicyAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified ReplicaSet + /// delete a NetworkPolicy /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the ReplicaSet + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response /// and no further processing of the request. Valid values are: - All: all dry /// run stages will be processed /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// 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. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// If 'true', then the output is pretty printed. @@ -65411,119 +52093,61 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedReplicaSetStatus2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedNetworkPolicyAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedReplicaSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedNetworkPolicyWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified ReplicaSet - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the ReplicaSet - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1ReplicaSet ReplaceNamespacedReplicaSetStatus2(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedReplicaSetStatus2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace status of the specified ReplicaSet + /// read the specified NetworkPolicy /// /// /// The operations group for this extension method. /// - /// - /// /// - /// name of the ReplicaSet + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedReplicaSetStatus2Async(this IKubernetes operations, V1beta1ReplicaSet body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static V1NetworkPolicy ReadNamespacedNetworkPolicy(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - using (var _result = await operations.ReplaceNamespacedReplicaSetStatus2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.ReadNamespacedNetworkPolicyAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read scale of the specified ReplicationControllerDummy + /// read the specified NetworkPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the Scale + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Extensionsv1beta1Scale ReadNamespacedReplicationControllerDummyScale(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedReplicationControllerDummyScaleAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read scale of the specified ReplicationControllerDummy - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Scale + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -65531,16 +52155,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedNetworkPolicyAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedNetworkPolicyWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update scale of the specified ReplicationControllerDummy + /// partially update the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -65548,7 +52172,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -65575,13 +52199,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale PatchNamespacedReplicationControllerDummyScale(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1NetworkPolicy PatchNamespacedNetworkPolicy(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedReplicationControllerDummyScaleAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedNetworkPolicyAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update scale of the specified ReplicationControllerDummy + /// partially update the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -65589,7 +52213,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -65619,16 +52243,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedNetworkPolicyAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace scale of the specified ReplicationControllerDummy + /// replace the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -65636,7 +52260,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -65656,13 +52280,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1Scale ReplaceNamespacedReplicationControllerDummyScale(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1NetworkPolicy ReplaceNamespacedNetworkPolicy(this IKubernetes operations, V1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedReplicationControllerDummyScaleAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedNetworkPolicyAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace scale of the specified ReplicationControllerDummy + /// replace the specified NetworkPolicy /// /// /// The operations group for this extension method. @@ -65670,7 +52294,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the Scale + /// name of the NetworkPolicy /// /// /// object name and auth scope, such as for teams and projects @@ -65693,9 +52317,9 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedReplicationControllerDummyScaleAsync(this IKubernetes operations, Extensionsv1beta1Scale body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedNetworkPolicyAsync(this IKubernetes operations, V1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedReplicationControllerDummyScaleWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedNetworkPolicyWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -65715,8 +52339,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -65789,7 +52411,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1NetworkPolicyList ListNetworkPolicyForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1NetworkPolicyList ListNetworkPolicyForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { return operations.ListNetworkPolicyForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } @@ -65808,8 +52430,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -65885,7 +52505,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNetworkPolicyForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNetworkPolicyForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNetworkPolicyForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { @@ -65894,7 +52514,35 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) } /// - /// delete collection of PodSecurityPolicy + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources27(this IKubernetes operations) + { + return operations.GetAPIResources27Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources27Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources27WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of IngressClass /// /// /// The operations group for this extension method. @@ -65907,8 +52555,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -66011,13 +52657,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionPodSecurityPolicy(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionIngressClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionPodSecurityPolicyAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionIngressClassAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PodSecurityPolicy + /// delete collection of IngressClass /// /// /// The operations group for this extension method. @@ -66030,8 +52676,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -66137,16 +52781,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionPodSecurityPolicyAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionIngressClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionIngressClassWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind IngressClass /// /// /// The operations group for this extension method. @@ -66159,8 +52803,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -66233,13 +52875,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicyList ListPodSecurityPolicy(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1IngressClassList ListIngressClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListPodSecurityPolicyAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListIngressClassAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind IngressClass /// /// /// The operations group for this extension method. @@ -66252,8 +52894,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -66329,16 +52969,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPodSecurityPolicyAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListIngressClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPodSecurityPolicyWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListIngressClassWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PodSecurityPolicy + /// create an IngressClass /// /// /// The operations group for this extension method. @@ -66360,13 +53000,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicy CreatePodSecurityPolicy(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1IngressClass CreateIngressClass(this IKubernetes operations, V1beta1IngressClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreatePodSecurityPolicyAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateIngressClassAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a PodSecurityPolicy + /// create an IngressClass /// /// /// The operations group for this extension method. @@ -66391,22 +53031,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreatePodSecurityPolicyAsync(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateIngressClassAsync(this IKubernetes operations, V1beta1IngressClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreatePodSecurityPolicyWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateIngressClassWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PodSecurityPolicy + /// delete an IngressClass /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// @@ -66441,19 +53081,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePodSecurityPolicy(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteIngressClass(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePodSecurityPolicyAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteIngressClassAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PodSecurityPolicy + /// delete an IngressClass /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// @@ -66491,22 +53131,22 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeletePodSecurityPolicyAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteIngressClassAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePodSecurityPolicyWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteIngressClassWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PodSecurityPolicy + /// read the specified IngressClass /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -66519,19 +53159,19 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicy ReadPodSecurityPolicy(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1IngressClass ReadIngressClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadPodSecurityPolicyAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadIngressClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PodSecurityPolicy + /// read the specified IngressClass /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -66547,16 +53187,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadPodSecurityPolicyAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadIngressClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadPodSecurityPolicyWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadIngressClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified IngressClass /// /// /// The operations group for this extension method. @@ -66564,7 +53204,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -66588,13 +53228,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicy PatchPodSecurityPolicy(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1IngressClass PatchIngressClass(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchPodSecurityPolicyAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchIngressClassAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified IngressClass /// /// /// The operations group for this extension method. @@ -66602,7 +53242,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -66629,16 +53269,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchPodSecurityPolicyAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchIngressClassAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchPodSecurityPolicyWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchIngressClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PodSecurityPolicy + /// replace the specified IngressClass /// /// /// The operations group for this extension method. @@ -66646,7 +53286,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -66663,13 +53303,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Extensionsv1beta1PodSecurityPolicy ReplacePodSecurityPolicy(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1IngressClass ReplaceIngressClass(this IKubernetes operations, V1beta1IngressClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplacePodSecurityPolicyAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceIngressClassAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PodSecurityPolicy + /// replace the specified IngressClass /// /// /// The operations group for this extension method. @@ -66677,7 +53317,7 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the IngressClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -66697,16 +53337,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplacePodSecurityPolicyAsync(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceIngressClassAsync(this IKubernetes operations, V1beta1IngressClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplacePodSecurityPolicyWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceIngressClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. @@ -66719,8 +53359,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -66793,13 +53431,13 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1ReplicaSetList ListReplicaSetForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static Networkingv1beta1IngressList ListIngressForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListReplicaSetForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListIngressForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ReplicaSet + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. @@ -66812,8 +53450,6 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -66889,72 +53525,16 @@ public static V1APIResourceList GetAPIResources26(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListReplicaSetForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListReplicaSetForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup14(this IKubernetes operations) - { - return operations.GetAPIGroup14Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup14Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup14WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources27(this IKubernetes operations) - { - return operations.GetAPIResources27Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources27Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListIngressForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources27WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListIngressForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of NetworkPolicy + /// delete collection of Ingress /// /// /// The operations group for this extension method. @@ -66970,8 +53550,6 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -67074,13 +53652,13 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedNetworkPolicy1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedIngress1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedNetworkPolicy1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedIngress1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of NetworkPolicy + /// delete collection of Ingress /// /// /// The operations group for this extension method. @@ -67096,8 +53674,6 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -67203,16 +53779,16 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedNetworkPolicy1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedIngress1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedNetworkPolicy1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedIngress1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. @@ -67228,8 +53804,6 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -67302,13 +53876,13 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicyList ListNamespacedNetworkPolicy1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static Networkingv1beta1IngressList ListNamespacedIngress1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedNetworkPolicy1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedIngress1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind NetworkPolicy + /// list or watch objects of kind Ingress /// /// /// The operations group for this extension method. @@ -67324,8 +53898,6 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -67401,16 +53973,16 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedNetworkPolicy1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedIngress1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedNetworkPolicy1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedIngress1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a NetworkPolicy + /// create an Ingress /// /// /// The operations group for this extension method. @@ -67435,13 +54007,13 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicy CreateNamespacedNetworkPolicy1(this IKubernetes operations, V1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static Networkingv1beta1Ingress CreateNamespacedIngress1(this IKubernetes operations, Networkingv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedNetworkPolicy1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedIngress1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a NetworkPolicy + /// create an Ingress /// /// /// The operations group for this extension method. @@ -67469,22 +54041,22 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedNetworkPolicy1Async(this IKubernetes operations, V1NetworkPolicy body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedIngress1Async(this IKubernetes operations, Networkingv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedNetworkPolicy1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedIngress1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a NetworkPolicy + /// delete an Ingress /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -67522,19 +54094,19 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedNetworkPolicy1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedIngress1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedNetworkPolicy1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedIngress1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a NetworkPolicy + /// delete an Ingress /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -67575,22 +54147,22 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedNetworkPolicy1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedIngress1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedNetworkPolicy1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedIngress1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified NetworkPolicy + /// read the specified Ingress /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -67606,19 +54178,19 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicy ReadNamespacedNetworkPolicy1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static Networkingv1beta1Ingress ReadNamespacedIngress1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedNetworkPolicy1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedIngress1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified NetworkPolicy + /// read the specified Ingress /// /// /// The operations group for this extension method. /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -67637,16 +54209,16 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedNetworkPolicy1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedIngress1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedNetworkPolicy1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedIngress1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified NetworkPolicy + /// partially update the specified Ingress /// /// /// The operations group for this extension method. @@ -67654,7 +54226,7 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -67681,13 +54253,13 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicy PatchNamespacedNetworkPolicy1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static Networkingv1beta1Ingress PatchNamespacedIngress1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedNetworkPolicy1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedIngress1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified NetworkPolicy + /// partially update the specified Ingress /// /// /// The operations group for this extension method. @@ -67695,7 +54267,7 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -67725,16 +54297,16 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedNetworkPolicy1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedIngress1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedNetworkPolicy1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedIngress1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified NetworkPolicy + /// replace the specified Ingress /// /// /// The operations group for this extension method. @@ -67742,7 +54314,7 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -67762,13 +54334,13 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicy ReplaceNamespacedNetworkPolicy1(this IKubernetes operations, V1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static Networkingv1beta1Ingress ReplaceNamespacedIngress1(this IKubernetes operations, Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedNetworkPolicy1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedIngress1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified NetworkPolicy + /// replace the specified Ingress /// /// /// The operations group for this extension method. @@ -67776,7 +54348,7 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// /// - /// name of the NetworkPolicy + /// name of the Ingress /// /// /// object name and auth scope, such as for teams and projects @@ -67799,201 +54371,245 @@ public static V1APIResourceList GetAPIResources27(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedNetworkPolicy1Async(this IKubernetes operations, V1NetworkPolicy body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedIngress1Async(this IKubernetes operations, Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedNetworkPolicy1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedIngress1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind NetworkPolicy + /// read status of the specified Ingress /// /// /// The operations group for this extension method. /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// + /// name of the Ingress /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// If 'true', then the output is pretty printed. /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + public static Networkingv1beta1Ingress ReadNamespacedIngressStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReadNamespacedIngressStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// read status of the specified Ingress + /// + /// + /// The operations group for this extension method. /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// The cancellation token. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + public static async Task ReadNamespacedIngressStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadNamespacedIngressStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update status of the specified Ingress + /// + /// + /// The operations group for this extension method. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. /// - public static V1NetworkPolicyList ListNetworkPolicyForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static Networkingv1beta1Ingress PatchNamespacedIngressStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.ListNetworkPolicyForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.PatchNamespacedIngressStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind NetworkPolicy + /// partially update status of the specified Ingress /// /// /// The operations group for this extension method. /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. + /// /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. + /// + /// name of the Ingress /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. + /// + /// object name and auth scope, such as for teams and projects /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. /// /// /// If 'true', then the output is pretty printed. /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// The cancellation token. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + public static async Task PatchNamespacedIngressStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedIngressStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace status of the specified Ingress + /// + /// + /// The operations group for this extension method. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Networkingv1beta1Ingress ReplaceNamespacedIngressStatus1(this IKubernetes operations, Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceNamespacedIngressStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace status of the specified Ingress + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Ingress + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedIngressStatus1Async(this IKubernetes operations, Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedIngressStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup16(this IKubernetes operations) + { + return operations.GetAPIGroup16Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. /// /// /// The cancellation token. /// - public static async Task ListNetworkPolicyForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup16Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNetworkPolicyForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup16WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -68028,206 +54644,11 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) } /// - /// list or watch objects of kind Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static Networkingv1beta1IngressList ListIngressForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListIngressForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListIngressForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListIngressForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete collection of Ingress + /// delete collection of RuntimeClass /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -68236,8 +54657,6 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -68340,20 +54759,17 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedIngress1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionRuntimeClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedIngress1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionRuntimeClassAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Ingress + /// delete collection of RuntimeClass /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -68362,8 +54778,6 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -68469,23 +54883,20 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedIngress1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionRuntimeClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedIngress1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionRuntimeClassWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind RuntimeClass /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -68494,8 +54905,6 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -68568,20 +54977,17 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Networkingv1beta1IngressList ListNamespacedIngress1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1RuntimeClassList ListRuntimeClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedIngress1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRuntimeClassAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Ingress + /// list or watch objects of kind RuntimeClass /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -68590,8 +54996,6 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -68667,25 +55071,22 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedIngress1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRuntimeClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedIngress1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRuntimeClassWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create an Ingress + /// create a RuntimeClass /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -68701,22 +55102,19 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Networkingv1beta1Ingress CreateNamespacedIngress1(this IKubernetes operations, Networkingv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1RuntimeClass CreateRuntimeClass(this IKubernetes operations, V1alpha1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedIngress1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateRuntimeClassAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create an Ingress + /// create a RuntimeClass /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -68735,25 +55133,22 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedIngress1Async(this IKubernetes operations, Networkingv1beta1Ingress body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateRuntimeClassAsync(this IKubernetes operations, V1alpha1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedIngress1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateRuntimeClassWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete an Ingress + /// delete a RuntimeClass /// /// /// The operations group for this extension method. /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// @@ -68788,22 +55183,19 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedIngress1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteRuntimeClass(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedIngress1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteRuntimeClassAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete an Ingress + /// delete a RuntimeClass /// /// /// The operations group for this extension method. /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// @@ -68841,25 +55233,22 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedIngress1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteRuntimeClassAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedIngress1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteRuntimeClassWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Ingress + /// read the specified RuntimeClass /// /// /// The operations group for this extension method. /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -68872,22 +55261,19 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Networkingv1beta1Ingress ReadNamespacedIngress1(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1alpha1RuntimeClass ReadRuntimeClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedIngress1Async(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadRuntimeClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Ingress + /// read the specified RuntimeClass /// /// /// The operations group for this extension method. /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -68903,224 +55289,16 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedIngress1Async(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedIngress1WithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Networkingv1beta1Ingress PatchNamespacedIngress1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedIngress1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedIngress1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedIngress1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Networkingv1beta1Ingress ReplaceNamespacedIngress1(this IKubernetes operations, Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedIngress1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedIngress1Async(this IKubernetes operations, Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedIngress1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static Networkingv1beta1Ingress ReadNamespacedIngressStatus1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedIngressStatus1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified Ingress - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedIngressStatus1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadRuntimeClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedIngressStatus1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadRuntimeClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified Ingress + /// partially update the specified RuntimeClass /// /// /// The operations group for this extension method. @@ -69128,10 +55306,7 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -69155,13 +55330,13 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Networkingv1beta1Ingress PatchNamespacedIngressStatus1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1alpha1RuntimeClass PatchRuntimeClass(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedIngressStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchRuntimeClassAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified Ingress + /// partially update the specified RuntimeClass /// /// /// The operations group for this extension method. @@ -69169,10 +55344,7 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -69199,16 +55371,16 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedIngressStatus1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchRuntimeClassAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedIngressStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchRuntimeClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified Ingress + /// replace the specified RuntimeClass /// /// /// The operations group for this extension method. @@ -69216,10 +55388,7 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -69236,13 +55405,13 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Networkingv1beta1Ingress ReplaceNamespacedIngressStatus1(this IKubernetes operations, Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1RuntimeClass ReplaceRuntimeClass(this IKubernetes operations, V1alpha1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedIngressStatus1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceRuntimeClassAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified Ingress + /// replace the specified RuntimeClass /// /// /// The operations group for this extension method. @@ -69250,10 +55419,7 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// /// - /// name of the Ingress - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the RuntimeClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -69273,37 +55439,9 @@ public static V1APIResourceList GetAPIResources28(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedIngressStatus1Async(this IKubernetes operations, Networkingv1beta1Ingress body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedIngressStatus1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup15(this IKubernetes operations) - { - return operations.GetAPIGroup15Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup15Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceRuntimeClassAsync(this IKubernetes operations, V1alpha1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup15WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceRuntimeClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -69351,8 +55489,6 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -69455,9 +55591,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionRuntimeClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionRuntimeClass1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionRuntimeClassAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionRuntimeClass1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -69474,8 +55610,6 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -69581,9 +55715,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionRuntimeClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionRuntimeClass1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionRuntimeClassWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionRuntimeClass1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -69603,8 +55737,6 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -69677,9 +55809,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RuntimeClassList ListRuntimeClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1RuntimeClassList ListRuntimeClass1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRuntimeClassAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRuntimeClass1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -69696,8 +55828,6 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -69773,9 +55903,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListRuntimeClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRuntimeClass1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRuntimeClassWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRuntimeClass1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -69804,9 +55934,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RuntimeClass CreateRuntimeClass(this IKubernetes operations, V1alpha1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1RuntimeClass CreateRuntimeClass1(this IKubernetes operations, V1beta1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateRuntimeClassAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateRuntimeClass1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -69835,9 +55965,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateRuntimeClassAsync(this IKubernetes operations, V1alpha1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateRuntimeClass1Async(this IKubernetes operations, V1beta1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateRuntimeClassWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateRuntimeClass1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -69885,9 +56015,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteRuntimeClass(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteRuntimeClass1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteRuntimeClassAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteRuntimeClass1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -69935,9 +56065,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteRuntimeClassAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteRuntimeClass1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteRuntimeClassWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteRuntimeClass1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -69963,9 +56093,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RuntimeClass ReadRuntimeClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1RuntimeClass ReadRuntimeClass1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadRuntimeClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadRuntimeClass1Async(name, exact, export, pretty).GetAwaiter().GetResult(); } /// @@ -69991,9 +56121,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadRuntimeClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadRuntimeClass1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadRuntimeClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadRuntimeClass1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -70032,9 +56162,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RuntimeClass PatchRuntimeClass(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1RuntimeClass PatchRuntimeClass1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchRuntimeClassAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchRuntimeClass1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// @@ -70073,9 +56203,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchRuntimeClassAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchRuntimeClass1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchRuntimeClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchRuntimeClass1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -70107,9 +56237,9 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RuntimeClass ReplaceRuntimeClass(this IKubernetes operations, V1alpha1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1RuntimeClass ReplaceRuntimeClass1(this IKubernetes operations, V1beta1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceRuntimeClassAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceRuntimeClass1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -70141,9 +56271,37 @@ public static V1APIResourceList GetAPIResources29(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceRuntimeClassAsync(this IKubernetes operations, V1alpha1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceRuntimeClass1Async(this IKubernetes operations, V1beta1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceRuntimeClass1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup17(this IKubernetes operations) + { + return operations.GetAPIGroup17Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup17Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceRuntimeClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup17WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -70178,11 +56336,14 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) } /// - /// delete collection of RuntimeClass + /// delete collection of PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -70191,8 +56352,6 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -70295,17 +56454,20 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionRuntimeClass1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedPodDisruptionBudget(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionRuntimeClass1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedPodDisruptionBudgetAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of RuntimeClass + /// delete collection of PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -70314,8 +56476,6 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -70421,20 +56581,23 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionRuntimeClass1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionRuntimeClass1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RuntimeClass + /// list or watch objects of kind PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -70443,8 +56606,6 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -70517,17 +56678,20 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RuntimeClassList ListRuntimeClass1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1PodDisruptionBudgetList ListNamespacedPodDisruptionBudget(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRuntimeClass1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedPodDisruptionBudgetAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RuntimeClass + /// list or watch objects of kind PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -70536,8 +56700,6 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -70613,22 +56775,25 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListRuntimeClass1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRuntimeClass1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a RuntimeClass + /// create a PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -70644,19 +56809,22 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RuntimeClass CreateRuntimeClass1(this IKubernetes operations, V1beta1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1PodDisruptionBudget CreateNamespacedPodDisruptionBudget(this IKubernetes operations, V1beta1PodDisruptionBudget body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateRuntimeClass1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedPodDisruptionBudgetAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a RuntimeClass + /// create a PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -70675,22 +56843,25 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateRuntimeClass1Async(this IKubernetes operations, V1beta1RuntimeClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateRuntimeClass1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a RuntimeClass + /// delete a PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -70725,19 +56896,22 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteRuntimeClass1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedPodDisruptionBudget(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteRuntimeClass1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedPodDisruptionBudgetAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a RuntimeClass + /// delete a PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -70775,22 +56949,25 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteRuntimeClass1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteRuntimeClass1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified RuntimeClass + /// read the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -70803,19 +56980,22 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RuntimeClass ReadRuntimeClass1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1PodDisruptionBudget ReadNamespacedPodDisruptionBudget(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadRuntimeClass1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedPodDisruptionBudgetAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified RuntimeClass + /// read the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -70831,16 +57011,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadRuntimeClass1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadRuntimeClass1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified RuntimeClass + /// partially update the specified PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -70848,7 +57028,10 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -70872,13 +57055,13 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RuntimeClass PatchRuntimeClass1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1PodDisruptionBudget PatchNamespacedPodDisruptionBudget(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchRuntimeClass1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified RuntimeClass + /// partially update the specified PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -70886,7 +57069,10 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -70913,16 +57099,16 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchRuntimeClass1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchRuntimeClass1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified RuntimeClass + /// replace the specified PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -70930,7 +57116,10 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -70947,13 +57136,13 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RuntimeClass ReplaceRuntimeClass1(this IKubernetes operations, V1beta1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1PodDisruptionBudget ReplaceNamespacedPodDisruptionBudget(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceRuntimeClass1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified RuntimeClass + /// replace the specified PodDisruptionBudget /// /// /// The operations group for this extension method. @@ -70961,7 +57150,10 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// /// - /// name of the RuntimeClass + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -70981,79 +57173,319 @@ public static V1APIResourceList GetAPIResources30(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceRuntimeClass1Async(this IKubernetes operations, V1beta1RuntimeClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceRuntimeClass1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get information of a group + /// read status of the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup16(this IKubernetes operations) + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1PodDisruptionBudget ReadNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.GetAPIGroup16Async().GetAwaiter().GetResult(); + return operations.ReadNamespacedPodDisruptionBudgetStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// get information of a group + /// read status of the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIGroup16Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup16WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// partially update status of the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources31(this IKubernetes operations) + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1PodDisruptionBudget PatchNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.GetAPIResources31Async().GetAwaiter().GetResult(); + return operations.PatchNamespacedPodDisruptionBudgetStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// partially update status of the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIResources31Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources31WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of PodDisruptionBudget + /// replace status of the specified PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1PodDisruptionBudget ReplaceNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceNamespacedPodDisruptionBudgetStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace status of the specified PodDisruptionBudget /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// name of the PodDisruptionBudget + /// /// /// object name and auth scope, such as for teams and projects /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1beta1PodDisruptionBudgetList ListPodDisruptionBudgetForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + { + return operations.ListPodDisruptionBudgetForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind PodDisruptionBudget + /// + /// + /// The operations group for this extension method. + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -71062,8 +57494,103 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. /// - /// This field is beta. + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// The cancellation token. + /// + public static async Task ListPodDisruptionBudgetForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// /// /// @@ -71166,20 +57693,17 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedPodDisruptionBudget(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionPodSecurityPolicy(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedPodDisruptionBudgetAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionPodSecurityPolicyAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PodDisruptionBudget + /// delete collection of PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -71188,8 +57712,6 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -71295,23 +57817,20 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPodSecurityPolicyAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedPodDisruptionBudgetWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPodSecurityPolicyWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodDisruptionBudget + /// list or watch objects of kind PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -71320,8 +57839,6 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -71394,20 +57911,17 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudgetList ListNamespacedPodDisruptionBudget(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1PodSecurityPolicyList ListPodSecurityPolicy(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedPodDisruptionBudgetAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListPodSecurityPolicyAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodDisruptionBudget + /// list or watch objects of kind PodSecurityPolicy /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -71416,8 +57930,6 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -71493,25 +58005,22 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPodSecurityPolicyAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedPodDisruptionBudgetWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPodSecurityPolicyWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PodDisruptionBudget + /// create a PodSecurityPolicy /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -71527,22 +58036,19 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudget CreateNamespacedPodDisruptionBudget(this IKubernetes operations, V1beta1PodDisruptionBudget body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1PodSecurityPolicy CreatePodSecurityPolicy(this IKubernetes operations, V1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedPodDisruptionBudgetAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreatePodSecurityPolicyAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a PodDisruptionBudget + /// create a PodSecurityPolicy /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -71561,25 +58067,22 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePodSecurityPolicyAsync(this IKubernetes operations, V1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePodSecurityPolicyWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PodDisruptionBudget + /// delete a PodSecurityPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// @@ -71614,22 +58117,19 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPodDisruptionBudget(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1beta1PodSecurityPolicy DeletePodSecurityPolicy(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedPodDisruptionBudgetAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeletePodSecurityPolicyAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PodDisruptionBudget + /// delete a PodSecurityPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// @@ -71667,25 +58167,22 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePodSecurityPolicyAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedPodDisruptionBudgetWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePodSecurityPolicyWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PodDisruptionBudget + /// read the specified PodSecurityPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -71698,22 +58195,19 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudget ReadNamespacedPodDisruptionBudget(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1PodSecurityPolicy ReadPodSecurityPolicy(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedPodDisruptionBudgetAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadPodSecurityPolicyAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PodDisruptionBudget + /// read the specified PodSecurityPolicy /// /// /// The operations group for this extension method. /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -71729,224 +58223,16 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedPodDisruptionBudgetWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified PodDisruptionBudget - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1PodDisruptionBudget PatchNamespacedPodDisruptionBudget(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static async Task ReadPodSecurityPolicyAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.PatchNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified PodDisruptionBudget - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task PatchNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PatchNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// replace the specified PodDisruptionBudget - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1PodDisruptionBudget ReplaceNamespacedPodDisruptionBudget(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.ReplaceNamespacedPodDisruptionBudgetAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// replace the specified PodDisruptionBudget - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReplaceNamespacedPodDisruptionBudgetAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedPodDisruptionBudgetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read status of the specified PodDisruptionBudget - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1PodDisruptionBudget ReadNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedPodDisruptionBudgetStatusAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read status of the specified PodDisruptionBudget - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadPodSecurityPolicyWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update status of the specified PodDisruptionBudget + /// partially update the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -71954,10 +58240,7 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// When present, indicates that modifications should not be persisted. An @@ -71981,13 +58264,13 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudget PatchNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1PodSecurityPolicy PatchPodSecurityPolicy(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedPodDisruptionBudgetStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchPodSecurityPolicyAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update status of the specified PodDisruptionBudget + /// partially update the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -71995,10 +58278,7 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// When present, indicates that modifications should not be persisted. An @@ -72025,16 +58305,16 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchPodSecurityPolicyAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchPodSecurityPolicyWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace status of the specified PodDisruptionBudget + /// replace the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -72042,10 +58322,7 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// When present, indicates that modifications should not be persisted. An @@ -72062,13 +58339,13 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodDisruptionBudget ReplaceNamespacedPodDisruptionBudgetStatus(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1PodSecurityPolicy ReplacePodSecurityPolicy(this IKubernetes operations, V1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedPodDisruptionBudgetStatusAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplacePodSecurityPolicyAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace status of the specified PodDisruptionBudget + /// replace the specified PodSecurityPolicy /// /// /// The operations group for this extension method. @@ -72076,10 +58353,7 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// /// - /// name of the PodDisruptionBudget - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PodSecurityPolicy /// /// /// When present, indicates that modifications should not be persisted. An @@ -72099,208 +58373,72 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedPodDisruptionBudgetStatusAsync(this IKubernetes operations, V1beta1PodDisruptionBudget body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplacePodSecurityPolicyAsync(this IKubernetes operations, V1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedPodDisruptionBudgetStatusWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplacePodSecurityPolicyWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodDisruptionBudget + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1beta1PodDisruptionBudgetList ListPodDisruptionBudgetForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + public static V1APIGroup GetAPIGroup18(this IKubernetes operations) { - return operations.ListPodDisruptionBudgetForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.GetAPIGroup18Async().GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodDisruptionBudget + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. + /// + /// The cancellation token. /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. + public static async Task GetAPIGroup18Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup18WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. + public static V1APIResourceList GetAPIResources31(this IKubernetes operations) + { + return operations.GetAPIResources31Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. /// /// /// The cancellation token. /// - public static async Task ListPodDisruptionBudgetForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources31Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPodDisruptionBudgetForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources31WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of PodSecurityPolicy + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -72313,8 +58451,6 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -72417,13 +58553,13 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionPodSecurityPolicy1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRoleBinding(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionPodSecurityPolicy1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRoleBindingAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PodSecurityPolicy + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -72436,8 +58572,6 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -72543,16 +58677,16 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionPodSecurityPolicy1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRoleBindingAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -72565,8 +58699,6 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -72639,13 +58771,13 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicyList ListPodSecurityPolicy1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1ClusterRoleBindingList ListClusterRoleBinding(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListPodSecurityPolicy1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRoleBindingAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodSecurityPolicy + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -72658,8 +58790,6 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -72735,16 +58865,16 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPodSecurityPolicy1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRoleBindingAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPodSecurityPolicy1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRoleBindingWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PodSecurityPolicy + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -72766,13 +58896,13 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicy CreatePodSecurityPolicy1(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1ClusterRoleBinding CreateClusterRoleBinding(this IKubernetes operations, V1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreatePodSecurityPolicy1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRoleBindingAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a PodSecurityPolicy + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -72797,22 +58927,22 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreatePodSecurityPolicy1Async(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRoleBindingAsync(this IKubernetes operations, V1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreatePodSecurityPolicy1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRoleBindingWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PodSecurityPolicy + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the ClusterRoleBinding /// /// /// @@ -72847,19 +58977,19 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePodSecurityPolicy1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRoleBinding(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePodSecurityPolicy1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRoleBindingAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PodSecurityPolicy + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy + /// name of the ClusterRoleBinding /// /// /// @@ -72897,55 +59027,39 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeletePodSecurityPolicy1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRoleBindingAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePodSecurityPolicy1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRoleBindingWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PodSecurityPolicy + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicy ReadPodSecurityPolicy1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1ClusterRoleBinding ReadClusterRoleBinding(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadPodSecurityPolicy1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRoleBindingAsync(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PodSecurityPolicy + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the PodSecurityPolicy - /// - /// - /// Should the export be exact. Exact export maintains cluster-specific fields - /// like 'Namespace'. Deprecated. Planned for removal in 1.18. - /// - /// - /// Should this value be exported. Export strips fields that a user can not - /// specify. Deprecated. Planned for removal in 1.18. + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -72953,16 +59067,16 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadPodSecurityPolicy1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRoleBindingAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadPodSecurityPolicy1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRoleBindingWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -72970,7 +59084,7 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -72994,13 +59108,13 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicy PatchPodSecurityPolicy1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1ClusterRoleBinding PatchClusterRoleBinding(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchPodSecurityPolicy1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRoleBindingAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PodSecurityPolicy + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -73008,7 +59122,7 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -73035,16 +59149,16 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchPodSecurityPolicy1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRoleBindingAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchPodSecurityPolicy1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRoleBindingWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PodSecurityPolicy + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -73052,7 +59166,7 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -73069,13 +59183,13 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static Policyv1beta1PodSecurityPolicy ReplacePodSecurityPolicy1(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1ClusterRoleBinding ReplaceClusterRoleBinding(this IKubernetes operations, V1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplacePodSecurityPolicy1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRoleBindingAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PodSecurityPolicy + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -73083,7 +59197,7 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// /// - /// name of the PodSecurityPolicy + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -73103,72 +59217,16 @@ public static V1APIResourceList GetAPIResources31(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplacePodSecurityPolicy1Async(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplacePodSecurityPolicy1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup17(this IKubernetes operations) - { - return operations.GetAPIGroup17Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup17Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup17WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources32(this IKubernetes operations) - { - return operations.GetAPIResources32Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources32Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRoleBindingAsync(this IKubernetes operations, V1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources32WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRoleBindingWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRoleBinding + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. @@ -73181,8 +59239,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -73285,13 +59341,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRoleBinding(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRole(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRoleBindingAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRoleAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRoleBinding + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. @@ -73304,8 +59360,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -73411,16 +59465,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRoleBindingAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRoleAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRoleBindingWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRoleWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. @@ -73433,8 +59487,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -73507,13 +59559,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBindingList ListClusterRoleBinding(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1ClusterRoleList ListClusterRole(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRoleBindingAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRoleAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. @@ -73526,8 +59578,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -73603,16 +59653,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRoleBindingAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRoleAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRoleBindingWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRoleWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRoleBinding + /// create a ClusterRole /// /// /// The operations group for this extension method. @@ -73634,13 +59684,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBinding CreateClusterRoleBinding(this IKubernetes operations, V1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1ClusterRole CreateClusterRole(this IKubernetes operations, V1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateClusterRoleBindingAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRoleAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRoleBinding + /// create a ClusterRole /// /// /// The operations group for this extension method. @@ -73665,22 +59715,22 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateClusterRoleBindingAsync(this IKubernetes operations, V1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRoleAsync(this IKubernetes operations, V1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRoleBindingWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRoleWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRoleBinding + /// delete a ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// @@ -73715,19 +59765,19 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRoleBinding(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRole(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRoleBindingAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRoleAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRoleBinding + /// delete a ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// @@ -73765,39 +59815,39 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRoleBindingAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRoleAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRoleBindingWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRoleWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRoleBinding + /// read the specified ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBinding ReadClusterRoleBinding(this IKubernetes operations, string name, string pretty = default(string)) + public static V1ClusterRole ReadClusterRole(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadClusterRoleBindingAsync(name, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRoleAsync(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRoleBinding + /// read the specified ClusterRole /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// If 'true', then the output is pretty printed. @@ -73805,16 +59855,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRoleBindingAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRoleAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRoleBindingWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRoleWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified ClusterRole /// /// /// The operations group for this extension method. @@ -73822,7 +59872,7 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. An @@ -73846,13 +59896,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBinding PatchClusterRoleBinding(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1ClusterRole PatchClusterRole(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchClusterRoleBindingAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRoleAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified ClusterRole /// /// /// The operations group for this extension method. @@ -73860,7 +59910,7 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. An @@ -73887,16 +59937,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRoleBindingAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRoleAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRoleBindingWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRoleWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRoleBinding + /// replace the specified ClusterRole /// /// /// The operations group for this extension method. @@ -73904,7 +59954,7 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. An @@ -73921,13 +59971,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleBinding ReplaceClusterRoleBinding(this IKubernetes operations, V1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1ClusterRole ReplaceClusterRole(this IKubernetes operations, V1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceClusterRoleBindingAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRoleAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRoleBinding + /// replace the specified ClusterRole /// /// /// The operations group for this extension method. @@ -73935,7 +59985,7 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the ClusterRole /// /// /// When present, indicates that modifications should not be persisted. An @@ -73955,20 +60005,23 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRoleBindingAsync(this IKubernetes operations, V1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRoleAsync(this IKubernetes operations, V1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRoleBindingWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRoleWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRole + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -73977,8 +60030,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -74081,17 +60132,20 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRole(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRoleBinding(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRoleAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRoleBindingAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRole + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -74100,8 +60154,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -74207,20 +60259,23 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRoleAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRoleBindingAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRoleWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -74229,8 +60284,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -74303,17 +60356,20 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRoleList ListClusterRole(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1RoleBindingList ListNamespacedRoleBinding(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRoleAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRoleBindingAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -74322,8 +60378,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -74399,22 +60453,25 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRoleAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRoleBindingAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRoleWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRoleBindingWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRole + /// create a RoleBinding /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -74430,19 +60487,22 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRole CreateClusterRole(this IKubernetes operations, V1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1RoleBinding CreateNamespacedRoleBinding(this IKubernetes operations, V1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateClusterRoleAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRoleBindingAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRole + /// create a RoleBinding /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -74461,22 +60521,25 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateClusterRoleAsync(this IKubernetes operations, V1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRoleBindingAsync(this IKubernetes operations, V1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRoleWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRoleBindingWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRole + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -74511,19 +60574,22 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRole(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRoleBinding(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRoleAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRoleBindingAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRole + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -74561,39 +60627,45 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRoleAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRoleBindingAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRoleWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRoleBindingWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRole + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRole ReadClusterRole(this IKubernetes operations, string name, string pretty = default(string)) + public static V1RoleBinding ReadNamespacedRoleBinding(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadClusterRoleAsync(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedRoleBindingAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRole + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -74601,16 +60673,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRoleAsync(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRoleBindingAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRoleWithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRoleBindingWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRole + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. @@ -74618,7 +60690,10 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -74642,13 +60717,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRole PatchClusterRole(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1RoleBinding PatchNamespacedRoleBinding(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchClusterRoleAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedRoleBindingAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRole + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. @@ -74656,7 +60731,10 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -74683,16 +60761,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRoleAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRoleBindingAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRoleWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRole + /// replace the specified RoleBinding /// /// /// The operations group for this extension method. @@ -74700,7 +60778,10 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -74717,13 +60798,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1ClusterRole ReplaceClusterRole(this IKubernetes operations, V1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1RoleBinding ReplaceNamespacedRoleBinding(this IKubernetes operations, V1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceClusterRoleAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedRoleBindingAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRole + /// replace the specified RoleBinding /// /// /// The operations group for this extension method. @@ -74731,7 +60812,10 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -74751,16 +60835,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRoleAsync(this IKubernetes operations, V1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRoleBindingAsync(this IKubernetes operations, V1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRoleWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of RoleBinding + /// delete collection of Role /// /// /// The operations group for this extension method. @@ -74776,8 +60860,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -74880,13 +60962,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRoleBinding(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRole(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRoleBindingAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRoleAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of RoleBinding + /// delete collection of Role /// /// /// The operations group for this extension method. @@ -74902,8 +60984,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -75009,16 +61089,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRoleBindingAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRoleAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRoleBindingWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRoleWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. @@ -75034,8 +61114,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -75108,13 +61186,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1RoleBindingList ListNamespacedRoleBinding(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1RoleList ListNamespacedRole(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRoleBindingAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRoleAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. @@ -75130,8 +61208,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -75207,16 +61283,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRoleBindingAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRoleAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRoleBindingWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRoleWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a RoleBinding + /// create a Role /// /// /// The operations group for this extension method. @@ -75241,13 +61317,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1RoleBinding CreateNamespacedRoleBinding(this IKubernetes operations, V1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1Role CreateNamespacedRole(this IKubernetes operations, V1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedRoleBindingAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRoleAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a RoleBinding + /// create a Role /// /// /// The operations group for this extension method. @@ -75275,22 +61351,22 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedRoleBindingAsync(this IKubernetes operations, V1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRoleAsync(this IKubernetes operations, V1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRoleBindingWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRoleWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a RoleBinding + /// delete a Role /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding + /// name of the Role /// /// /// object name and auth scope, such as for teams and projects @@ -75328,19 +61404,19 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRoleBinding(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRole(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRoleBindingAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRoleAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a RoleBinding + /// delete a Role /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding + /// name of the Role /// /// /// object name and auth scope, such as for teams and projects @@ -75381,231 +61457,632 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRoleBindingAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRoleAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRoleBindingWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRoleWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified RoleBinding + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the RoleBinding + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Role ReadNamespacedRole(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + { + return operations.ReadNamespacedRoleAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified Role + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadNamespacedRoleAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadNamespacedRoleWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified Role + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Role PatchNamespacedRole(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchNamespacedRoleAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified Role + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchNamespacedRoleAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified Role + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Role ReplaceNamespacedRole(this IKubernetes operations, V1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceNamespacedRoleAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified Role + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceNamespacedRoleAsync(this IKubernetes operations, V1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind RoleBinding + /// + /// + /// The operations group for this extension method. + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1RoleBinding ReadNamespacedRoleBinding(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1RoleBindingList ListRoleBindingForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ReadNamespacedRoleBindingAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ListRoleBindingForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// read the specified RoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// name of the RoleBinding + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// The cancellation token. /// - public static async Task ReadNamespacedRoleBindingAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleBindingForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRoleBindingWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleBindingForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified RoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// - public static V1RoleBinding PatchNamespacedRoleBinding(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1RoleList ListRoleForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.PatchNamespacedRoleBindingAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.ListRoleForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// partially update the specified RoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. /// /// /// If 'true', then the output is pretty printed. /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// /// /// The cancellation token. /// - public static async Task PatchNamespacedRoleBindingAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified RoleBinding + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1RoleBinding ReplaceNamespacedRoleBinding(this IKubernetes operations, V1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1APIResourceList GetAPIResources32(this IKubernetes operations) { - return operations.ReplaceNamespacedRoleBindingAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources32Async().GetAwaiter().GetResult(); } /// - /// replace the specified RoleBinding + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRoleBindingAsync(this IKubernetes operations, V1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources32Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRoleBindingWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources32WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Role + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -75614,8 +62091,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -75718,20 +62193,17 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRole(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRoleBinding1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRoleAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRoleBinding1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Role + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -75740,8 +62212,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -75847,23 +62317,20 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRoleAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRoleBinding1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRoleWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -75872,8 +62339,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -75946,20 +62411,17 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1RoleList ListNamespacedRole(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1ClusterRoleBindingList ListClusterRoleBinding1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRoleAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRoleBinding1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -75968,8 +62430,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -76045,25 +62505,22 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRoleAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRoleBinding1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRoleWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRoleBinding1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Role + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -76079,22 +62536,19 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Role CreateNamespacedRole(this IKubernetes operations, V1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1ClusterRoleBinding CreateClusterRoleBinding1(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedRoleAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRoleBinding1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a Role + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -76113,25 +62567,22 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedRoleAsync(this IKubernetes operations, V1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRoleBinding1Async(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRoleWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRoleBinding1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Role + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// @@ -76166,22 +62617,19 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRole(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRoleBinding1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRoleAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRoleBinding1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Role + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// @@ -76219,45 +62667,39 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRoleAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRoleBinding1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRoleWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRoleBinding1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Role + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1Role ReadNamespacedRole(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1alpha1ClusterRoleBinding ReadClusterRoleBinding1(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadNamespacedRoleAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRoleBinding1Async(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Role + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -76265,16 +62707,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRoleAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRoleBinding1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRoleWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRoleBinding1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Role + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -76282,10 +62724,7 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -76309,13 +62748,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Role PatchNamespacedRole(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1alpha1ClusterRoleBinding PatchClusterRoleBinding1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedRoleAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRoleBinding1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Role + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -76323,10 +62762,7 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -76353,16 +62789,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRoleAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRoleBinding1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRoleBinding1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Role + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -76370,10 +62806,7 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -76390,13 +62823,13 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Role ReplaceNamespacedRole(this IKubernetes operations, V1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1ClusterRoleBinding ReplaceClusterRoleBinding1(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedRoleAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRoleBinding1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Role + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -76404,10 +62837,7 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -76427,16 +62857,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRoleAsync(this IKubernetes operations, V1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRoleBinding1Async(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRoleWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRoleBinding1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. @@ -76449,8 +62879,8 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -76473,10 +62903,23 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -76504,8 +62947,20 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after that @@ -76523,13 +62978,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1RoleBindingList ListRoleBindingForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionClusterRole1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRoleBindingForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRole1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. @@ -76542,8 +63000,8 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -76566,10 +63024,23 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -76597,8 +63068,20 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after that @@ -76616,19 +63099,22 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListRoleBindingForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRole1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleBindingForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRole1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. @@ -76641,8 +63127,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -76696,9 +63180,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -76715,13 +63196,16 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1RoleList ListRoleForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1ClusterRoleList ListClusterRole1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRoleForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListClusterRole1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. @@ -76734,8 +63218,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -76789,9 +63271,6 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -76808,51 +63287,381 @@ public static V1APIResourceList GetAPIResources32(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListRoleForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRole1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRole1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// create a ClusterRole /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources33(this IKubernetes operations) + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1ClusterRole CreateClusterRole1(this IKubernetes operations, V1alpha1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.GetAPIResources33Async().GetAwaiter().GetResult(); + return operations.CreateClusterRole1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// create a ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateClusterRole1Async(this IKubernetes operations, V1alpha1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateClusterRole1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete a ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ClusterRole + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteClusterRole1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeleteClusterRole1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a ClusterRole /// /// /// The operations group for this extension method. /// + /// + /// name of the ClusterRole + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIResources33Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRole1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources33WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRole1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRoleBinding + /// read the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ClusterRole + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1ClusterRole ReadClusterRole1(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadClusterRole1Async(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ClusterRole + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadClusterRole1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadClusterRole1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1ClusterRole PatchClusterRole1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchClusterRole1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchClusterRole1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchClusterRole1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1ClusterRole ReplaceClusterRole1(this IKubernetes operations, V1alpha1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceClusterRole1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceClusterRole1Async(this IKubernetes operations, V1alpha1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceClusterRole1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -76861,8 +63670,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -76965,17 +63772,20 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRoleBinding1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRoleBinding1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRoleBinding1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRoleBinding1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRoleBinding + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -76984,8 +63794,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -77091,20 +63899,23 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRoleBinding1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRoleBinding1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRoleBinding1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -77113,8 +63924,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -77187,17 +63996,20 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBindingList ListClusterRoleBinding1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1RoleBindingList ListNamespacedRoleBinding1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRoleBinding1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRoleBinding1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -77206,8 +64018,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -77283,22 +64093,25 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRoleBinding1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRoleBinding1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRoleBinding1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRoleBinding1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRoleBinding + /// create a RoleBinding /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -77314,19 +64127,22 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBinding CreateClusterRoleBinding1(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1RoleBinding CreateNamespacedRoleBinding1(this IKubernetes operations, V1alpha1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateClusterRoleBinding1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRoleBinding1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRoleBinding + /// create a RoleBinding /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -77345,22 +64161,25 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateClusterRoleBinding1Async(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRoleBinding1Async(this IKubernetes operations, V1alpha1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRoleBinding1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRoleBinding1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRoleBinding + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -77395,19 +64214,22 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRoleBinding1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRoleBinding1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRoleBinding1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRoleBinding1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRoleBinding + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -77445,39 +64267,45 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRoleBinding1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRoleBinding1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRoleBinding1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRoleBinding1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRoleBinding + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBinding ReadClusterRoleBinding1(this IKubernetes operations, string name, string pretty = default(string)) + public static V1alpha1RoleBinding ReadNamespacedRoleBinding1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadClusterRoleBinding1Async(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedRoleBinding1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRoleBinding + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -77485,16 +64313,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRoleBinding1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRoleBinding1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRoleBinding1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRoleBinding1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. @@ -77502,7 +64330,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -77526,13 +64357,13 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBinding PatchClusterRoleBinding1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1alpha1RoleBinding PatchNamespacedRoleBinding1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchClusterRoleBinding1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedRoleBinding1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. @@ -77540,7 +64371,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -77567,16 +64401,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRoleBinding1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRoleBinding1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRoleBinding1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRoleBinding + /// replace the specified RoleBinding /// /// /// The operations group for this extension method. @@ -77584,7 +64418,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -77601,13 +64438,13 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleBinding ReplaceClusterRoleBinding1(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1RoleBinding ReplaceNamespacedRoleBinding1(this IKubernetes operations, V1alpha1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceClusterRoleBinding1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedRoleBinding1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRoleBinding + /// replace the specified RoleBinding /// /// /// The operations group for this extension method. @@ -77615,7 +64452,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -77635,20 +64475,23 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRoleBinding1Async(this IKubernetes operations, V1alpha1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRoleBinding1Async(this IKubernetes operations, V1alpha1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRoleBinding1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRole + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -77657,8 +64500,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -77761,17 +64602,20 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRole1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRole1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRole1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRole1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRole + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -77780,8 +64624,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -77887,20 +64729,23 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRole1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRole1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRole1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRole1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -77909,8 +64754,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -77983,17 +64826,20 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRoleList ListClusterRole1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1RoleList ListNamespacedRole1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRole1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRole1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -78002,8 +64848,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -78079,22 +64923,25 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRole1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRole1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRole1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRole1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRole + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -78110,19 +64957,22 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRole CreateClusterRole1(this IKubernetes operations, V1alpha1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1Role CreateNamespacedRole1(this IKubernetes operations, V1alpha1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateClusterRole1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRole1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRole + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -78141,22 +64991,25 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateClusterRole1Async(this IKubernetes operations, V1alpha1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRole1Async(this IKubernetes operations, V1alpha1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRole1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRole1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRole + /// delete a Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -78191,19 +65044,22 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRole1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRole1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRole1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRole1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRole + /// delete a Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -78241,39 +65097,45 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRole1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRole1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRole1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRole1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRole + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRole ReadClusterRole1(this IKubernetes operations, string name, string pretty = default(string)) + public static V1alpha1Role ReadNamespacedRole1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadClusterRole1Async(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedRole1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRole + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -78281,16 +65143,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRole1Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRole1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRole1WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRole1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRole + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -78298,7 +65160,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -78322,13 +65187,13 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRole PatchClusterRole1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1alpha1Role PatchNamespacedRole1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchClusterRole1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedRole1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRole + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -78336,7 +65201,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -78363,16 +65231,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRole1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRole1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRole1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRole + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -78380,7 +65248,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -78397,13 +65268,13 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1ClusterRole ReplaceClusterRole1(this IKubernetes operations, V1alpha1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1Role ReplaceNamespacedRole1(this IKubernetes operations, V1alpha1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceClusterRole1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedRole1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRole + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -78411,7 +65282,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -78431,23 +65305,20 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRole1Async(this IKubernetes operations, V1alpha1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRole1Async(this IKubernetes operations, V1alpha1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRole1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of RoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -78456,10 +65327,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from the @@ -78482,23 +65349,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -78526,20 +65380,8 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after that @@ -78557,23 +65399,17 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedRoleBinding1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1RoleBindingList ListRoleBindingForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.DeleteCollectionNamespacedRoleBinding1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleBindingForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// delete collection of RoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -78582,10 +65418,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from the @@ -78608,23 +65440,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -78650,22 +65469,10 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// using limit to receive smaller chunks of a very large result can ensure /// they see all possible objects. If objects are updated during a chunked list /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// 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. + /// result was calculated is returned. /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after that @@ -78683,29 +65490,23 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRoleBinding1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleBindingForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRoleBinding1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -78714,8 +65515,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -78769,6 +65568,9 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -78785,23 +65587,17 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1RoleBindingList ListNamespacedRoleBinding1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1RoleList ListRoleForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListNamespacedRoleBinding1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -78810,8 +65606,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -78865,6 +65659,9 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -78881,411 +65678,51 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedRoleBinding1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedRoleBinding1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1RoleBinding CreateNamespacedRoleBinding1(this IKubernetes operations, V1alpha1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedRoleBinding1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedRoleBinding1Async(this IKubernetes operations, V1alpha1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedRoleBinding1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedRoleBinding1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedRoleBinding1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedRoleBinding1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedRoleBinding1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1RoleBinding ReadNamespacedRoleBinding1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedRoleBinding1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ReadNamespacedRoleBinding1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReadNamespacedRoleBinding1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// partially update the specified RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1RoleBinding PatchNamespacedRoleBinding1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) - { - return operations.PatchNamespacedRoleBinding1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); - } - - /// - /// partially update the specified RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchNamespacedRoleBinding1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified RoleBinding + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1alpha1RoleBinding ReplaceNamespacedRoleBinding1(this IKubernetes operations, V1alpha1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1APIResourceList GetAPIResources33(this IKubernetes operations) { - return operations.ReplaceNamespacedRoleBinding1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources33Async().GetAwaiter().GetResult(); } /// - /// replace the specified RoleBinding + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRoleBinding1Async(this IKubernetes operations, V1alpha1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources33Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRoleBinding1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources33WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Role + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -79294,8 +65731,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -79398,20 +65833,17 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRole1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionClusterRoleBinding2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRole1Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRoleBinding2Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Role + /// delete collection of ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -79420,8 +65852,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -79527,23 +65957,20 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRole1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRoleBinding2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRole1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -79552,8 +65979,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -79626,20 +66051,17 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1RoleList ListNamespacedRole1(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1ClusterRoleBindingList ListClusterRoleBinding2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRole1Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterRoleBinding2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -79648,8 +66070,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -79725,25 +66145,22 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRole1Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRoleBinding2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRole1WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRoleBinding2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Role + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -79759,22 +66176,19 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1Role CreateNamespacedRole1(this IKubernetes operations, V1alpha1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1ClusterRoleBinding CreateClusterRoleBinding2(this IKubernetes operations, V1beta1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedRole1Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateClusterRoleBinding2Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a Role + /// create a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -79793,25 +66207,22 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedRole1Async(this IKubernetes operations, V1alpha1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRoleBinding2Async(this IKubernetes operations, V1beta1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRole1WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRoleBinding2WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Role + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// @@ -79846,22 +66257,19 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRole1(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteClusterRoleBinding2(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRole1Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteClusterRoleBinding2Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Role + /// delete a ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// @@ -79899,45 +66307,39 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRole1Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterRoleBinding2Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRole1WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterRoleBinding2WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Role + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1Role ReadNamespacedRole1(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1beta1ClusterRoleBinding ReadClusterRoleBinding2(this IKubernetes operations, string name, string pretty = default(string)) { - return operations.ReadNamespacedRole1Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadClusterRoleBinding2Async(name, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Role + /// read the specified ClusterRoleBinding /// /// /// The operations group for this extension method. /// - /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// name of the ClusterRoleBinding /// /// /// If 'true', then the output is pretty printed. @@ -79945,16 +66347,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRole1Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadClusterRoleBinding2Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRole1WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadClusterRoleBinding2WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Role + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -79962,10 +66364,7 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -79989,13 +66388,13 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1Role PatchNamespacedRole1(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1ClusterRoleBinding PatchClusterRoleBinding2(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedRole1Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchClusterRoleBinding2Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Role + /// partially update the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -80003,10 +66402,7 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -80033,16 +66429,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRole1Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchClusterRoleBinding2Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchClusterRoleBinding2WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Role + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -80050,10 +66446,7 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -80070,13 +66463,13 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1Role ReplaceNamespacedRole1(this IKubernetes operations, V1alpha1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1ClusterRoleBinding ReplaceClusterRoleBinding2(this IKubernetes operations, V1beta1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedRole1Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceClusterRoleBinding2Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Role + /// replace the specified ClusterRoleBinding /// /// /// The operations group for this extension method. @@ -80084,10 +66477,7 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the ClusterRoleBinding /// /// /// When present, indicates that modifications should not be persisted. An @@ -80107,16 +66497,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRole1Async(this IKubernetes operations, V1alpha1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceClusterRoleBinding2Async(this IKubernetes operations, V1beta1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRole1WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceClusterRoleBinding2WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. @@ -80129,8 +66519,8 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -80153,10 +66543,23 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -80184,8 +66587,20 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after that @@ -80203,13 +66618,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1alpha1RoleBindingList ListRoleBindingForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionClusterRole2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRoleBindingForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.DeleteCollectionClusterRole2Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// delete collection of ClusterRole /// /// /// The operations group for this extension method. @@ -80222,8 +66640,8 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -80246,10 +66664,23 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -80277,8 +66708,20 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after that @@ -80296,19 +66739,22 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListRoleBindingForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionClusterRole2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleBindingForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionClusterRole2WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. @@ -80321,8 +66767,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -80376,9 +66820,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -80395,13 +66836,16 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1alpha1RoleList ListRoleForAllNamespaces1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1ClusterRoleList ListClusterRole2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRoleForAllNamespaces1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListClusterRole2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind ClusterRole /// /// /// The operations group for this extension method. @@ -80414,8 +66858,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -80469,9 +66911,6 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -80488,51 +66927,381 @@ public static V1APIResourceList GetAPIResources33(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListRoleForAllNamespaces1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterRole2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleForAllNamespaces1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterRole2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// create a ClusterRole /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources34(this IKubernetes operations) + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1ClusterRole CreateClusterRole2(this IKubernetes operations, V1beta1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.GetAPIResources34Async().GetAwaiter().GetResult(); + return operations.CreateClusterRole2Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// get available resources + /// create a ClusterRole /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIResources34Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateClusterRole2Async(this IKubernetes operations, V1beta1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources34WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateClusterRole2WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRoleBinding + /// delete a ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ClusterRole + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteClusterRole2(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeleteClusterRole2Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ClusterRole + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteClusterRole2Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteClusterRole2WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ClusterRole + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1ClusterRole ReadClusterRole2(this IKubernetes operations, string name, string pretty = default(string)) + { + return operations.ReadClusterRole2Async(name, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the ClusterRole + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadClusterRole2Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadClusterRole2WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1ClusterRole PatchClusterRole2(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchClusterRole2Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchClusterRole2Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchClusterRole2WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1ClusterRole ReplaceClusterRole2(this IKubernetes operations, V1beta1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplaceClusterRole2Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified ClusterRole + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the ClusterRole + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplaceClusterRole2Async(this IKubernetes operations, V1beta1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceClusterRole2WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -80541,8 +67310,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -80645,17 +67412,20 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRoleBinding2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRoleBinding2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRoleBinding2Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRoleBinding2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRoleBinding + /// delete collection of RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -80664,8 +67434,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -80771,20 +67539,23 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRoleBinding2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRoleBinding2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRoleBinding2WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -80793,8 +67564,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -80867,17 +67636,20 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBindingList ListClusterRoleBinding2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1RoleBindingList ListNamespacedRoleBinding2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRoleBinding2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRoleBinding2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -80886,8 +67658,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -80963,22 +67733,25 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRoleBinding2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRoleBinding2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRoleBinding2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRoleBinding2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRoleBinding + /// create a RoleBinding /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -80994,19 +67767,22 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBinding CreateClusterRoleBinding2(this IKubernetes operations, V1beta1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1RoleBinding CreateNamespacedRoleBinding2(this IKubernetes operations, V1beta1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateClusterRoleBinding2Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRoleBinding2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRoleBinding + /// create a RoleBinding /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -81025,22 +67801,25 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateClusterRoleBinding2Async(this IKubernetes operations, V1beta1ClusterRoleBinding body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRoleBinding2Async(this IKubernetes operations, V1beta1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRoleBinding2WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRoleBinding2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRoleBinding + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -81075,19 +67854,22 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRoleBinding2(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRoleBinding2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRoleBinding2Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRoleBinding2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRoleBinding + /// delete a RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -81125,39 +67907,45 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRoleBinding2Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRoleBinding2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRoleBinding2WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRoleBinding2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRoleBinding + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBinding ReadClusterRoleBinding2(this IKubernetes operations, string name, string pretty = default(string)) + public static V1beta1RoleBinding ReadNamespacedRoleBinding2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadClusterRoleBinding2Async(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedRoleBinding2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRoleBinding + /// read the specified RoleBinding /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -81165,16 +67953,16 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRoleBinding2Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRoleBinding2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRoleBinding2WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRoleBinding2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. @@ -81182,7 +67970,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -81206,13 +67997,13 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBinding PatchClusterRoleBinding2(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1RoleBinding PatchNamespacedRoleBinding2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchClusterRoleBinding2Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedRoleBinding2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRoleBinding + /// partially update the specified RoleBinding /// /// /// The operations group for this extension method. @@ -81220,7 +68011,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -81247,16 +68041,16 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRoleBinding2Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRoleBinding2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRoleBinding2WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRoleBinding + /// replace the specified RoleBinding /// /// /// The operations group for this extension method. @@ -81264,7 +68058,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -81281,13 +68078,13 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleBinding ReplaceClusterRoleBinding2(this IKubernetes operations, V1beta1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1RoleBinding ReplaceNamespacedRoleBinding2(this IKubernetes operations, V1beta1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceClusterRoleBinding2Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedRoleBinding2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRoleBinding + /// replace the specified RoleBinding /// /// /// The operations group for this extension method. @@ -81295,7 +68092,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the ClusterRoleBinding + /// name of the RoleBinding + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -81315,20 +68115,23 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRoleBinding2Async(this IKubernetes operations, V1beta1ClusterRoleBinding body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRoleBinding2Async(this IKubernetes operations, V1beta1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRoleBinding2WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of ClusterRole + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -81337,8 +68140,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -81441,17 +68242,20 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionClusterRole2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedRole2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionClusterRole2Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedRole2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of ClusterRole + /// delete collection of Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -81460,8 +68264,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -81567,20 +68369,23 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionClusterRole2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedRole2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionClusterRole2WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedRole2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -81589,8 +68394,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -81663,17 +68466,20 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRoleList ListClusterRole2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1RoleList ListNamespacedRole2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterRole2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedRole2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind ClusterRole + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -81682,8 +68488,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -81759,22 +68563,25 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterRole2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedRole2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterRole2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedRole2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a ClusterRole + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -81790,19 +68597,22 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRole CreateClusterRole2(this IKubernetes operations, V1beta1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1Role CreateNamespacedRole2(this IKubernetes operations, V1beta1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateClusterRole2Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedRole2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a ClusterRole + /// create a Role /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -81821,22 +68631,25 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateClusterRole2Async(this IKubernetes operations, V1beta1ClusterRole body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedRole2Async(this IKubernetes operations, V1beta1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateClusterRole2WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedRole2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a ClusterRole + /// delete a Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -81871,19 +68684,22 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteClusterRole2(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedRole2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteClusterRole2Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedRole2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a ClusterRole + /// delete a Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -81921,39 +68737,45 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteClusterRole2Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedRole2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterRole2WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedRole2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified ClusterRole + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRole ReadClusterRole2(this IKubernetes operations, string name, string pretty = default(string)) + public static V1beta1Role ReadNamespacedRole2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) { - return operations.ReadClusterRole2Async(name, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedRole2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); } /// - /// read the specified ClusterRole + /// read the specified Role /// /// /// The operations group for this extension method. /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// If 'true', then the output is pretty printed. @@ -81961,16 +68783,16 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadClusterRole2Async(this IKubernetes operations, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedRole2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadClusterRole2WithHttpMessagesAsync(name, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedRole2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified ClusterRole + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -81978,7 +68800,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -82002,13 +68827,13 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRole PatchClusterRole2(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1Role PatchNamespacedRole2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchClusterRole2Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedRole2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified ClusterRole + /// partially update the specified Role /// /// /// The operations group for this extension method. @@ -82016,7 +68841,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -82043,16 +68871,16 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchClusterRole2Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedRole2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchClusterRole2WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified ClusterRole + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -82060,7 +68888,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -82077,13 +68908,13 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1ClusterRole ReplaceClusterRole2(this IKubernetes operations, V1beta1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1Role ReplaceNamespacedRole2(this IKubernetes operations, V1beta1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceClusterRole2Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedRole2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified ClusterRole + /// replace the specified Role /// /// /// The operations group for this extension method. @@ -82091,7 +68922,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the ClusterRole + /// name of the Role + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -82111,23 +68945,20 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceClusterRole2Async(this IKubernetes operations, V1beta1ClusterRole body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedRole2Async(this IKubernetes operations, V1beta1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceClusterRole2WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of RoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -82136,10 +68967,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from the @@ -82162,23 +68989,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -82206,20 +69020,8 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after that @@ -82237,23 +69039,17 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteCollectionNamespacedRoleBinding2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1RoleBindingList ListRoleBindingForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.DeleteCollectionNamespacedRoleBinding2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleBindingForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// delete collection of RoleBinding + /// list or watch objects of kind RoleBinding /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -82262,10 +69058,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from the @@ -82288,23 +69080,10 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -82332,20 +69111,8 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after that @@ -82363,29 +69130,23 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRoleBinding2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleBindingForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRoleBinding2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -82394,8 +69155,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -82449,6 +69208,9 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -82465,23 +69227,17 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1RoleBindingList ListNamespacedRoleBinding2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1RoleList ListRoleForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - return operations.ListNamespacedRoleBinding2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListRoleForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// list or watch objects of kind Role /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -82490,8 +69246,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -82545,6 +69299,9 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -82561,411 +69318,79 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task ListNamespacedRoleBinding2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNamespacedRoleBinding2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// create a RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1RoleBinding CreateNamespacedRoleBinding2(this IKubernetes operations, V1beta1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) - { - return operations.CreateNamespacedRoleBinding2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); - } - - /// - /// create a RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task CreateNamespacedRoleBinding2Async(this IKubernetes operations, V1beta1RoleBinding body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateNamespacedRoleBinding2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// delete a RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1Status DeleteNamespacedRoleBinding2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) - { - return operations.DeleteNamespacedRoleBinding2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); - } - - /// - /// delete a RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteNamespacedRoleBinding2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.DeleteNamespacedRoleBinding2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// read the specified RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1RoleBinding ReadNamespacedRoleBinding2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) - { - return operations.ReadNamespacedRoleBinding2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); - } - - /// - /// read the specified RoleBinding - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReadNamespacedRoleBinding2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListRoleForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRoleBinding2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListRoleForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified RoleBinding + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1RoleBinding PatchNamespacedRoleBinding2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1APIGroup GetAPIGroup19(this IKubernetes operations) { - return operations.PatchNamespacedRoleBinding2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.GetAPIGroup19Async().GetAwaiter().GetResult(); } /// - /// partially update the specified RoleBinding + /// get information of a group /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply - /// requests (application/apply-patch) but optional for non-apply patch types - /// (JsonPatch, MergePatch, StrategicMergePatch). - /// - /// - /// Force is going to "force" Apply requests. It means user will re-acquire - /// conflicting fields owned by other people. Force flag must be unset for - /// non-apply patch requests. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task PatchNamespacedRoleBinding2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIGroup19Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIGroup19WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified RoleBinding + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// - public static V1beta1RoleBinding ReplaceNamespacedRoleBinding2(this IKubernetes operations, V1beta1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1APIResourceList GetAPIResources34(this IKubernetes operations) { - return operations.ReplaceNamespacedRoleBinding2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.GetAPIResources34Async().GetAwaiter().GetResult(); } /// - /// replace the specified RoleBinding + /// get available resources /// /// /// The operations group for this extension method. /// - /// - /// - /// - /// name of the RoleBinding - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// - /// - /// fieldManager is a name associated with the actor or entity that is making - /// these changes. The value must be less than or 128 characters long, and only - /// contain printable characters, as defined by - /// https://golang.org/pkg/unicode/#IsPrint. - /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRoleBinding2Async(this IKubernetes operations, V1beta1RoleBinding body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources34Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRoleBinding2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources34WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of Role + /// delete collection of PriorityClass /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -82974,8 +69399,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -83078,20 +69501,17 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedRole2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionPriorityClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedRole2Async(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionPriorityClassAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of Role + /// delete collection of PriorityClass /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -83100,8 +69520,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -83207,23 +69625,20 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedRole2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPriorityClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedRole2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPriorityClassWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind PriorityClass /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -83232,8 +69647,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -83306,20 +69719,17 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1RoleList ListNamespacedRole2(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1PriorityClassList ListPriorityClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedRole2Async(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListPriorityClassAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind PriorityClass /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -83328,8 +69738,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -83405,25 +69813,22 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedRole2Async(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPriorityClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedRole2WithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPriorityClassWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a Role + /// create a PriorityClass /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -83439,22 +69844,19 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Role CreateNamespacedRole2(this IKubernetes operations, V1beta1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1PriorityClass CreatePriorityClass(this IKubernetes operations, V1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedRole2Async(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreatePriorityClassAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a Role + /// create a PriorityClass /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -83473,25 +69875,22 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedRole2Async(this IKubernetes operations, V1beta1Role body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePriorityClassAsync(this IKubernetes operations, V1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedRole2WithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePriorityClassWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a Role + /// delete a PriorityClass /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// @@ -83526,22 +69925,19 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedRole2(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeletePriorityClass(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedRole2Async(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeletePriorityClassAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a Role + /// delete a PriorityClass /// /// /// The operations group for this extension method. /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// @@ -83579,45 +69975,55 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedRole2Async(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePriorityClassAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedRole2WithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePriorityClassWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified Role + /// read the specified PriorityClass /// /// /// The operations group for this extension method. /// /// - /// name of the Role + /// name of the PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Role ReadNamespacedRole2(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + public static V1PriorityClass ReadPriorityClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedRole2Async(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.ReadPriorityClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified Role + /// read the specified PriorityClass /// /// /// The operations group for this extension method. /// /// - /// name of the Role + /// name of the PriorityClass /// - /// - /// object name and auth scope, such as for teams and projects + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. /// /// /// If 'true', then the output is pretty printed. @@ -83625,16 +70031,16 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedRole2Async(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadPriorityClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedRole2WithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadPriorityClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified Role + /// partially update the specified PriorityClass /// /// /// The operations group for this extension method. @@ -83642,10 +70048,7 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -83669,13 +70072,13 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Role PatchNamespacedRole2(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1PriorityClass PatchPriorityClass(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedRole2Async(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchPriorityClassAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified Role + /// partially update the specified PriorityClass /// /// /// The operations group for this extension method. @@ -83683,10 +70086,7 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -83713,16 +70113,16 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedRole2Async(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchPriorityClassAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchPriorityClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified Role + /// replace the specified PriorityClass /// /// /// The operations group for this extension method. @@ -83730,10 +70130,7 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -83750,13 +70147,13 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1Role ReplaceNamespacedRole2(this IKubernetes operations, V1beta1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1PriorityClass ReplacePriorityClass(this IKubernetes operations, V1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedRole2Async(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplacePriorityClassAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified Role + /// replace the specified PriorityClass /// /// /// The operations group for this extension method. @@ -83764,10 +70161,7 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// /// - /// name of the Role - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the PriorityClass /// /// /// When present, indicates that modifications should not be persisted. An @@ -83787,16 +70181,44 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedRole2Async(this IKubernetes operations, V1beta1Role body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplacePriorityClassAsync(this IKubernetes operations, V1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceNamespacedRole2WithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplacePriorityClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind RoleBinding + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources35(this IKubernetes operations) + { + return operations.GetAPIResources35Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources35Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources35WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of PriorityClass /// /// /// The operations group for this extension method. @@ -83809,8 +70231,8 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -83833,10 +70255,23 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -83864,8 +70299,20 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after that @@ -83883,13 +70330,16 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1RoleBindingList ListRoleBindingForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeleteCollectionPriorityClass1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRoleBindingForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.DeleteCollectionPriorityClass1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind RoleBinding + /// delete collection of PriorityClass /// /// /// The operations group for this extension method. @@ -83902,8 +70352,8 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -83926,10 +70376,23 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -83957,8 +70420,20 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. /// /// /// When specified with a watch call, shows changes that occur after that @@ -83976,19 +70451,22 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListRoleBindingForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPriorityClass1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleBindingForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPriorityClass1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind Role + /// list or watch objects of kind PriorityClass /// /// /// The operations group for this extension method. @@ -84001,8 +70479,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -84056,9 +70532,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -84075,13 +70548,16 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - public static V1beta1RoleList ListRoleForAllNamespaces2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityClassList ListPriorityClass1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListRoleForAllNamespaces2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); + return operations.ListPriorityClass1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind Role + /// list or watch objects of kind PriorityClass /// /// /// The operations group for this extension method. @@ -84094,8 +70570,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -84149,9 +70623,6 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// If 'true', then the output is pretty printed. - /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -84168,40 +70639,383 @@ public static V1APIResourceList GetAPIResources34(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task ListRoleForAllNamespaces2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPriorityClass1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListRoleForAllNamespaces2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPriorityClass1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get information of a group + /// create a PriorityClass /// /// /// The operations group for this extension method. /// - public static V1APIGroup GetAPIGroup18(this IKubernetes operations) + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityClass CreatePriorityClass1(this IKubernetes operations, V1alpha1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.GetAPIGroup18Async().GetAwaiter().GetResult(); + return operations.CreatePriorityClass1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// get information of a group + /// create a PriorityClass /// /// /// The operations group for this extension method. /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// /// /// The cancellation token. /// - public static async Task GetAPIGroup18Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePriorityClass1Async(this IKubernetes operations, V1alpha1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIGroup18WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePriorityClass1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete a PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the PriorityClass + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1Status DeletePriorityClass1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeletePriorityClass1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the PriorityClass + /// + /// + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task DeletePriorityClass1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeletePriorityClass1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read the specified PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the PriorityClass + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityClass ReadPriorityClass1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + { + return operations.ReadPriorityClass1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// name of the PriorityClass + /// + /// + /// Should the export be exact. Exact export maintains cluster-specific fields + /// like 'Namespace'. Deprecated. Planned for removal in 1.18. + /// + /// + /// Should this value be exported. Export strips fields that a user can not + /// specify. Deprecated. Planned for removal in 1.18. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReadPriorityClass1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReadPriorityClass1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityClass PatchPriorityClass1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + { + return operations.PatchPriorityClass1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. This field is required for apply + /// requests (application/apply-patch) but optional for non-apply patch types + /// (JsonPatch, MergePatch, StrategicMergePatch). + /// + /// + /// Force is going to "force" Apply requests. It means user will re-acquire + /// conflicting fields owned by other people. Force flag must be unset for + /// non-apply patch requests. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task PatchPriorityClass1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchPriorityClass1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1alpha1PriorityClass ReplacePriorityClass1(this IKubernetes operations, V1alpha1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + { + return operations.ReplacePriorityClass1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified PriorityClass + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PriorityClass + /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// + /// + /// fieldManager is a name associated with the actor or entity that is making + /// these changes. The value must be less than or 128 characters long, and only + /// contain printable characters, as defined by + /// https://golang.org/pkg/unicode/#IsPrint. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task ReplacePriorityClass1Async(this IKubernetes operations, V1alpha1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplacePriorityClass1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -84213,9 +71027,9 @@ public static V1APIGroup GetAPIGroup18(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources35(this IKubernetes operations) + public static V1APIResourceList GetAPIResources36(this IKubernetes operations) { - return operations.GetAPIResources35Async().GetAwaiter().GetResult(); + return operations.GetAPIResources36Async().GetAwaiter().GetResult(); } /// @@ -84227,9 +71041,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources35Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources36Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources35WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources36WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -84249,8 +71063,6 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -84353,9 +71165,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionPriorityClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionPriorityClass2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionPriorityClassAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionPriorityClass2Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -84372,8 +71184,6 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -84479,9 +71289,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionPriorityClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionPriorityClass2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionPriorityClassWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionPriorityClass2WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -84501,8 +71311,6 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -84575,9 +71383,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1PriorityClassList ListPriorityClass(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1PriorityClassList ListPriorityClass2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListPriorityClassAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListPriorityClass2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -84594,8 +71402,6 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -84671,9 +71477,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPriorityClassAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListPriorityClass2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPriorityClassWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListPriorityClass2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -84702,9 +71508,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1PriorityClass CreatePriorityClass(this IKubernetes operations, V1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1PriorityClass CreatePriorityClass2(this IKubernetes operations, V1beta1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreatePriorityClassAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreatePriorityClass2Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -84733,9 +71539,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreatePriorityClassAsync(this IKubernetes operations, V1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreatePriorityClass2Async(this IKubernetes operations, V1beta1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreatePriorityClassWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreatePriorityClass2WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -84783,9 +71589,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePriorityClass(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeletePriorityClass2(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePriorityClassAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeletePriorityClass2Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -84833,9 +71639,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeletePriorityClassAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeletePriorityClass2Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePriorityClassWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeletePriorityClass2WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -84861,9 +71667,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1PriorityClass ReadPriorityClass(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1PriorityClass ReadPriorityClass2(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadPriorityClassAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadPriorityClass2Async(name, exact, export, pretty).GetAwaiter().GetResult(); } /// @@ -84889,9 +71695,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadPriorityClassAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadPriorityClass2Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadPriorityClassWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadPriorityClass2WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -84930,9 +71736,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1PriorityClass PatchPriorityClass(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1PriorityClass PatchPriorityClass2(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchPriorityClassAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchPriorityClass2Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// @@ -84971,9 +71777,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchPriorityClassAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchPriorityClass2Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchPriorityClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchPriorityClass2WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -85005,9 +71811,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1PriorityClass ReplacePriorityClass(this IKubernetes operations, V1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1PriorityClass ReplacePriorityClass2(this IKubernetes operations, V1beta1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplacePriorityClassAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplacePriorityClass2Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -85039,9 +71845,37 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplacePriorityClassAsync(this IKubernetes operations, V1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplacePriorityClass2Async(this IKubernetes operations, V1beta1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplacePriorityClassWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplacePriorityClass2WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup20(this IKubernetes operations) + { + return operations.GetAPIGroup20Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup20Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup20WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -85053,9 +71887,9 @@ public static V1APIResourceList GetAPIResources35(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources36(this IKubernetes operations) + public static V1APIResourceList GetAPIResources37(this IKubernetes operations) { - return operations.GetAPIResources36Async().GetAwaiter().GetResult(); + return operations.GetAPIResources37Async().GetAwaiter().GetResult(); } /// @@ -85067,20 +71901,23 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources36Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources37Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources36WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources37WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of PriorityClass + /// delete collection of PodPreset /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -85089,8 +71926,6 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -85193,17 +72028,20 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionPriorityClass1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionNamespacedPodPreset(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionPriorityClass1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionNamespacedPodPresetAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PriorityClass + /// delete collection of PodPreset /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -85212,8 +72050,6 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -85319,20 +72155,23 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionPriorityClass1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionNamespacedPodPresetAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionPriorityClass1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind PodPreset /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -85341,8 +72180,6 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -85415,17 +72252,20 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClassList ListPriorityClass1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1alpha1PodPresetList ListNamespacedPodPreset(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListPriorityClass1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedPodPresetAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind PodPreset /// /// /// The operations group for this extension method. /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -85434,8 +72274,6 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -85511,22 +72349,25 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPriorityClass1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedPodPresetAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPriorityClass1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedPodPresetWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PriorityClass + /// create a PodPreset /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -85542,19 +72383,22 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClass CreatePriorityClass1(this IKubernetes operations, V1alpha1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1PodPreset CreateNamespacedPodPreset(this IKubernetes operations, V1alpha1PodPreset body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreatePriorityClass1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateNamespacedPodPresetAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a PriorityClass + /// create a PodPreset /// /// /// The operations group for this extension method. /// /// /// + /// + /// object name and auth scope, such as for teams and projects + /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -85573,22 +72417,25 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreatePriorityClass1Async(this IKubernetes operations, V1alpha1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateNamespacedPodPresetAsync(this IKubernetes operations, V1alpha1PodPreset body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreatePriorityClass1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateNamespacedPodPresetWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PriorityClass + /// delete a PodPreset /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -85623,19 +72470,22 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePriorityClass1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1Status DeleteNamespacedPodPreset(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePriorityClass1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedPodPresetAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PriorityClass + /// delete a PodPreset /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// @@ -85673,22 +72523,25 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeletePriorityClass1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedPodPresetAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePriorityClass1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedPodPresetWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PriorityClass + /// read the specified PodPreset /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -85701,19 +72554,22 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClass ReadPriorityClass1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1alpha1PodPreset ReadNamespacedPodPreset(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadPriorityClass1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadNamespacedPodPresetAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PriorityClass + /// read the specified PodPreset /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -85729,16 +72585,16 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadPriorityClass1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadNamespacedPodPresetAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadPriorityClass1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadNamespacedPodPresetWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PriorityClass + /// partially update the specified PodPreset /// /// /// The operations group for this extension method. @@ -85746,7 +72602,10 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -85770,13 +72629,13 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClass PatchPriorityClass1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1alpha1PodPreset PatchNamespacedPodPreset(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchPriorityClass1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchNamespacedPodPresetAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PriorityClass + /// partially update the specified PodPreset /// /// /// The operations group for this extension method. @@ -85784,7 +72643,10 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -85811,16 +72673,16 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchPriorityClass1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchNamespacedPodPresetAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchPriorityClass1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PriorityClass + /// replace the specified PodPreset /// /// /// The operations group for this extension method. @@ -85828,7 +72690,10 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -85845,13 +72710,13 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PriorityClass ReplacePriorityClass1(this IKubernetes operations, V1alpha1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1alpha1PodPreset ReplaceNamespacedPodPreset(this IKubernetes operations, V1alpha1PodPreset body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplacePriorityClass1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceNamespacedPodPresetAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PriorityClass + /// replace the specified PodPreset /// /// /// The operations group for this extension method. @@ -85859,7 +72724,10 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the PodPreset + /// + /// + /// object name and auth scope, such as for teams and projects /// /// /// When present, indicates that modifications should not be persisted. An @@ -85879,44 +72747,107 @@ public static V1APIResourceList GetAPIResources36(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplacePriorityClass1Async(this IKubernetes operations, V1alpha1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceNamespacedPodPresetAsync(this IKubernetes operations, V1alpha1PodPreset body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplacePriorityClass1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// get available resources + /// list or watch objects of kind PodPreset /// /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources37(this IKubernetes operations) - { - return operations.GetAPIResources37Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// - /// - /// The cancellation token. + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. /// - public static async Task GetAPIResources37Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + public static V1alpha1PodPresetList ListPodPresetForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) { - using (var _result = await operations.GetAPIResources37WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.ListPodPresetForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); } /// - /// delete collection of PriorityClass + /// list or watch objects of kind PodPreset /// /// /// The operations group for this extension method. @@ -85929,10 +72860,6 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. - /// - /// /// /// /// The continue option should be set when retrieving more results from the @@ -85955,23 +72882,10 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// - /// - /// When present, indicates that modifications should not be persisted. An - /// invalid or unrecognized dryRun directive will result in an error response - /// and no further processing of the request. Valid values are: - All: all dry - /// run stages will be processed - /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// - /// - /// 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. - /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -85999,20 +72913,8 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// - /// - /// 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. - /// - /// - /// 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. Acceptable values are: 'Orphan' - orphan - /// the dependents; 'Background' - allow the garbage collector to delete the - /// dependents in the background; 'Foreground' - a cascading policy that - /// deletes all dependents in the foreground. + /// + /// If 'true', then the output is pretty printed. /// /// /// When specified with a watch call, shows changes that occur after that @@ -86030,16 +72932,75 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// Watch for changes to the described resources and return them as a stream of /// add, update, and remove notifications. Specify resourceVersion. /// - /// - /// If 'true', then the output is pretty printed. + /// + /// The cancellation token. /// - public static V1Status DeleteCollectionPriorityClass2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static async Task ListPodPresetForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.DeleteCollectionPriorityClass2Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.ListPodPresetForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// delete collection of PriorityClass + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + public static V1APIGroup GetAPIGroup21(this IKubernetes operations) + { + return operations.GetAPIGroup21Async().GetAwaiter().GetResult(); + } + + /// + /// get information of a group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIGroup21Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIGroup21WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources38(this IKubernetes operations) + { + return operations.GetAPIResources38Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources38Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources38WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of CSIDriver /// /// /// The operations group for this extension method. @@ -86052,8 +73013,6 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -86156,19 +73115,13 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - /// - /// The cancellation token. - /// - public static async Task DeleteCollectionPriorityClass2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static V1Status DeleteCollectionCSIDriver(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - using (var _result = await operations.DeleteCollectionPriorityClass2WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + return operations.DeleteCollectionCSIDriverAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PriorityClass + /// delete collection of CSIDriver /// /// /// The operations group for this extension method. @@ -86181,8 +73134,8 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. + /// + /// /// /// /// The continue option should be set when retrieving more results from the @@ -86205,10 +73158,23 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// from the last resourceVersion value returned by the server and not miss any /// modifications. /// + /// + /// When present, indicates that modifications should not be persisted. An + /// invalid or unrecognized dryRun directive will result in an error response + /// and no further processing of the request. Valid values are: - All: all dry + /// run stages will be processed + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. /// + /// + /// 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. + /// /// /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. @@ -86236,6 +73202,21 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// the version of the object that was present at the time the first list /// result was calculated is returned. /// + /// + /// 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. + /// + /// + /// 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. Acceptable values are: 'Orphan' - orphan + /// the dependents; 'Background' - allow the garbage collector to delete the + /// dependents in the background; 'Foreground' - a cascading policy that + /// deletes all dependents in the foreground. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -86255,13 +73236,19 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PriorityClassList ListPriorityClass2(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + /// + /// The cancellation token. + /// + public static async Task DeleteCollectionCSIDriverAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListPriorityClass2Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + using (var _result = await operations.DeleteCollectionCSIDriverWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// list or watch objects of kind PriorityClass + /// list or watch objects of kind CSIDriver /// /// /// The operations group for this extension method. @@ -86274,8 +73261,97 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. + /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". /// - /// This field is beta. + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// + /// + /// A selector to restrict the list of returned objects by their fields. + /// Defaults to everything. + /// + /// + /// A selector to restrict the list of returned objects by their labels. + /// Defaults to everything. + /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return what we currently have in cache, no guarantee; - if set to non zero, + /// then the result is at least as fresh as given rv. + /// + /// + /// Timeout for the list/watch call. This limits the duration of the call, + /// regardless of any activity or inactivity. + /// + /// + /// Watch for changes to the described resources and return them as a stream of + /// add, update, and remove notifications. Specify resourceVersion. + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1CSIDriverList ListCSIDriver(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + { + return operations.ListCSIDriverAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind CSIDriver + /// + /// + /// The operations group for this extension method. + /// + /// + /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers + /// that do not implement bookmarks may ignore this flag and bookmarks are sent + /// at the server's discretion. Clients should not assume bookmarks are + /// returned at any specific interval, nor may they assume the server will send + /// any BOOKMARK event during a session. If this is not a watch, this field is + /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, + /// this field is ignored. /// /// /// The continue option should be set when retrieving more results from the @@ -86351,16 +73427,16 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListPriorityClass2Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCSIDriverAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListPriorityClass2WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCSIDriverWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PriorityClass + /// create a CSIDriver /// /// /// The operations group for this extension method. @@ -86382,13 +73458,13 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PriorityClass CreatePriorityClass2(this IKubernetes operations, V1beta1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1CSIDriver CreateCSIDriver(this IKubernetes operations, V1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreatePriorityClass2Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateCSIDriverAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a PriorityClass + /// create a CSIDriver /// /// /// The operations group for this extension method. @@ -86413,22 +73489,22 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreatePriorityClass2Async(this IKubernetes operations, V1beta1PriorityClass body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateCSIDriverAsync(this IKubernetes operations, V1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreatePriorityClass2WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateCSIDriverWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PriorityClass + /// delete a CSIDriver /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// @@ -86463,19 +73539,19 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeletePriorityClass2(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1CSIDriver DeleteCSIDriver(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeletePriorityClass2Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteCSIDriverAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PriorityClass + /// delete a CSIDriver /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// @@ -86513,22 +73589,22 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeletePriorityClass2Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCSIDriverAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeletePriorityClass2WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCSIDriverWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PriorityClass + /// read the specified CSIDriver /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -86541,19 +73617,19 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PriorityClass ReadPriorityClass2(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1CSIDriver ReadCSIDriver(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadPriorityClass2Async(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadCSIDriverAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PriorityClass + /// read the specified CSIDriver /// /// /// The operations group for this extension method. /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -86569,16 +73645,16 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadPriorityClass2Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadCSIDriverAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadPriorityClass2WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadCSIDriverWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PriorityClass + /// partially update the specified CSIDriver /// /// /// The operations group for this extension method. @@ -86586,7 +73662,7 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// When present, indicates that modifications should not be persisted. An @@ -86610,13 +73686,13 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PriorityClass PatchPriorityClass2(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1CSIDriver PatchCSIDriver(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchPriorityClass2Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchCSIDriverAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PriorityClass + /// partially update the specified CSIDriver /// /// /// The operations group for this extension method. @@ -86624,7 +73700,7 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// When present, indicates that modifications should not be persisted. An @@ -86651,16 +73727,16 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchPriorityClass2Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchCSIDriverAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchPriorityClass2WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchCSIDriverWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PriorityClass + /// replace the specified CSIDriver /// /// /// The operations group for this extension method. @@ -86668,7 +73744,7 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// When present, indicates that modifications should not be persisted. An @@ -86685,13 +73761,13 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PriorityClass ReplacePriorityClass2(this IKubernetes operations, V1beta1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1CSIDriver ReplaceCSIDriver(this IKubernetes operations, V1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplacePriorityClass2Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceCSIDriverAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PriorityClass + /// replace the specified CSIDriver /// /// /// The operations group for this extension method. @@ -86699,7 +73775,7 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// /// - /// name of the PriorityClass + /// name of the CSIDriver /// /// /// When present, indicates that modifications should not be persisted. An @@ -86719,79 +73795,20 @@ public static V1APIResourceList GetAPIResources37(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplacePriorityClass2Async(this IKubernetes operations, V1beta1PriorityClass body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplacePriorityClass2WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup19(this IKubernetes operations) - { - return operations.GetAPIGroup19Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup19Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup19WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources38(this IKubernetes operations) - { - return operations.GetAPIResources38Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources38Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceCSIDriverAsync(this IKubernetes operations, V1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources38WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceCSIDriverWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete collection of PodPreset + /// delete collection of CSINode /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -86800,8 +73817,6 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -86904,20 +73919,17 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionNamespacedPodPreset(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionCSINode(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionNamespacedPodPresetAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionCSINodeAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// delete collection of PodPreset + /// delete collection of CSINode /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -86926,8 +73938,6 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -87033,23 +74043,20 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionNamespacedPodPresetAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionCSINodeAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionNamespacedPodPresetWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionCSINodeWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind CSINode /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -87058,8 +74065,6 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -87132,20 +74137,17 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PodPresetList ListNamespacedPodPreset(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1CSINodeList ListCSINode(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedPodPresetAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListCSINodeAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// - /// list or watch objects of kind PodPreset + /// list or watch objects of kind CSINode /// /// /// The operations group for this extension method. /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers /// that do not implement bookmarks may ignore this flag and bookmarks are sent @@ -87154,8 +74156,6 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -87231,25 +74231,22 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedPodPresetAsync(this IKubernetes operations, string namespaceParameter, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCSINodeAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedPodPresetWithHttpMessagesAsync(namespaceParameter, allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCSINodeWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// create a PodPreset + /// create a CSINode /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -87265,22 +74262,19 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PodPreset CreateNamespacedPodPreset(this IKubernetes operations, V1alpha1PodPreset body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1CSINode CreateCSINode(this IKubernetes operations, V1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateNamespacedPodPresetAsync(body, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateCSINodeAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// create a PodPreset + /// create a CSINode /// /// /// The operations group for this extension method. /// /// /// - /// - /// object name and auth scope, such as for teams and projects - /// /// /// When present, indicates that modifications should not be persisted. An /// invalid or unrecognized dryRun directive will result in an error response @@ -87299,25 +74293,22 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateNamespacedPodPresetAsync(this IKubernetes operations, V1alpha1PodPreset body, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateCSINodeAsync(this IKubernetes operations, V1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateNamespacedPodPresetWithHttpMessagesAsync(body, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateCSINodeWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// delete a PodPreset + /// delete a CSINode /// /// /// The operations group for this extension method. /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// @@ -87352,22 +74343,19 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteNamespacedPodPreset(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1CSINode DeleteCSINode(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteNamespacedPodPresetAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteCSINodeAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// - /// delete a PodPreset + /// delete a CSINode /// /// /// The operations group for this extension method. /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// @@ -87405,25 +74393,22 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteNamespacedPodPresetAsync(this IKubernetes operations, string name, string namespaceParameter, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCSINodeAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedPodPresetWithHttpMessagesAsync(name, namespaceParameter, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCSINodeWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// read the specified PodPreset + /// read the specified CSINode /// /// /// The operations group for this extension method. /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -87436,22 +74421,19 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PodPreset ReadNamespacedPodPreset(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1CSINode ReadCSINode(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadNamespacedPodPresetAsync(name, namespaceParameter, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadCSINodeAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } /// - /// read the specified PodPreset + /// read the specified CSINode /// /// /// The operations group for this extension method. /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// Should the export be exact. Exact export maintains cluster-specific fields @@ -87467,16 +74449,16 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadNamespacedPodPresetAsync(this IKubernetes operations, string name, string namespaceParameter, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadCSINodeAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadNamespacedPodPresetWithHttpMessagesAsync(name, namespaceParameter, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadCSINodeWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// partially update the specified PodPreset + /// partially update the specified CSINode /// /// /// The operations group for this extension method. @@ -87484,10 +74466,7 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// When present, indicates that modifications should not be persisted. An @@ -87511,13 +74490,13 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PodPreset PatchNamespacedPodPreset(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1CSINode PatchCSINode(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchNamespacedPodPresetAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchCSINodeAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// - /// partially update the specified PodPreset + /// partially update the specified CSINode /// /// /// The operations group for this extension method. @@ -87525,10 +74504,7 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// When present, indicates that modifications should not be persisted. An @@ -87555,16 +74531,16 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchNamespacedPodPresetAsync(this IKubernetes operations, V1Patch body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchCSINodeAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchCSINodeWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// replace the specified PodPreset + /// replace the specified CSINode /// /// /// The operations group for this extension method. @@ -87572,10 +74548,7 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// When present, indicates that modifications should not be persisted. An @@ -87592,13 +74565,13 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1alpha1PodPreset ReplaceNamespacedPodPreset(this IKubernetes operations, V1alpha1PodPreset body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1CSINode ReplaceCSINode(this IKubernetes operations, V1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceNamespacedPodPresetAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceCSINodeAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// - /// replace the specified PodPreset + /// replace the specified CSINode /// /// /// The operations group for this extension method. @@ -87606,10 +74579,7 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// /// - /// name of the PodPreset - /// - /// - /// object name and auth scope, such as for teams and projects + /// name of the CSINode /// /// /// When present, indicates that modifications should not be persisted. An @@ -87629,257 +74599,9 @@ public static V1APIResourceList GetAPIResources38(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceNamespacedPodPresetAsync(this IKubernetes operations, V1alpha1PodPreset body, string name, string namespaceParameter, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ReplaceNamespacedPodPresetWithHttpMessagesAsync(body, name, namespaceParameter, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// list or watch objects of kind PodPreset - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - public static V1alpha1PodPresetList ListPodPresetForAllNamespaces(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?)) - { - return operations.ListPodPresetForAllNamespacesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch).GetAwaiter().GetResult(); - } - - /// - /// list or watch objects of kind PodPreset - /// - /// - /// The operations group for this extension method. - /// - /// - /// allowWatchBookmarks requests watch events with type "BOOKMARK". Servers - /// that do not implement bookmarks may ignore this flag and bookmarks are sent - /// at the server's discretion. Clients should not assume bookmarks are - /// returned at any specific interval, nor may they assume the server will send - /// any BOOKMARK event during a session. If this is not a watch, this field is - /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, - /// this field is ignored. - /// - /// This field is beta. - /// - /// - /// The continue option should be set when retrieving more results from the - /// server. Since this value is server defined, clients may only use the - /// continue value from a previous query result with identical query parameters - /// (except for the value of continue) and the server may reject a continue - /// value it does not recognize. If the specified continue value is no longer - /// valid whether due to expiration (generally five to fifteen minutes) or a - /// configuration change on the server, the server will respond with a 410 - /// ResourceExpired error together with a continue token. If the client needs a - /// consistent list, it must restart their list without the continue field. - /// Otherwise, the client may send another list request with the token received - /// with the 410 error, the server will respond with a list starting from the - /// next key, but from the latest snapshot, which is inconsistent from the - /// previous list results - objects that are created, modified, or deleted - /// after the first list request will be included in the response, as long as - /// their keys are after the "next key". - /// - /// This field is not supported when watch is true. Clients may start a watch - /// from the last resourceVersion value returned by the server and not miss any - /// modifications. - /// - /// - /// A selector to restrict the list of returned objects by their fields. - /// Defaults to everything. - /// - /// - /// A selector to restrict the list of returned objects by their labels. - /// Defaults to everything. - /// - /// - /// limit is a maximum number of responses to return for a list call. If more - /// items exist, the server will set the `continue` field on the list metadata - /// to a value that can be used with the same initial query to retrieve the - /// next set of results. Setting a limit may return fewer than the requested - /// amount of items (up to zero items) in the event all requested objects are - /// filtered out and clients should only use the presence of the continue field - /// to determine whether more results are available. Servers may choose not to - /// support the limit argument and will return all of the available results. If - /// limit is specified and the continue field is empty, clients may assume that - /// no more results are available. This field is not supported if watch is - /// true. - /// - /// The server guarantees that the objects returned when using continue will be - /// identical to issuing a single list call without a limit - that is, no - /// objects created, modified, or deleted after the first request is issued - /// will be included in any subsequent continued requests. This is sometimes - /// referred to as a consistent snapshot, and ensures that a client that is - /// using limit to receive smaller chunks of a very large result can ensure - /// they see all possible objects. If objects are updated during a chunked list - /// the version of the object that was present at the time the first list - /// result was calculated is returned. - /// - /// - /// If 'true', then the output is pretty printed. - /// - /// - /// When specified with a watch call, shows changes that occur after that - /// particular version of a resource. Defaults to changes from the beginning of - /// history. When specified for list: - if unset, then the result is returned - /// from remote storage based on quorum-read flag; - if it's 0, then we simply - /// return what we currently have in cache, no guarantee; - if set to non zero, - /// then the result is at least as fresh as given rv. - /// - /// - /// Timeout for the list/watch call. This limits the duration of the call, - /// regardless of any activity or inactivity. - /// - /// - /// Watch for changes to the described resources and return them as a stream of - /// add, update, and remove notifications. Specify resourceVersion. - /// - /// - /// The cancellation token. - /// - public static async Task ListPodPresetForAllNamespacesAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string pretty = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListPodPresetForAllNamespacesWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - public static V1APIGroup GetAPIGroup20(this IKubernetes operations) + public static async Task ReplaceCSINodeAsync(this IKubernetes operations, V1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - return operations.GetAPIGroup20Async().GetAwaiter().GetResult(); - } - - /// - /// get information of a group - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIGroup20Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIGroup20WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - public static V1APIResourceList GetAPIResources39(this IKubernetes operations) - { - return operations.GetAPIResources39Async().GetAwaiter().GetResult(); - } - - /// - /// get available resources - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task GetAPIResources39Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAPIResources39WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceCSINodeWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -87899,8 +74621,6 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -88022,8 +74742,6 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -88151,8 +74869,6 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -88244,8 +74960,6 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -88433,7 +75147,7 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteStorageClass(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1StorageClass DeleteStorageClass(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteStorageClassAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -88483,7 +75197,7 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteStorageClassAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteStorageClassAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteStorageClassWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -88711,8 +75425,6 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -88834,8 +75546,6 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -88963,8 +75673,6 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -89056,8 +75764,6 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -89245,7 +75951,7 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteVolumeAttachment(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1VolumeAttachment DeleteVolumeAttachment(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteVolumeAttachmentAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -89295,7 +76001,7 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteVolumeAttachmentAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteVolumeAttachmentAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteVolumeAttachmentWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -89705,9 +76411,9 @@ public static V1APIResourceList GetAPIResources39(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources40(this IKubernetes operations) + public static V1APIResourceList GetAPIResources39(this IKubernetes operations) { - return operations.GetAPIResources40Async().GetAwaiter().GetResult(); + return operations.GetAPIResources39Async().GetAwaiter().GetResult(); } /// @@ -89719,9 +76425,9 @@ public static V1APIResourceList GetAPIResources40(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources40Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources39Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources40WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources39WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -89741,8 +76447,6 @@ public static V1APIResourceList GetAPIResources40(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -89864,8 +76568,6 @@ public static V1APIResourceList GetAPIResources40(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -89993,8 +76695,6 @@ public static V1APIResourceList GetAPIResources40(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -90086,8 +76786,6 @@ public static V1APIResourceList GetAPIResources40(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -90275,7 +76973,7 @@ public static V1APIResourceList GetAPIResources40(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteVolumeAttachment1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1alpha1VolumeAttachment DeleteVolumeAttachment1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteVolumeAttachment1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -90325,7 +77023,7 @@ public static V1APIResourceList GetAPIResources40(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteVolumeAttachment1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteVolumeAttachment1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteVolumeAttachment1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -90545,9 +77243,9 @@ public static V1APIResourceList GetAPIResources40(this IKubernetes operations) /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources41(this IKubernetes operations) + public static V1APIResourceList GetAPIResources40(this IKubernetes operations) { - return operations.GetAPIResources41Async().GetAwaiter().GetResult(); + return operations.GetAPIResources40Async().GetAwaiter().GetResult(); } /// @@ -90559,9 +77257,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task GetAPIResources41Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources40Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources41WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources40WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -90581,8 +77279,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -90685,9 +77381,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionCSIDriver(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionCSIDriver1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionCSIDriverAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionCSIDriver1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -90704,8 +77400,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -90811,9 +77505,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionCSIDriverAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionCSIDriver1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionCSIDriverWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionCSIDriver1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -90833,8 +77527,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -90907,9 +77599,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSIDriverList ListCSIDriver(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1CSIDriverList ListCSIDriver1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListCSIDriverAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListCSIDriver1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -90926,8 +77618,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -91003,9 +77693,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListCSIDriverAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCSIDriver1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListCSIDriverWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCSIDriver1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91034,9 +77724,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSIDriver CreateCSIDriver(this IKubernetes operations, V1beta1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1CSIDriver CreateCSIDriver1(this IKubernetes operations, V1beta1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateCSIDriverAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateCSIDriver1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -91065,9 +77755,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateCSIDriverAsync(this IKubernetes operations, V1beta1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateCSIDriver1Async(this IKubernetes operations, V1beta1CSIDriver body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateCSIDriverWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateCSIDriver1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91115,9 +77805,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCSIDriver(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1beta1CSIDriver DeleteCSIDriver1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteCSIDriverAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteCSIDriver1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -91165,9 +77855,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCSIDriverAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCSIDriver1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCSIDriverWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCSIDriver1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91193,9 +77883,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSIDriver ReadCSIDriver(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1CSIDriver ReadCSIDriver1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadCSIDriverAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadCSIDriver1Async(name, exact, export, pretty).GetAwaiter().GetResult(); } /// @@ -91221,9 +77911,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadCSIDriverAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadCSIDriver1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadCSIDriverWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadCSIDriver1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91262,9 +77952,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSIDriver PatchCSIDriver(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1CSIDriver PatchCSIDriver1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchCSIDriverAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchCSIDriver1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// @@ -91303,9 +77993,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchCSIDriverAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchCSIDriver1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchCSIDriverWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchCSIDriver1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91337,9 +78027,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSIDriver ReplaceCSIDriver(this IKubernetes operations, V1beta1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1CSIDriver ReplaceCSIDriver1(this IKubernetes operations, V1beta1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceCSIDriverAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceCSIDriver1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -91371,9 +78061,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceCSIDriverAsync(this IKubernetes operations, V1beta1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceCSIDriver1Async(this IKubernetes operations, V1beta1CSIDriver body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceCSIDriverWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceCSIDriver1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91393,8 +78083,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -91497,9 +78185,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCollectionCSINode(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1Status DeleteCollectionCSINode1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.DeleteCollectionCSINodeAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.DeleteCollectionCSINode1Async(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -91516,8 +78204,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -91623,9 +78309,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCollectionCSINodeAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCollectionCSINode1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), V1DeleteOptions body = default(V1DeleteOptions), string continueParameter = default(string), string dryRun = default(string), string fieldSelector = default(string), int? gracePeriodSeconds = default(int?), string labelSelector = default(string), int? limit = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCollectionCSINodeWithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCollectionCSINode1WithHttpMessagesAsync(allowWatchBookmarks, body, continueParameter, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91645,8 +78331,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -91719,9 +78403,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSINodeList ListCSINode(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static V1beta1CSINodeList ListCSINode1(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListCSINodeAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListCSINode1Async(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -91738,8 +78422,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -91815,9 +78497,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListCSINodeAsync(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListCSINode1Async(this IKubernetes operations, bool? allowWatchBookmarks = default(bool?), string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListCSINodeWithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCSINode1WithHttpMessagesAsync(allowWatchBookmarks, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91846,9 +78528,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSINode CreateCSINode(this IKubernetes operations, V1beta1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1CSINode CreateCSINode1(this IKubernetes operations, V1beta1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.CreateCSINodeAsync(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.CreateCSINode1Async(body, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -91877,9 +78559,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task CreateCSINodeAsync(this IKubernetes operations, V1beta1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateCSINode1Async(this IKubernetes operations, V1beta1CSINode body, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateCSINodeWithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateCSINode1WithHttpMessagesAsync(body, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -91927,9 +78609,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteCSINode(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1beta1CSINode DeleteCSINode1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { - return operations.DeleteCSINodeAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + return operations.DeleteCSINode1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -91977,9 +78659,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteCSINodeAsync(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteCSINode1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteCSINodeWithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteCSINode1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -92005,9 +78687,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSINode ReadCSINode(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1beta1CSINode ReadCSINode1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { - return operations.ReadCSINodeAsync(name, exact, export, pretty).GetAwaiter().GetResult(); + return operations.ReadCSINode1Async(name, exact, export, pretty).GetAwaiter().GetResult(); } /// @@ -92033,9 +78715,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReadCSINodeAsync(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReadCSINode1Async(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReadCSINodeWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReadCSINode1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -92074,9 +78756,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSINode PatchCSINode(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) + public static V1beta1CSINode PatchCSINode1(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string)) { - return operations.PatchCSINodeAsync(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); + return operations.PatchCSINode1Async(body, name, dryRun, fieldManager, force, pretty).GetAwaiter().GetResult(); } /// @@ -92115,9 +78797,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task PatchCSINodeAsync(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchCSINode1Async(this IKubernetes operations, V1Patch body, string name, string dryRun = default(string), string fieldManager = default(string), bool? force = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.PatchCSINodeWithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.PatchCSINode1WithHttpMessagesAsync(body, name, dryRun, fieldManager, force, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -92149,9 +78831,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1beta1CSINode ReplaceCSINode(this IKubernetes operations, V1beta1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) + public static V1beta1CSINode ReplaceCSINode1(this IKubernetes operations, V1beta1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string)) { - return operations.ReplaceCSINodeAsync(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); + return operations.ReplaceCSINode1Async(body, name, dryRun, fieldManager, pretty).GetAwaiter().GetResult(); } /// @@ -92183,9 +78865,9 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ReplaceCSINodeAsync(this IKubernetes operations, V1beta1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceCSINode1Async(this IKubernetes operations, V1beta1CSINode body, string name, string dryRun = default(string), string fieldManager = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ReplaceCSINodeWithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ReplaceCSINode1WithHttpMessagesAsync(body, name, dryRun, fieldManager, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -92205,8 +78887,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -92328,8 +79008,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -92457,8 +79135,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -92550,8 +79226,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -92739,7 +79413,7 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteStorageClass1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1beta1StorageClass DeleteStorageClass1(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteStorageClass1Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -92789,7 +79463,7 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteStorageClass1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteStorageClass1Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteStorageClass1WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -93017,8 +79691,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -93140,8 +79812,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// @@ -93269,8 +79939,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -93362,8 +80030,6 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// any BOOKMARK event during a session. If this is not a watch, this field is /// ignored. If the feature gate WatchBookmarks is not enabled in apiserver, /// this field is ignored. - /// - /// This field is beta. /// /// /// The continue option should be set when retrieving more results from the @@ -93551,7 +80217,7 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static V1Status DeleteVolumeAttachment2(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + public static V1beta1VolumeAttachment DeleteVolumeAttachment2(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) { return operations.DeleteVolumeAttachment2Async(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } @@ -93601,7 +80267,7 @@ public static V1APIResourceList GetAPIResources41(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task DeleteVolumeAttachment2Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteVolumeAttachment2Async(this IKubernetes operations, string name, V1DeleteOptions body = default(V1DeleteOptions), string dryRun = default(string), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DeleteVolumeAttachment2WithHttpMessagesAsync(name, body, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -93972,6 +80638,27 @@ public static VersionInfo GetCode(this IKubernetes operations) /// The custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. @@ -93980,6 +80667,29 @@ public static VersionInfo GetCode(this IKubernetes operations) /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -93999,9 +80709,9 @@ public static VersionInfo GetCode(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static object ListNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static object ListNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -94023,6 +80733,27 @@ public static VersionInfo GetCode(this IKubernetes operations) /// The custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. @@ -94031,6 +80762,29 @@ public static VersionInfo GetCode(this IKubernetes operations) /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -94053,9 +80807,9 @@ public static VersionInfo GetCode(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -94137,6 +80891,27 @@ public static VersionInfo GetCode(this IKubernetes operations) /// The custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. @@ -94145,6 +80920,29 @@ public static VersionInfo GetCode(this IKubernetes operations) /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -94164,9 +80962,9 @@ public static VersionInfo GetCode(this IKubernetes operations) /// /// If 'true', then the output is pretty printed. /// - public static object ListClusterCustomObject(this IKubernetes operations, string group, string version, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) + public static object ListClusterCustomObject(this IKubernetes operations, string group, string version, string plural, string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string)) { - return operations.ListClusterCustomObjectAsync(group, version, plural, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + return operations.ListClusterCustomObjectAsync(group, version, plural, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } /// @@ -94185,6 +80983,27 @@ public static VersionInfo GetCode(this IKubernetes operations) /// The custom resource's plural name. For TPRs this would be lowercase plural /// kind. /// + /// + /// The continue option should be set when retrieving more results from the + /// server. Since this value is server defined, clients may only use the + /// continue value from a previous query result with identical query parameters + /// (except for the value of continue) and the server may reject a continue + /// value it does not recognize. If the specified continue value is no longer + /// valid whether due to expiration (generally five to fifteen minutes) or a + /// configuration change on the server, the server will respond with a 410 + /// ResourceExpired error together with a continue token. If the client needs a + /// consistent list, it must restart their list without the continue field. + /// Otherwise, the client may send another list request with the token received + /// with the 410 error, the server will respond with a list starting from the + /// next key, but from the latest snapshot, which is inconsistent from the + /// previous list results - objects that are created, modified, or deleted + /// after the first list request will be included in the response, as long as + /// their keys are after the "next key". + /// + /// This field is not supported when watch is true. Clients may start a watch + /// from the last resourceVersion value returned by the server and not miss any + /// modifications. + /// /// /// A selector to restrict the list of returned objects by their fields. /// Defaults to everything. @@ -94193,6 +81012,29 @@ public static VersionInfo GetCode(this IKubernetes operations) /// A selector to restrict the list of returned objects by their labels. /// Defaults to everything. /// + /// + /// limit is a maximum number of responses to return for a list call. If more + /// items exist, the server will set the `continue` field on the list metadata + /// to a value that can be used with the same initial query to retrieve the + /// next set of results. Setting a limit may return fewer than the requested + /// amount of items (up to zero items) in the event all requested objects are + /// filtered out and clients should only use the presence of the continue field + /// to determine whether more results are available. Servers may choose not to + /// support the limit argument and will return all of the available results. If + /// limit is specified and the continue field is empty, clients may assume that + /// no more results are available. This field is not supported if watch is + /// true. + /// + /// The server guarantees that the objects returned when using continue will be + /// identical to issuing a single list call without a limit - that is, no + /// objects created, modified, or deleted after the first request is issued + /// will be included in any subsequent continued requests. This is sometimes + /// referred to as a consistent snapshot, and ensures that a client that is + /// using limit to receive smaller chunks of a very large result can ensure + /// they see all possible objects. If objects are updated during a chunked list + /// the version of the object that was present at the time the first list + /// result was calculated is returned. + /// /// /// When specified with a watch call, shows changes that occur after that /// particular version of a resource. Defaults to changes from the beginning of @@ -94215,9 +81057,9 @@ public static VersionInfo GetCode(this IKubernetes operations) /// /// The cancellation token. /// - public static async Task ListClusterCustomObjectAsync(this IKubernetes operations, string group, string version, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterCustomObjectAsync(this IKubernetes operations, string group, string version, string plural, string continueParameter = default(string), string fieldSelector = default(string), string labelSelector = default(string), int? limit = default(int?), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterCustomObjectWithHttpMessagesAsync(group, version, plural, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterCustomObjectWithHttpMessagesAsync(group, version, plural, continueParameter, fieldSelector, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -94531,8 +81373,6 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// The operations group for this extension method. /// - /// - /// /// /// the custom resource's group /// @@ -94549,6 +81389,8 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// the custom object's name /// + /// + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -94568,9 +81410,9 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// the existing finalizer set in the metadata.finalizers and the /// resource-specific default policy. /// - public static object DeleteNamespacedCustomObject(this IKubernetes operations, V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string)) + public static object DeleteNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name, V1DeleteOptions body = default(V1DeleteOptions), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string)) { - return operations.DeleteNamespacedCustomObjectAsync(body, group, version, namespaceParameter, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy).GetAwaiter().GetResult(); + return operations.DeleteNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy).GetAwaiter().GetResult(); } /// @@ -94579,8 +81421,6 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// The operations group for this extension method. /// - /// - /// /// /// the custom resource's group /// @@ -94597,6 +81437,8 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// the custom object's name /// + /// + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -94619,9 +81461,9 @@ public static object PatchNamespacedCustomObject(this IKubernetes operations, ob /// /// The cancellation token. /// - public static async Task DeleteNamespacedCustomObjectAsync(this IKubernetes operations, V1DeleteOptions body, string group, string version, string namespaceParameter, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string name, V1DeleteOptions body = default(V1DeleteOptions), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteNamespacedCustomObjectWithHttpMessagesAsync(body, group, version, namespaceParameter, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -95171,8 +82013,6 @@ public static object PatchClusterCustomObject(this IKubernetes operations, objec /// /// The operations group for this extension method. /// - /// - /// /// /// the custom resource's group /// @@ -95186,6 +82026,8 @@ public static object PatchClusterCustomObject(this IKubernetes operations, objec /// /// the custom object's name /// + /// + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -95205,9 +82047,9 @@ public static object PatchClusterCustomObject(this IKubernetes operations, objec /// the existing finalizer set in the metadata.finalizers and the /// resource-specific default policy. /// - public static object DeleteClusterCustomObject(this IKubernetes operations, V1DeleteOptions body, string group, string version, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string)) + public static object DeleteClusterCustomObject(this IKubernetes operations, string group, string version, string plural, string name, V1DeleteOptions body = default(V1DeleteOptions), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string)) { - return operations.DeleteClusterCustomObjectAsync(body, group, version, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy).GetAwaiter().GetResult(); + return operations.DeleteClusterCustomObjectAsync(group, version, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy).GetAwaiter().GetResult(); } /// @@ -95216,8 +82058,6 @@ public static object PatchClusterCustomObject(this IKubernetes operations, objec /// /// The operations group for this extension method. /// - /// - /// /// /// the custom resource's group /// @@ -95231,6 +82071,8 @@ public static object PatchClusterCustomObject(this IKubernetes operations, objec /// /// the custom object's name /// + /// + /// /// /// The duration in seconds before the object should be deleted. Value must be /// non-negative integer. The value zero indicates delete immediately. If this @@ -95253,9 +82095,9 @@ public static object PatchClusterCustomObject(this IKubernetes operations, objec /// /// The cancellation token. /// - public static async Task DeleteClusterCustomObjectAsync(this IKubernetes operations, V1DeleteOptions body, string group, string version, string plural, string name, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteClusterCustomObjectAsync(this IKubernetes operations, string group, string version, string plural, string name, V1DeleteOptions body = default(V1DeleteOptions), int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.DeleteClusterCustomObjectWithHttpMessagesAsync(body, group, version, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteClusterCustomObjectWithHttpMessagesAsync(group, version, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/src/KubernetesClient/generated/ModelExtensions.cs b/src/KubernetesClient/generated/ModelExtensions.cs index 8c7b319e0..a28a8a7b8 100644 --- a/src/KubernetesClient/generated/ModelExtensions.cs +++ b/src/KubernetesClient/generated/ModelExtensions.cs @@ -144,158 +144,6 @@ public partial class V1StatefulSetList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "ControllerRevision"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="ControllerRevisionList", ApiVersion="v1beta1", PluralName="controllerrevisions")] - public partial class V1beta1ControllerRevisionList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "ControllerRevisionList"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="Deployment", ApiVersion="v1beta1", PluralName="deployments")] - public partial class Appsv1beta1Deployment : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "Deployment"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="DeploymentList", ApiVersion="v1beta1", PluralName="deployments")] - public partial class Appsv1beta1DeploymentList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "DeploymentList"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="DeploymentRollback", ApiVersion="v1beta1", PluralName=null)] - public partial class Appsv1beta1DeploymentRollback : IKubernetesObject, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "DeploymentRollback"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="Scale", ApiVersion="v1beta1", PluralName=null)] - public partial class Appsv1beta1Scale : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "Scale"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="StatefulSet", ApiVersion="v1beta1", PluralName="statefulsets")] - public partial class V1beta1StatefulSet : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "StatefulSet"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="StatefulSetList", ApiVersion="v1beta1", PluralName="statefulsets")] - public partial class V1beta1StatefulSetList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "StatefulSetList"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="ControllerRevision", ApiVersion="v1beta2", PluralName="controllerrevisions")] - public partial class V1beta2ControllerRevision : IKubernetesObject, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "ControllerRevision"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="ControllerRevisionList", ApiVersion="v1beta2", PluralName="controllerrevisions")] - public partial class V1beta2ControllerRevisionList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "ControllerRevisionList"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="DaemonSet", ApiVersion="v1beta2", PluralName="daemonsets")] - public partial class V1beta2DaemonSet : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "DaemonSet"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="DaemonSetList", ApiVersion="v1beta2", PluralName="daemonsets")] - public partial class V1beta2DaemonSetList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "DaemonSetList"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="Deployment", ApiVersion="v1beta2", PluralName="deployments")] - public partial class V1beta2Deployment : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "Deployment"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="DeploymentList", ApiVersion="v1beta2", PluralName="deployments")] - public partial class V1beta2DeploymentList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "DeploymentList"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="ReplicaSet", ApiVersion="v1beta2", PluralName="replicasets")] - public partial class V1beta2ReplicaSet : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "ReplicaSet"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="ReplicaSetList", ApiVersion="v1beta2", PluralName="replicasets")] - public partial class V1beta2ReplicaSetList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "ReplicaSetList"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="Scale", ApiVersion="v1beta2", PluralName=null)] - public partial class V1beta2Scale : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "Scale"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="StatefulSet", ApiVersion="v1beta2", PluralName="statefulsets")] - public partial class V1beta2StatefulSet : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "StatefulSet"; - public const string KubeGroup = "apps"; - } - - [KubernetesEntity(Group="apps", Kind="StatefulSetList", ApiVersion="v1beta2", PluralName="statefulsets")] - public partial class V1beta2StatefulSetList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta2"; - public const string KubeKind = "StatefulSetList"; - public const string KubeGroup = "apps"; - } - [KubernetesEntity(Group="auditregistration.k8s.io", Kind="AuditSink", ApiVersion="v1alpha1", PluralName="auditsinks")] public partial class V1alpha1AuditSink : IKubernetesObject, ISpec, IValidate { @@ -816,18 +664,18 @@ public partial class V1ServiceList : IKubernetesObject, IItems, IValidate + [KubernetesEntity(Group="discovery.k8s.io", Kind="EndpointSlice", ApiVersion="v1beta1", PluralName="endpointslices")] + public partial class V1beta1EndpointSlice : IKubernetesObject, IValidate { - public const string KubeApiVersion = "v1alpha1"; + public const string KubeApiVersion = "v1beta1"; public const string KubeKind = "EndpointSlice"; public const string KubeGroup = "discovery.k8s.io"; } - [KubernetesEntity(Group="discovery.k8s.io", Kind="EndpointSliceList", ApiVersion="v1alpha1", PluralName="endpointslices")] - public partial class V1alpha1EndpointSliceList : IKubernetesObject, IItems, IValidate + [KubernetesEntity(Group="discovery.k8s.io", Kind="EndpointSliceList", ApiVersion="v1beta1", PluralName="endpointslices")] + public partial class V1beta1EndpointSliceList : IKubernetesObject, IItems, IValidate { - public const string KubeApiVersion = "v1alpha1"; + public const string KubeApiVersion = "v1beta1"; public const string KubeKind = "EndpointSliceList"; public const string KubeGroup = "discovery.k8s.io"; } @@ -848,46 +696,6 @@ public partial class V1beta1EventList : IKubernetesObject, IItems, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "DaemonSet"; - public const string KubeGroup = "extensions"; - } - - [KubernetesEntity(Group="extensions", Kind="DaemonSetList", ApiVersion="v1beta1", PluralName="daemonsets")] - public partial class V1beta1DaemonSetList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "DaemonSetList"; - public const string KubeGroup = "extensions"; - } - - [KubernetesEntity(Group="extensions", Kind="Deployment", ApiVersion="v1beta1", PluralName="deployments")] - public partial class Extensionsv1beta1Deployment : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "Deployment"; - public const string KubeGroup = "extensions"; - } - - [KubernetesEntity(Group="extensions", Kind="DeploymentList", ApiVersion="v1beta1", PluralName="deployments")] - public partial class Extensionsv1beta1DeploymentList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "DeploymentList"; - public const string KubeGroup = "extensions"; - } - - [KubernetesEntity(Group="extensions", Kind="DeploymentRollback", ApiVersion="v1beta1", PluralName=null)] - public partial class Extensionsv1beta1DeploymentRollback : IKubernetesObject, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "DeploymentRollback"; - public const string KubeGroup = "extensions"; - } - [KubernetesEntity(Group="extensions", Kind="Ingress", ApiVersion="v1beta1", PluralName="ingresses")] public partial class Extensionsv1beta1Ingress : IKubernetesObject, ISpec, IValidate { @@ -904,60 +712,36 @@ public partial class Extensionsv1beta1IngressList : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "NetworkPolicy"; - public const string KubeGroup = "extensions"; - } - - [KubernetesEntity(Group="extensions", Kind="NetworkPolicyList", ApiVersion="v1beta1", PluralName="networkpolicies")] - public partial class V1beta1NetworkPolicyList : IKubernetesObject, IItems, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "NetworkPolicyList"; - public const string KubeGroup = "extensions"; - } - - [KubernetesEntity(Group="extensions", Kind="PodSecurityPolicy", ApiVersion="v1beta1", PluralName="podsecuritypolicies")] - public partial class Extensionsv1beta1PodSecurityPolicy : IKubernetesObject, ISpec, IValidate - { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "PodSecurityPolicy"; - public const string KubeGroup = "extensions"; - } - - [KubernetesEntity(Group="extensions", Kind="PodSecurityPolicyList", ApiVersion="v1beta1", PluralName="podsecuritypolicies")] - public partial class Extensionsv1beta1PodSecurityPolicyList : IKubernetesObject, IItems, IValidate + [KubernetesEntity(Group="flowcontrol.apiserver.k8s.io", Kind="FlowSchema", ApiVersion="v1alpha1", PluralName="flowschemas")] + public partial class V1alpha1FlowSchema : IKubernetesObject, ISpec, IValidate { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "PodSecurityPolicyList"; - public const string KubeGroup = "extensions"; + public const string KubeApiVersion = "v1alpha1"; + public const string KubeKind = "FlowSchema"; + public const string KubeGroup = "flowcontrol.apiserver.k8s.io"; } - [KubernetesEntity(Group="extensions", Kind="ReplicaSet", ApiVersion="v1beta1", PluralName="replicasets")] - public partial class V1beta1ReplicaSet : IKubernetesObject, ISpec, IValidate + [KubernetesEntity(Group="flowcontrol.apiserver.k8s.io", Kind="FlowSchemaList", ApiVersion="v1alpha1", PluralName="flowschemas")] + public partial class V1alpha1FlowSchemaList : IKubernetesObject, IItems, IValidate { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "ReplicaSet"; - public const string KubeGroup = "extensions"; + public const string KubeApiVersion = "v1alpha1"; + public const string KubeKind = "FlowSchemaList"; + public const string KubeGroup = "flowcontrol.apiserver.k8s.io"; } - [KubernetesEntity(Group="extensions", Kind="ReplicaSetList", ApiVersion="v1beta1", PluralName="replicasets")] - public partial class V1beta1ReplicaSetList : IKubernetesObject, IItems, IValidate + [KubernetesEntity(Group="flowcontrol.apiserver.k8s.io", Kind="PriorityLevelConfiguration", ApiVersion="v1alpha1", PluralName="prioritylevelconfigurations")] + public partial class V1alpha1PriorityLevelConfiguration : IKubernetesObject, ISpec, IValidate { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "ReplicaSetList"; - public const string KubeGroup = "extensions"; + public const string KubeApiVersion = "v1alpha1"; + public const string KubeKind = "PriorityLevelConfiguration"; + public const string KubeGroup = "flowcontrol.apiserver.k8s.io"; } - [KubernetesEntity(Group="extensions", Kind="Scale", ApiVersion="v1beta1", PluralName=null)] - public partial class Extensionsv1beta1Scale : IKubernetesObject, ISpec, IValidate + [KubernetesEntity(Group="flowcontrol.apiserver.k8s.io", Kind="PriorityLevelConfigurationList", ApiVersion="v1alpha1", PluralName="prioritylevelconfigurations")] + public partial class V1alpha1PriorityLevelConfigurationList : IKubernetesObject, IItems, IValidate { - public const string KubeApiVersion = "v1beta1"; - public const string KubeKind = "Scale"; - public const string KubeGroup = "extensions"; + public const string KubeApiVersion = "v1alpha1"; + public const string KubeKind = "PriorityLevelConfigurationList"; + public const string KubeGroup = "flowcontrol.apiserver.k8s.io"; } [KubernetesEntity(Group="networking.k8s.io", Kind="NetworkPolicy", ApiVersion="v1", PluralName="networkpolicies")] @@ -984,6 +768,22 @@ public partial class Networkingv1beta1Ingress : IKubernetesObject, public const string KubeGroup = "networking.k8s.io"; } + [KubernetesEntity(Group="networking.k8s.io", Kind="IngressClass", ApiVersion="v1beta1", PluralName="ingressclasses")] + public partial class V1beta1IngressClass : IKubernetesObject, ISpec, IValidate + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "IngressClass"; + public const string KubeGroup = "networking.k8s.io"; + } + + [KubernetesEntity(Group="networking.k8s.io", Kind="IngressClassList", ApiVersion="v1beta1", PluralName="ingressclasses")] + public partial class V1beta1IngressClassList : IKubernetesObject, IItems, IValidate + { + public const string KubeApiVersion = "v1beta1"; + public const string KubeKind = "IngressClassList"; + public const string KubeGroup = "networking.k8s.io"; + } + [KubernetesEntity(Group="networking.k8s.io", Kind="IngressList", ApiVersion="v1beta1", PluralName="ingresses")] public partial class Networkingv1beta1IngressList : IKubernetesObject, IItems, IValidate { @@ -1049,7 +849,7 @@ public partial class V1beta1PodDisruptionBudgetList : IKubernetesObject, ISpec, IValidate + public partial class V1beta1PodSecurityPolicy : IKubernetesObject, ISpec, IValidate { public const string KubeApiVersion = "v1beta1"; public const string KubeKind = "PodSecurityPolicy"; @@ -1057,7 +857,7 @@ public partial class Policyv1beta1PodSecurityPolicy : IKubernetesObject, IItems, IValidate + public partial class V1beta1PodSecurityPolicyList : IKubernetesObject, IItems, IValidate { public const string KubeApiVersion = "v1beta1"; public const string KubeKind = "PodSecurityPolicyList"; @@ -1320,6 +1120,38 @@ public partial class V1alpha1PodPresetList : IKubernetesObject, IIte public const string KubeGroup = "settings.k8s.io"; } + [KubernetesEntity(Group="storage.k8s.io", Kind="CSIDriver", ApiVersion="v1", PluralName="csidrivers")] + public partial class V1CSIDriver : IKubernetesObject, ISpec, IValidate + { + public const string KubeApiVersion = "v1"; + public const string KubeKind = "CSIDriver"; + public const string KubeGroup = "storage.k8s.io"; + } + + [KubernetesEntity(Group="storage.k8s.io", Kind="CSIDriverList", ApiVersion="v1", PluralName="csidrivers")] + public partial class V1CSIDriverList : IKubernetesObject, IItems, IValidate + { + public const string KubeApiVersion = "v1"; + public const string KubeKind = "CSIDriverList"; + public const string KubeGroup = "storage.k8s.io"; + } + + [KubernetesEntity(Group="storage.k8s.io", Kind="CSINode", ApiVersion="v1", PluralName="csinodes")] + public partial class V1CSINode : IKubernetesObject, ISpec, IValidate + { + public const string KubeApiVersion = "v1"; + public const string KubeKind = "CSINode"; + public const string KubeGroup = "storage.k8s.io"; + } + + [KubernetesEntity(Group="storage.k8s.io", Kind="CSINodeList", ApiVersion="v1", PluralName="csinodes")] + public partial class V1CSINodeList : IKubernetesObject, IItems, IValidate + { + public const string KubeApiVersion = "v1"; + public const string KubeKind = "CSINodeList"; + public const string KubeGroup = "storage.k8s.io"; + } + [KubernetesEntity(Group="storage.k8s.io", Kind="StorageClass", ApiVersion="v1", PluralName="storageclasses")] public partial class V1StorageClass : IKubernetesObject, IValidate { diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentCondition.cs b/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentCondition.cs deleted file mode 100644 index d7530d8f2..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentCondition.cs +++ /dev/null @@ -1,115 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentCondition describes the state of a deployment at a certain - /// point. - /// - public partial class Appsv1beta1DeploymentCondition - { - /// - /// Initializes a new instance of the Appsv1beta1DeploymentCondition - /// class. - /// - public Appsv1beta1DeploymentCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1DeploymentCondition - /// class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of deployment condition. - /// Last time the condition - /// transitioned from one status to another. - /// The last time this condition was - /// updated. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public Appsv1beta1DeploymentCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), System.DateTime? lastUpdateTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - LastUpdateTime = lastUpdateTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets last time the condition transitioned from one status - /// to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets the last time this condition was updated. - /// - [JsonProperty(PropertyName = "lastUpdateTime")] - public System.DateTime? LastUpdateTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of deployment condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentList.cs b/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentList.cs deleted file mode 100644 index 115109d37..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentList.cs +++ /dev/null @@ -1,113 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DeploymentList is a list of Deployments. - /// - public partial class Appsv1beta1DeploymentList - { - /// - /// Initializes a new instance of the Appsv1beta1DeploymentList class. - /// - public Appsv1beta1DeploymentList() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1DeploymentList class. - /// - /// Items is the list of Deployments. - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard list metadata. - public Appsv1beta1DeploymentList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) - { - ApiVersion = apiVersion; - Items = items; - Kind = kind; - Metadata = metadata; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets items is the list of Deployments. - /// - [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard list metadata. - /// - [JsonProperty(PropertyName = "metadata")] - public V1ListMeta Metadata { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Items == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Items"); - } - if (Items != null) - { - foreach (var element in Items) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentRollback.cs b/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentRollback.cs deleted file mode 100644 index 4c6856edd..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentRollback.cs +++ /dev/null @@ -1,121 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DEPRECATED. DeploymentRollback stores the information required to - /// rollback a deployment. - /// - public partial class Appsv1beta1DeploymentRollback - { - /// - /// Initializes a new instance of the Appsv1beta1DeploymentRollback - /// class. - /// - public Appsv1beta1DeploymentRollback() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1DeploymentRollback - /// class. - /// - /// Required: This must match the Name of a - /// deployment. - /// The config of this deployment - /// rollback. - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// The annotations to be updated to a - /// deployment - public Appsv1beta1DeploymentRollback(string name, Appsv1beta1RollbackConfig rollbackTo, string apiVersion = default(string), string kind = default(string), IDictionary updatedAnnotations = default(IDictionary)) - { - ApiVersion = apiVersion; - Kind = kind; - Name = name; - RollbackTo = rollbackTo; - UpdatedAnnotations = updatedAnnotations; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets required: This must match the Name of a deployment. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the config of this deployment rollback. - /// - [JsonProperty(PropertyName = "rollbackTo")] - public Appsv1beta1RollbackConfig RollbackTo { get; set; } - - /// - /// Gets or sets the annotations to be updated to a deployment - /// - [JsonProperty(PropertyName = "updatedAnnotations")] - public IDictionary UpdatedAnnotations { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Name"); - } - if (RollbackTo == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "RollbackTo"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentSpec.cs b/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentSpec.cs deleted file mode 100644 index 953ae4d61..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentSpec.cs +++ /dev/null @@ -1,164 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentSpec is the specification of the desired behavior of the - /// Deployment. - /// - public partial class Appsv1beta1DeploymentSpec - { - /// - /// Initializes a new instance of the Appsv1beta1DeploymentSpec class. - /// - public Appsv1beta1DeploymentSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1DeploymentSpec class. - /// - /// Template describes the pods that will be - /// created. - /// 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) - /// Indicates that the deployment is - /// paused. - /// 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. - /// Number of desired pods. This is a pointer to - /// distinguish between explicit zero and not specified. Defaults to - /// 1. - /// 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. - /// DEPRECATED. The config this deployment is - /// rolling back to. Will be cleared after rollback is done. - /// Label selector for pods. Existing - /// ReplicaSets whose pods are selected by this will be the ones - /// affected by this deployment. - /// The deployment strategy to use to replace - /// existing pods with new ones. - public Appsv1beta1DeploymentSpec(V1PodTemplateSpec template, int? minReadySeconds = default(int?), bool? paused = default(bool?), int? progressDeadlineSeconds = default(int?), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), Appsv1beta1RollbackConfig rollbackTo = default(Appsv1beta1RollbackConfig), V1LabelSelector selector = default(V1LabelSelector), Appsv1beta1DeploymentStrategy strategy = default(Appsv1beta1DeploymentStrategy)) - { - MinReadySeconds = minReadySeconds; - Paused = paused; - ProgressDeadlineSeconds = progressDeadlineSeconds; - Replicas = replicas; - RevisionHistoryLimit = revisionHistoryLimit; - RollbackTo = rollbackTo; - Selector = selector; - Strategy = strategy; - Template = template; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "minReadySeconds")] - public int? MinReadySeconds { get; set; } - - /// - /// Gets or sets indicates that the deployment is paused. - /// - [JsonProperty(PropertyName = "paused")] - public bool? Paused { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "progressDeadlineSeconds")] - public int? ProgressDeadlineSeconds { get; set; } - - /// - /// Gets or sets number of desired pods. This is a pointer to - /// distinguish between explicit zero and not specified. Defaults to 1. - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "revisionHistoryLimit")] - public int? RevisionHistoryLimit { get; set; } - - /// - /// Gets or sets DEPRECATED. The config this deployment is rolling back - /// to. Will be cleared after rollback is done. - /// - [JsonProperty(PropertyName = "rollbackTo")] - public Appsv1beta1RollbackConfig RollbackTo { get; set; } - - /// - /// Gets or sets label selector for pods. Existing ReplicaSets whose - /// pods are selected by this will be the ones affected by this - /// deployment. - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets the deployment strategy to use to replace existing - /// pods with new ones. - /// - [JsonProperty(PropertyName = "strategy")] - public Appsv1beta1DeploymentStrategy Strategy { get; set; } - - /// - /// Gets or sets template describes the pods that will be created. - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Template == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Template"); - } - if (Template != null) - { - Template.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentStatus.cs b/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentStatus.cs deleted file mode 100644 index 5537e9f6d..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentStatus.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DeploymentStatus is the most recently observed status of the - /// Deployment. - /// - public partial class Appsv1beta1DeploymentStatus - { - /// - /// Initializes a new instance of the Appsv1beta1DeploymentStatus - /// class. - /// - public Appsv1beta1DeploymentStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1DeploymentStatus - /// class. - /// - /// Total number of available pods - /// (ready for at least minReadySeconds) targeted by this - /// deployment. - /// 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. - /// Represents the latest available - /// observations of a deployment's current state. - /// The generation observed by the - /// deployment controller. - /// Total number of ready pods targeted by - /// this deployment. - /// Total number of non-terminated pods targeted - /// by this deployment (their labels match the selector). - /// 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. - /// Total number of non-terminated pods - /// targeted by this deployment that have the desired template - /// spec. - public Appsv1beta1DeploymentStatus(int? availableReplicas = default(int?), int? collisionCount = default(int?), IList conditions = default(IList), long? observedGeneration = default(long?), int? readyReplicas = default(int?), int? replicas = default(int?), int? unavailableReplicas = default(int?), int? updatedReplicas = default(int?)) - { - AvailableReplicas = availableReplicas; - CollisionCount = collisionCount; - Conditions = conditions; - ObservedGeneration = observedGeneration; - ReadyReplicas = readyReplicas; - Replicas = replicas; - UnavailableReplicas = unavailableReplicas; - UpdatedReplicas = updatedReplicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets total number of available pods (ready for at least - /// minReadySeconds) targeted by this deployment. - /// - [JsonProperty(PropertyName = "availableReplicas")] - public int? AvailableReplicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "collisionCount")] - public int? CollisionCount { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// deployment's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets the generation observed by the deployment controller. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets total number of ready pods targeted by this - /// deployment. - /// - [JsonProperty(PropertyName = "readyReplicas")] - public int? ReadyReplicas { get; set; } - - /// - /// Gets or sets total number of non-terminated pods targeted by this - /// deployment (their labels match the selector). - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "unavailableReplicas")] - public int? UnavailableReplicas { get; set; } - - /// - /// Gets or sets total number of non-terminated pods targeted by this - /// deployment that have the desired template spec. - /// - [JsonProperty(PropertyName = "updatedReplicas")] - public int? UpdatedReplicas { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentStrategy.cs b/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentStrategy.cs deleted file mode 100644 index ccaa0875a..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1DeploymentStrategy.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentStrategy describes how to replace existing pods with new - /// ones. - /// - public partial class Appsv1beta1DeploymentStrategy - { - /// - /// Initializes a new instance of the Appsv1beta1DeploymentStrategy - /// class. - /// - public Appsv1beta1DeploymentStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1DeploymentStrategy - /// class. - /// - /// Rolling update config params. Present - /// only if DeploymentStrategyType = RollingUpdate. - /// Type of deployment. Can be "Recreate" or - /// "RollingUpdate". Default is RollingUpdate. - public Appsv1beta1DeploymentStrategy(Appsv1beta1RollingUpdateDeployment rollingUpdate = default(Appsv1beta1RollingUpdateDeployment), string type = default(string)) - { - RollingUpdate = rollingUpdate; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets rolling update config params. Present only if - /// DeploymentStrategyType = RollingUpdate. - /// - [JsonProperty(PropertyName = "rollingUpdate")] - public Appsv1beta1RollingUpdateDeployment RollingUpdate { get; set; } - - /// - /// Gets or sets type of deployment. Can be "Recreate" or - /// "RollingUpdate". Default is RollingUpdate. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1RollbackConfig.cs b/src/KubernetesClient/generated/Models/Appsv1beta1RollbackConfig.cs deleted file mode 100644 index 2ee1508ce..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1RollbackConfig.cs +++ /dev/null @@ -1,49 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED. - /// - public partial class Appsv1beta1RollbackConfig - { - /// - /// Initializes a new instance of the Appsv1beta1RollbackConfig class. - /// - public Appsv1beta1RollbackConfig() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1RollbackConfig class. - /// - /// The revision to rollback to. If set to 0, - /// rollback to the last revision. - public Appsv1beta1RollbackConfig(long? revision = default(long?)) - { - Revision = revision; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the revision to rollback to. If set to 0, rollback to - /// the last revision. - /// - [JsonProperty(PropertyName = "revision")] - public long? Revision { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1RollingUpdateDeployment.cs b/src/KubernetesClient/generated/Models/Appsv1beta1RollingUpdateDeployment.cs deleted file mode 100644 index 568ece414..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1RollingUpdateDeployment.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Spec to control the desired behavior of rolling update. - /// - public partial class Appsv1beta1RollingUpdateDeployment - { - /// - /// Initializes a new instance of the - /// Appsv1beta1RollingUpdateDeployment class. - /// - public Appsv1beta1RollingUpdateDeployment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Appsv1beta1RollingUpdateDeployment class. - /// - /// 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 ReplicaSet 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 ReplicaSet can be scaled up further, - /// ensuring that total number of pods running at any time during the - /// update is at most 130% of desired pods. - /// 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 ReplicaSet can be scaled down to 70% of desired pods - /// immediately when the rolling update starts. Once new pods are - /// ready, old ReplicaSet can be scaled down further, followed by - /// scaling up the new ReplicaSet, ensuring that the total number of - /// pods available at all times during the update is at least 70% of - /// desired pods. - public Appsv1beta1RollingUpdateDeployment(IntstrIntOrString maxSurge = default(IntstrIntOrString), IntstrIntOrString maxUnavailable = default(IntstrIntOrString)) - { - MaxSurge = maxSurge; - MaxUnavailable = maxUnavailable; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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 ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number - /// of pods running at any time during the update is at most 130% of - /// desired pods. - /// - [JsonProperty(PropertyName = "maxSurge")] - public IntstrIntOrString MaxSurge { get; set; } - - /// - /// Gets or sets 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 - /// ReplicaSet can be scaled down to 70% of desired pods immediately - /// when the rolling update starts. Once new pods are ready, old - /// ReplicaSet can be scaled down further, followed by scaling up the - /// new ReplicaSet, ensuring that the total number of pods available at - /// all times during the update is at least 70% of desired pods. - /// - [JsonProperty(PropertyName = "maxUnavailable")] - public IntstrIntOrString MaxUnavailable { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1Scale.cs b/src/KubernetesClient/generated/Models/Appsv1beta1Scale.cs deleted file mode 100644 index 634d3ac1b..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1Scale.cs +++ /dev/null @@ -1,116 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Scale represents a scaling request for a resource. - /// - public partial class Appsv1beta1Scale - { - /// - /// Initializes a new instance of the Appsv1beta1Scale class. - /// - public Appsv1beta1Scale() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1Scale class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object metadata; More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - /// defines the behavior of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// current status of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// Read-only. - public Appsv1beta1Scale(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Appsv1beta1ScaleSpec spec = default(Appsv1beta1ScaleSpec), Appsv1beta1ScaleStatus status = default(Appsv1beta1ScaleStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object metadata; More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets defines the behavior of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// - [JsonProperty(PropertyName = "spec")] - public Appsv1beta1ScaleSpec Spec { get; set; } - - /// - /// Gets or sets current status of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// Read-only. - /// - [JsonProperty(PropertyName = "status")] - public Appsv1beta1ScaleStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status != null) - { - Status.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1ScaleSpec.cs b/src/KubernetesClient/generated/Models/Appsv1beta1ScaleSpec.cs deleted file mode 100644 index e3351e7a0..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1ScaleSpec.cs +++ /dev/null @@ -1,48 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// ScaleSpec describes the attributes of a scale subresource - /// - public partial class Appsv1beta1ScaleSpec - { - /// - /// Initializes a new instance of the Appsv1beta1ScaleSpec class. - /// - public Appsv1beta1ScaleSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1ScaleSpec class. - /// - /// desired number of instances for the scaled - /// object. - public Appsv1beta1ScaleSpec(int? replicas = default(int?)) - { - Replicas = replicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets desired number of instances for the scaled object. - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1ScaleStatus.cs b/src/KubernetesClient/generated/Models/Appsv1beta1ScaleStatus.cs deleted file mode 100644 index b94ecaeac..000000000 --- a/src/KubernetesClient/generated/Models/Appsv1beta1ScaleStatus.cs +++ /dev/null @@ -1,94 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// ScaleStatus represents the current status of a scale subresource. - /// - public partial class Appsv1beta1ScaleStatus - { - /// - /// Initializes a new instance of the Appsv1beta1ScaleStatus class. - /// - public Appsv1beta1ScaleStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Appsv1beta1ScaleStatus class. - /// - /// actual number of observed instances of the - /// scaled object. - /// label query over pods that should match the - /// replicas count. 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 - public Appsv1beta1ScaleStatus(int replicas, IDictionary selector = default(IDictionary), string targetSelector = default(string)) - { - Replicas = replicas; - Selector = selector; - TargetSelector = targetSelector; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets actual number of observed instances of the scaled - /// object. - /// - [JsonProperty(PropertyName = "replicas")] - public int Replicas { get; set; } - - /// - /// Gets or sets label query over pods that should match the replicas - /// count. More info: - /// http://kubernetes.io/docs/user-guide/labels#label-selectors - /// - [JsonProperty(PropertyName = "selector")] - public IDictionary Selector { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "targetSelector")] - public string TargetSelector { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedHostPath.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedHostPath.cs deleted file mode 100644 index c4cdaf191..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedHostPath.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// AllowedHostPath defines the host volume conditions that will be enabled - /// by a policy for pods to use. It requires the path prefix to be defined. - /// Deprecated: use AllowedHostPath from policy API Group instead. - /// - public partial class Extensionsv1beta1AllowedHostPath - { - /// - /// Initializes a new instance of the Extensionsv1beta1AllowedHostPath - /// class. - /// - public Extensionsv1beta1AllowedHostPath() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1AllowedHostPath - /// class. - /// - /// pathPrefix 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` - /// when set to true, will allow host - /// volumes matching the pathPrefix only if all volume mounts are - /// readOnly. - public Extensionsv1beta1AllowedHostPath(string pathPrefix = default(string), bool? readOnlyProperty = default(bool?)) - { - PathPrefix = pathPrefix; - ReadOnlyProperty = readOnlyProperty; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets pathPrefix 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` - /// - [JsonProperty(PropertyName = "pathPrefix")] - public string PathPrefix { get; set; } - - /// - /// Gets or sets when set to true, will allow host volumes matching the - /// pathPrefix only if all volume mounts are readOnly. - /// - [JsonProperty(PropertyName = "readOnly")] - public bool? ReadOnlyProperty { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1Deployment.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1Deployment.cs deleted file mode 100644 index 8dac057c3..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1Deployment.cs +++ /dev/null @@ -1,115 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// 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 partial class Extensionsv1beta1Deployment - { - /// - /// Initializes a new instance of the Extensionsv1beta1Deployment - /// class. - /// - public Extensionsv1beta1Deployment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1Deployment - /// class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object metadata. - /// Specification of the desired behavior of the - /// Deployment. - /// Most recently observed status of the - /// Deployment. - public Extensionsv1beta1Deployment(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Extensionsv1beta1DeploymentSpec spec = default(Extensionsv1beta1DeploymentSpec), Extensionsv1beta1DeploymentStatus status = default(Extensionsv1beta1DeploymentStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object metadata. - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets specification of the desired behavior of the - /// Deployment. - /// - [JsonProperty(PropertyName = "spec")] - public Extensionsv1beta1DeploymentSpec Spec { get; set; } - - /// - /// Gets or sets most recently observed status of the Deployment. - /// - [JsonProperty(PropertyName = "status")] - public Extensionsv1beta1DeploymentStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Spec != null) - { - Spec.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentCondition.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentCondition.cs deleted file mode 100644 index 535c09c03..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentCondition.cs +++ /dev/null @@ -1,115 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentCondition describes the state of a deployment at a certain - /// point. - /// - public partial class Extensionsv1beta1DeploymentCondition - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1DeploymentCondition class. - /// - public Extensionsv1beta1DeploymentCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1DeploymentCondition class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of deployment condition. - /// Last time the condition - /// transitioned from one status to another. - /// The last time this condition was - /// updated. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public Extensionsv1beta1DeploymentCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), System.DateTime? lastUpdateTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - LastUpdateTime = lastUpdateTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets last time the condition transitioned from one status - /// to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets the last time this condition was updated. - /// - [JsonProperty(PropertyName = "lastUpdateTime")] - public System.DateTime? LastUpdateTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of deployment condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentList.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentList.cs deleted file mode 100644 index c29f889e2..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentList.cs +++ /dev/null @@ -1,115 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DeploymentList is a list of Deployments. - /// - public partial class Extensionsv1beta1DeploymentList - { - /// - /// Initializes a new instance of the Extensionsv1beta1DeploymentList - /// class. - /// - public Extensionsv1beta1DeploymentList() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1DeploymentList - /// class. - /// - /// Items is the list of Deployments. - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard list metadata. - public Extensionsv1beta1DeploymentList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) - { - ApiVersion = apiVersion; - Items = items; - Kind = kind; - Metadata = metadata; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets items is the list of Deployments. - /// - [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard list metadata. - /// - [JsonProperty(PropertyName = "metadata")] - public V1ListMeta Metadata { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Items == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Items"); - } - if (Items != null) - { - foreach (var element in Items) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentRollback.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentRollback.cs deleted file mode 100644 index bb735cf81..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentRollback.cs +++ /dev/null @@ -1,121 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DEPRECATED. DeploymentRollback stores the information required to - /// rollback a deployment. - /// - public partial class Extensionsv1beta1DeploymentRollback - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1DeploymentRollback class. - /// - public Extensionsv1beta1DeploymentRollback() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1DeploymentRollback class. - /// - /// Required: This must match the Name of a - /// deployment. - /// The config of this deployment - /// rollback. - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// The annotations to be updated to a - /// deployment - public Extensionsv1beta1DeploymentRollback(string name, Extensionsv1beta1RollbackConfig rollbackTo, string apiVersion = default(string), string kind = default(string), IDictionary updatedAnnotations = default(IDictionary)) - { - ApiVersion = apiVersion; - Kind = kind; - Name = name; - RollbackTo = rollbackTo; - UpdatedAnnotations = updatedAnnotations; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets required: This must match the Name of a deployment. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the config of this deployment rollback. - /// - [JsonProperty(PropertyName = "rollbackTo")] - public Extensionsv1beta1RollbackConfig RollbackTo { get; set; } - - /// - /// Gets or sets the annotations to be updated to a deployment - /// - [JsonProperty(PropertyName = "updatedAnnotations")] - public IDictionary UpdatedAnnotations { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Name"); - } - if (RollbackTo == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "RollbackTo"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentSpec.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentSpec.cs deleted file mode 100644 index 6430e63de..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentSpec.cs +++ /dev/null @@ -1,173 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentSpec is the specification of the desired behavior of the - /// Deployment. - /// - public partial class Extensionsv1beta1DeploymentSpec - { - /// - /// Initializes a new instance of the Extensionsv1beta1DeploymentSpec - /// class. - /// - public Extensionsv1beta1DeploymentSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1DeploymentSpec - /// class. - /// - /// Template describes the pods that will be - /// created. - /// 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) - /// Indicates that the deployment is paused and - /// will not be processed by the deployment controller. - /// 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 - /// set to the max value of int32 (i.e. 2147483647) by default, which - /// means "no deadline". - /// Number of desired pods. This is a pointer to - /// distinguish between explicit zero and not specified. Defaults to - /// 1. - /// The number of old ReplicaSets to - /// retain to allow rollback. This is a pointer to distinguish between - /// explicit zero and not specified. This is set to the max value of - /// int32 (i.e. 2147483647) by default, which means "retaining all old - /// RelicaSets". - /// DEPRECATED. The config this deployment is - /// rolling back to. Will be cleared after rollback is done. - /// Label selector for pods. Existing - /// ReplicaSets whose pods are selected by this will be the ones - /// affected by this deployment. - /// The deployment strategy to use to replace - /// existing pods with new ones. - public Extensionsv1beta1DeploymentSpec(V1PodTemplateSpec template, int? minReadySeconds = default(int?), bool? paused = default(bool?), int? progressDeadlineSeconds = default(int?), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), Extensionsv1beta1RollbackConfig rollbackTo = default(Extensionsv1beta1RollbackConfig), V1LabelSelector selector = default(V1LabelSelector), Extensionsv1beta1DeploymentStrategy strategy = default(Extensionsv1beta1DeploymentStrategy)) - { - MinReadySeconds = minReadySeconds; - Paused = paused; - ProgressDeadlineSeconds = progressDeadlineSeconds; - Replicas = replicas; - RevisionHistoryLimit = revisionHistoryLimit; - RollbackTo = rollbackTo; - Selector = selector; - Strategy = strategy; - Template = template; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "minReadySeconds")] - public int? MinReadySeconds { get; set; } - - /// - /// Gets or sets indicates that the deployment is paused and will not - /// be processed by the deployment controller. - /// - [JsonProperty(PropertyName = "paused")] - public bool? Paused { get; set; } - - /// - /// Gets or sets 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 set to the max - /// value of int32 (i.e. 2147483647) by default, which means "no - /// deadline". - /// - [JsonProperty(PropertyName = "progressDeadlineSeconds")] - public int? ProgressDeadlineSeconds { get; set; } - - /// - /// Gets or sets number of desired pods. This is a pointer to - /// distinguish between explicit zero and not specified. Defaults to 1. - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets the number of old ReplicaSets to retain to allow - /// rollback. This is a pointer to distinguish between explicit zero - /// and not specified. This is set to the max value of int32 (i.e. - /// 2147483647) by default, which means "retaining all old RelicaSets". - /// - [JsonProperty(PropertyName = "revisionHistoryLimit")] - public int? RevisionHistoryLimit { get; set; } - - /// - /// Gets or sets DEPRECATED. The config this deployment is rolling back - /// to. Will be cleared after rollback is done. - /// - [JsonProperty(PropertyName = "rollbackTo")] - public Extensionsv1beta1RollbackConfig RollbackTo { get; set; } - - /// - /// Gets or sets label selector for pods. Existing ReplicaSets whose - /// pods are selected by this will be the ones affected by this - /// deployment. - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets the deployment strategy to use to replace existing - /// pods with new ones. - /// - [JsonProperty(PropertyName = "strategy")] - public Extensionsv1beta1DeploymentStrategy Strategy { get; set; } - - /// - /// Gets or sets template describes the pods that will be created. - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Template == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Template"); - } - if (Template != null) - { - Template.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentStatus.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentStatus.cs deleted file mode 100644 index 2501c9f5e..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentStatus.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DeploymentStatus is the most recently observed status of the - /// Deployment. - /// - public partial class Extensionsv1beta1DeploymentStatus - { - /// - /// Initializes a new instance of the Extensionsv1beta1DeploymentStatus - /// class. - /// - public Extensionsv1beta1DeploymentStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1DeploymentStatus - /// class. - /// - /// Total number of available pods - /// (ready for at least minReadySeconds) targeted by this - /// deployment. - /// 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. - /// Represents the latest available - /// observations of a deployment's current state. - /// The generation observed by the - /// deployment controller. - /// Total number of ready pods targeted by - /// this deployment. - /// Total number of non-terminated pods targeted - /// by this deployment (their labels match the selector). - /// 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. - /// Total number of non-terminated pods - /// targeted by this deployment that have the desired template - /// spec. - public Extensionsv1beta1DeploymentStatus(int? availableReplicas = default(int?), int? collisionCount = default(int?), IList conditions = default(IList), long? observedGeneration = default(long?), int? readyReplicas = default(int?), int? replicas = default(int?), int? unavailableReplicas = default(int?), int? updatedReplicas = default(int?)) - { - AvailableReplicas = availableReplicas; - CollisionCount = collisionCount; - Conditions = conditions; - ObservedGeneration = observedGeneration; - ReadyReplicas = readyReplicas; - Replicas = replicas; - UnavailableReplicas = unavailableReplicas; - UpdatedReplicas = updatedReplicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets total number of available pods (ready for at least - /// minReadySeconds) targeted by this deployment. - /// - [JsonProperty(PropertyName = "availableReplicas")] - public int? AvailableReplicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "collisionCount")] - public int? CollisionCount { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// deployment's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets the generation observed by the deployment controller. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets total number of ready pods targeted by this - /// deployment. - /// - [JsonProperty(PropertyName = "readyReplicas")] - public int? ReadyReplicas { get; set; } - - /// - /// Gets or sets total number of non-terminated pods targeted by this - /// deployment (their labels match the selector). - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "unavailableReplicas")] - public int? UnavailableReplicas { get; set; } - - /// - /// Gets or sets total number of non-terminated pods targeted by this - /// deployment that have the desired template spec. - /// - [JsonProperty(PropertyName = "updatedReplicas")] - public int? UpdatedReplicas { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentStrategy.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentStrategy.cs deleted file mode 100644 index 16e06f261..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1DeploymentStrategy.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentStrategy describes how to replace existing pods with new - /// ones. - /// - public partial class Extensionsv1beta1DeploymentStrategy - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1DeploymentStrategy class. - /// - public Extensionsv1beta1DeploymentStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1DeploymentStrategy class. - /// - /// Rolling update config params. Present - /// only if DeploymentStrategyType = RollingUpdate. - /// Type of deployment. Can be "Recreate" or - /// "RollingUpdate". Default is RollingUpdate. - public Extensionsv1beta1DeploymentStrategy(Extensionsv1beta1RollingUpdateDeployment rollingUpdate = default(Extensionsv1beta1RollingUpdateDeployment), string type = default(string)) - { - RollingUpdate = rollingUpdate; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets rolling update config params. Present only if - /// DeploymentStrategyType = RollingUpdate. - /// - [JsonProperty(PropertyName = "rollingUpdate")] - public Extensionsv1beta1RollingUpdateDeployment RollingUpdate { get; set; } - - /// - /// Gets or sets type of deployment. Can be "Recreate" or - /// "RollingUpdate". Default is RollingUpdate. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs deleted file mode 100644 index 290941eda..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs +++ /dev/null @@ -1,67 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// FSGroupStrategyOptions defines the strategy type and options used to - /// create the strategy. Deprecated: use FSGroupStrategyOptions from policy - /// API Group instead. - /// - public partial class Extensionsv1beta1FSGroupStrategyOptions - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1FSGroupStrategyOptions class. - /// - public Extensionsv1beta1FSGroupStrategyOptions() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1FSGroupStrategyOptions class. - /// - /// 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. Required for MustRunAs. - /// rule is the strategy that will dictate what - /// FSGroup is used in the SecurityContext. - public Extensionsv1beta1FSGroupStrategyOptions(IList ranges = default(IList), string rule = default(string)) - { - Ranges = ranges; - Rule = rule; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. Required for MustRunAs. - /// - [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } - - /// - /// Gets or sets rule is the strategy that will dictate what FSGroup is - /// used in the SecurityContext. - /// - [JsonProperty(PropertyName = "rule")] - public string Rule { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1HTTPIngressPath.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1HTTPIngressPath.cs index 1568d7efd..c742bc79d 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1HTTPIngressPath.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1HTTPIngressPath.cs @@ -11,7 +11,7 @@ namespace k8s.Models using System.Linq; /// - /// HTTPIngressPath associates a path regex with a backend. Incoming urls + /// HTTPIngressPath associates a path with a backend. Incoming urls /// matching the path are forwarded to the backend. /// public partial class Extensionsv1beta1HTTPIngressPath @@ -31,17 +31,37 @@ public Extensionsv1beta1HTTPIngressPath() /// /// Backend defines the referenced service /// endpoint to which the traffic will be forwarded to. - /// 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 + /// Path is 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. - public Extensionsv1beta1HTTPIngressPath(Extensionsv1beta1IngressBackend backend, string path = default(string)) + /// must begin with a '/'. When unspecified, all paths from incoming + /// requests are matched. + /// PathType determines the interpretation of + /// the Path matching. PathType can be one of the following values: * + /// Exact: Matches the URL path exactly. * Prefix: Matches based on a + /// URL path prefix split by '/'. Matching is + /// done on a path element by element basis. A path element refers is + /// the + /// list of labels in the path split by the '/' separator. A request is + /// a + /// match for path p if every p is an element-wise prefix of p of the + /// request path. Note that if the last element of the path is a + /// substring + /// of the last element in request path, it is not a match (e.g. + /// /foo/bar + /// matches /foo/bar/baz, but does not match /foo/barbaz). + /// * ImplementationSpecific: Interpretation of the Path matching is up + /// to + /// the IngressClass. Implementations can treat this as a separate + /// PathType + /// or treat it identically to Prefix or Exact path types. + /// Implementations are required to support all path types. Defaults to + /// ImplementationSpecific. + public Extensionsv1beta1HTTPIngressPath(Extensionsv1beta1IngressBackend backend, string path = default(string), string pathType = default(string)) { Backend = backend; Path = path; + PathType = pathType; CustomInit(); } @@ -58,17 +78,41 @@ public Extensionsv1beta1HTTPIngressPath() public Extensionsv1beta1IngressBackend Backend { get; set; } /// - /// Gets or sets 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. + /// Gets or sets path is 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 '/'. When unspecified, all paths from incoming + /// requests are matched. /// [JsonProperty(PropertyName = "path")] public string Path { get; set; } + /// + /// Gets or sets pathType determines the interpretation of the Path + /// matching. PathType can be one of the following values: * Exact: + /// Matches the URL path exactly. * Prefix: Matches based on a URL path + /// prefix split by '/'. Matching is + /// done on a path element by element basis. A path element refers is + /// the + /// list of labels in the path split by the '/' separator. A request is + /// a + /// match for path p if every p is an element-wise prefix of p of the + /// request path. Note that if the last element of the path is a + /// substring + /// of the last element in request path, it is not a match (e.g. + /// /foo/bar + /// matches /foo/bar/baz, but does not match /foo/barbaz). + /// * ImplementationSpecific: Interpretation of the Path matching is up + /// to + /// the IngressClass. Implementations can treat this as a separate + /// PathType + /// or treat it identically to Prefix or Exact path types. + /// Implementations are required to support all path types. Defaults to + /// ImplementationSpecific. + /// + [JsonProperty(PropertyName = "pathType")] + public string PathType { get; set; } + /// /// Validate the object. /// diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1HostPortRange.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1HostPortRange.cs deleted file mode 100644 index f1dfcf40c..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1HostPortRange.cs +++ /dev/null @@ -1,69 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// HostPortRange 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. Deprecated: use HostPortRange from policy API Group instead. - /// - public partial class Extensionsv1beta1HostPortRange - { - /// - /// Initializes a new instance of the Extensionsv1beta1HostPortRange - /// class. - /// - public Extensionsv1beta1HostPortRange() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1HostPortRange - /// class. - /// - /// max is the end of the range, inclusive. - /// min is the start of the range, inclusive. - public Extensionsv1beta1HostPortRange(int max, int min) - { - Max = max; - Min = min; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets max is the end of the range, inclusive. - /// - [JsonProperty(PropertyName = "max")] - public int Max { get; set; } - - /// - /// Gets or sets min is the start of the range, inclusive. - /// - [JsonProperty(PropertyName = "min")] - public int Min { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - //Nothing to validate - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1IDRange.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1IDRange.cs deleted file mode 100644 index 823367bc5..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1IDRange.cs +++ /dev/null @@ -1,66 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// IDRange provides a min/max of an allowed range of IDs. Deprecated: use - /// IDRange from policy API Group instead. - /// - public partial class Extensionsv1beta1IDRange - { - /// - /// Initializes a new instance of the Extensionsv1beta1IDRange class. - /// - public Extensionsv1beta1IDRange() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1IDRange class. - /// - /// max is the end of the range, inclusive. - /// min is the start of the range, inclusive. - public Extensionsv1beta1IDRange(long max, long min) - { - Max = max; - Min = min; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets max is the end of the range, inclusive. - /// - [JsonProperty(PropertyName = "max")] - public long Max { get; set; } - - /// - /// Gets or sets min is the start of the range, inclusive. - /// - [JsonProperty(PropertyName = "min")] - public long Min { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - //Nothing to validate - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressBackend.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressBackend.cs index 649751316..6c0479773 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressBackend.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressBackend.cs @@ -6,7 +6,6 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -28,12 +27,17 @@ public Extensionsv1beta1IngressBackend() /// Initializes a new instance of the Extensionsv1beta1IngressBackend /// class. /// + /// Resource is an ObjectRef to another + /// Kubernetes resource in the namespace of the Ingress object. If + /// resource is specified, serviceName and servicePort must not be + /// specified. /// Specifies the name of the referenced /// service. /// Specifies the port of the referenced /// service. - public Extensionsv1beta1IngressBackend(string serviceName, IntstrIntOrString servicePort) + public Extensionsv1beta1IngressBackend(V1TypedLocalObjectReference resource = default(V1TypedLocalObjectReference), string serviceName = default(string), IntstrIntOrString servicePort = default(IntstrIntOrString)) { + Resource = resource; ServiceName = serviceName; ServicePort = servicePort; CustomInit(); @@ -44,6 +48,14 @@ public Extensionsv1beta1IngressBackend(string serviceName, IntstrIntOrString ser /// partial void CustomInit(); + /// + /// Gets or sets resource is an ObjectRef to another Kubernetes + /// resource in the namespace of the Ingress object. If resource is + /// specified, serviceName and servicePort must not be specified. + /// + [JsonProperty(PropertyName = "resource")] + public V1TypedLocalObjectReference Resource { get; set; } + /// /// Gets or sets specifies the name of the referenced service. /// @@ -59,18 +71,14 @@ public Extensionsv1beta1IngressBackend(string serviceName, IntstrIntOrString ser /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { - if (ServiceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ServiceName"); - } - if (ServicePort == null) + if (Resource != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "ServicePort"); + Resource.Validate(); } } } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressRule.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressRule.cs index ce3563fcd..75e863abb 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressRule.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressRule.cs @@ -32,9 +32,9 @@ public Extensionsv1beta1IngressRule() /// /// 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 - /// IP in the Spec of the parent Ingress. + /// from the "host" part of the URI as defined in RFC 3986: 1. IPs are + /// not allowed. Currently an IngressRuleValue can only apply to + /// the IP in the Spec of the parent Ingress. /// 2. The `:` delimiter is not respected because ports are not /// allowed. /// Currently the port of an Ingress is implicitly :80 for http and @@ -42,7 +42,19 @@ public Extensionsv1beta1IngressRule() /// Both 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. + /// IngressRuleValue. + /// + /// Host can be "precise" which is a domain name without the + /// terminating dot of a network host (e.g. "foo.bar.com") or + /// "wildcard", which is a domain name prefixed with a single wildcard + /// label (e.g. "*.foo.com"). The wildcard character '*' must appear by + /// itself as the first DNS label and matches only a single label. You + /// cannot have a wildcard label by itself (e.g. Host == "*"). Requests + /// will be matched against the Host field in the following way: 1. If + /// Host is precise, the request matches this rule if the http host + /// header is equal to Host. 2. If Host is a wildcard, then the request + /// matches this rule if the http host header is to equal to the suffix + /// (removing the first label) of the wildcard rule. public Extensionsv1beta1IngressRule(string host = default(string), Extensionsv1beta1HTTPIngressRuleValue http = default(Extensionsv1beta1HTTPIngressRuleValue)) { Host = host; @@ -58,9 +70,9 @@ public Extensionsv1beta1IngressRule() /// /// Gets or sets 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 - /// IP in the Spec of the parent Ingress. + /// the "host" part of the URI as defined in RFC 3986: 1. IPs are not + /// allowed. Currently an IngressRuleValue can only apply to + /// the IP in the Spec of the parent Ingress. /// 2. The `:` delimiter is not respected because ports are not /// allowed. /// Currently the port of an Ingress is implicitly :80 for http and @@ -69,6 +81,18 @@ public Extensionsv1beta1IngressRule() /// against the host before the IngressRuleValue. If the host is /// unspecified, the Ingress routes all traffic based on the specified /// IngressRuleValue. + /// + /// Host can be "precise" which is a domain name without the + /// terminating dot of a network host (e.g. "foo.bar.com") or + /// "wildcard", which is a domain name prefixed with a single wildcard + /// label (e.g. "*.foo.com"). The wildcard character '*' must appear by + /// itself as the first DNS label and matches only a single label. You + /// cannot have a wildcard label by itself (e.g. Host == "*"). Requests + /// will be matched against the Host field in the following way: 1. If + /// Host is precise, the request matches this rule if the http host + /// header is equal to Host. 2. If Host is a wildcard, then the request + /// matches this rule if the http host header is to equal to the suffix + /// (removing the first label) of the wildcard rule. /// [JsonProperty(PropertyName = "host")] public string Host { get; set; } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressSpec.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressSpec.cs index 0432d0b64..dec3fa3b1 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressSpec.cs +++ b/src/KubernetesClient/generated/Models/Extensionsv1beta1IngressSpec.cs @@ -34,6 +34,17 @@ public Extensionsv1beta1IngressSpec() /// 'rules' must be specified. This field is optional to allow the /// loadbalancer controller or defaulting logic to specify a global /// default. + /// IngressClassName is the name of the + /// IngressClass cluster resource. The associated IngressClass defines + /// which controller will implement the resource. This replaces the + /// deprecated `kubernetes.io/ingress.class` annotation. For backwards + /// compatibility, when that annotation is set, it must be given + /// precedence over this field. The controller may emit a warning if + /// the field and annotation have different values. Implementations of + /// this API should ignore Ingresses without a class specified. An + /// IngressClass resource may be marked as default, which can be used + /// to set a default value for this field. For more information, refer + /// to the IngressClass documentation. /// A list of host rules used to configure the /// Ingress. If unspecified, or no rule matches, all traffic is sent to /// the default backend. @@ -43,9 +54,10 @@ public Extensionsv1beta1IngressSpec() /// according to the hostname specified through the SNI TLS extension, /// if the ingress controller fulfilling the ingress supports /// SNI. - public Extensionsv1beta1IngressSpec(Extensionsv1beta1IngressBackend backend = default(Extensionsv1beta1IngressBackend), IList rules = default(IList), IList tls = default(IList)) + public Extensionsv1beta1IngressSpec(Extensionsv1beta1IngressBackend backend = default(Extensionsv1beta1IngressBackend), string ingressClassName = default(string), IList rules = default(IList), IList tls = default(IList)) { Backend = backend; + IngressClassName = ingressClassName; Rules = rules; Tls = tls; CustomInit(); @@ -65,6 +77,22 @@ public Extensionsv1beta1IngressSpec() [JsonProperty(PropertyName = "backend")] public Extensionsv1beta1IngressBackend Backend { get; set; } + /// + /// Gets or sets ingressClassName is the name of the IngressClass + /// cluster resource. The associated IngressClass defines which + /// controller will implement the resource. This replaces the + /// deprecated `kubernetes.io/ingress.class` annotation. For backwards + /// compatibility, when that annotation is set, it must be given + /// precedence over this field. The controller may emit a warning if + /// the field and annotation have different values. Implementations of + /// this API should ignore Ingresses without a class specified. An + /// IngressClass resource may be marked as default, which can be used + /// to set a default value for this field. For more information, refer + /// to the IngressClass documentation. + /// + [JsonProperty(PropertyName = "ingressClassName")] + public string IngressClassName { get; set; } + /// /// Gets or sets a list of host rules used to configure the Ingress. If /// unspecified, or no rule matches, all traffic is sent to the default diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs deleted file mode 100644 index b962efaad..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs +++ /dev/null @@ -1,436 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// PodSecurityPolicySpec defines the policy enforced. Deprecated: use - /// PodSecurityPolicySpec from policy API Group instead. - /// - public partial class Extensionsv1beta1PodSecurityPolicySpec - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1PodSecurityPolicySpec class. - /// - public Extensionsv1beta1PodSecurityPolicySpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1PodSecurityPolicySpec class. - /// - /// fsGroup is the strategy that will dictate - /// what fs group is used by the SecurityContext. - /// runAsUser is the strategy that will dictate - /// the allowable RunAsUser values that may be set. - /// seLinux is the strategy that will dictate the - /// allowable labels that may be set. - /// supplementalGroups is the strategy - /// that will dictate what supplemental groups are used by the - /// SecurityContext. - /// allowPrivilegeEscalation - /// determines if a pod can request to allow privilege escalation. If - /// unspecified, defaults to true. - /// AllowedCSIDrivers is a whitelist of - /// inline CSI drivers that must be explicitly set to be embedded - /// within a pod spec. An empty value indicates that any CSI driver can - /// be used for inline ephemeral volumes. - /// 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. - /// allowedFlexVolumes is a whitelist - /// of allowed Flexvolumes. Empty or nil indicates that all - /// Flexvolumes may be used. This parameter is effective only when the - /// usage of the Flexvolumes is allowed in the "volumes" field. - /// allowedHostPaths is a white list of - /// allowed host paths. Empty indicates that all host paths may be - /// used. - /// AllowedProcMountTypes is a - /// whitelist of allowed ProcMountTypes. Empty or nil indicates that - /// only the DefaultProcMountType may be used. This requires the - /// ProcMountType feature flag to be enabled. - /// allowedUnsafeSysctls is a list - /// of explicitly allowed unsafe sysctls, defaults to none. Each entry - /// is either a plain sysctl name or ends in "*" in which case it is - /// considered as a prefix of allowed sysctls. Single * means all - /// unsafe sysctls are allowed. Kubelet has to whitelist all allowed - /// unsafe sysctls explicitly to avoid rejection. - /// - /// Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. - /// "foo.*" allows "foo.bar", "foo.baz", etc. - /// 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 capability in both defaultAddCapabilities and - /// requiredDropCapabilities. Capabilities added here are implicitly - /// allowed, and need not be included in the allowedCapabilities - /// list. - /// defaultAllowPrivilegeEscalation - /// controls the default setting for whether a process can gain more - /// privileges than its parent process. - /// forbiddenSysctls is a list of - /// explicitly forbidden sysctls, defaults to none. Each entry is - /// either a plain sysctl name or ends in "*" in which case it is - /// considered as a prefix of forbidden sysctls. Single * means all - /// sysctls are forbidden. - /// - /// Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. - /// "foo.*" forbids "foo.bar", "foo.baz", etc. - /// hostIPC determines if the policy allows the - /// use of HostIPC in the pod spec. - /// hostNetwork determines if the policy - /// allows the use of HostNetwork in the pod spec. - /// hostPID determines if the policy allows the - /// use of HostPID in the pod spec. - /// hostPorts determines which host port ranges - /// are allowed to be exposed. - /// privileged determines if a pod can request - /// to be run as privileged. - /// 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. - /// requiredDropCapabilities are - /// the capabilities that will be dropped from the container. These - /// are required to be dropped and cannot be added. - /// RunAsGroup is the strategy that will - /// dictate the allowable RunAsGroup values that may be set. If this - /// field is omitted, the pod's RunAsGroup can take any value. This - /// field requires the RunAsGroup feature gate to be enabled. - /// runtimeClass is the strategy that will - /// dictate the allowable RuntimeClasses for a pod. If this field is - /// omitted, the pod's runtimeClassName field is unrestricted. - /// Enforcement of this field depends on the RuntimeClass feature gate - /// being enabled. - /// volumes is a white list of allowed volume - /// plugins. Empty indicates that no volumes may be used. To allow all - /// volumes you may use '*'. - public Extensionsv1beta1PodSecurityPolicySpec(Extensionsv1beta1FSGroupStrategyOptions fsGroup, Extensionsv1beta1RunAsUserStrategyOptions runAsUser, Extensionsv1beta1SELinuxStrategyOptions seLinux, Extensionsv1beta1SupplementalGroupsStrategyOptions supplementalGroups, bool? allowPrivilegeEscalation = default(bool?), IList allowedCSIDrivers = default(IList), IList allowedCapabilities = default(IList), IList allowedFlexVolumes = default(IList), IList allowedHostPaths = default(IList), IList allowedProcMountTypes = default(IList), IList allowedUnsafeSysctls = default(IList), IList defaultAddCapabilities = default(IList), bool? defaultAllowPrivilegeEscalation = default(bool?), IList forbiddenSysctls = default(IList), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), IList hostPorts = default(IList), bool? privileged = default(bool?), bool? readOnlyRootFilesystem = default(bool?), IList requiredDropCapabilities = default(IList), Extensionsv1beta1RunAsGroupStrategyOptions runAsGroup = default(Extensionsv1beta1RunAsGroupStrategyOptions), Extensionsv1beta1RuntimeClassStrategyOptions runtimeClass = default(Extensionsv1beta1RuntimeClassStrategyOptions), IList volumes = default(IList)) - { - AllowPrivilegeEscalation = allowPrivilegeEscalation; - AllowedCSIDrivers = allowedCSIDrivers; - AllowedCapabilities = allowedCapabilities; - AllowedFlexVolumes = allowedFlexVolumes; - AllowedHostPaths = allowedHostPaths; - AllowedProcMountTypes = allowedProcMountTypes; - AllowedUnsafeSysctls = allowedUnsafeSysctls; - DefaultAddCapabilities = defaultAddCapabilities; - DefaultAllowPrivilegeEscalation = defaultAllowPrivilegeEscalation; - ForbiddenSysctls = forbiddenSysctls; - FsGroup = fsGroup; - HostIPC = hostIPC; - HostNetwork = hostNetwork; - HostPID = hostPID; - HostPorts = hostPorts; - Privileged = privileged; - ReadOnlyRootFilesystem = readOnlyRootFilesystem; - RequiredDropCapabilities = requiredDropCapabilities; - RunAsGroup = runAsGroup; - RunAsUser = runAsUser; - RuntimeClass = runtimeClass; - SeLinux = seLinux; - SupplementalGroups = supplementalGroups; - Volumes = volumes; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets allowPrivilegeEscalation determines if a pod can - /// request to allow privilege escalation. If unspecified, defaults to - /// true. - /// - [JsonProperty(PropertyName = "allowPrivilegeEscalation")] - public bool? AllowPrivilegeEscalation { get; set; } - - /// - /// Gets or sets allowedCSIDrivers is a whitelist of inline CSI drivers - /// that must be explicitly set to be embedded within a pod spec. An - /// empty value indicates that any CSI driver can be used for inline - /// ephemeral volumes. - /// - [JsonProperty(PropertyName = "allowedCSIDrivers")] - public IList AllowedCSIDrivers { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "allowedCapabilities")] - public IList AllowedCapabilities { get; set; } - - /// - /// Gets or sets allowedFlexVolumes is a whitelist of allowed - /// Flexvolumes. Empty or nil indicates that all Flexvolumes may be - /// used. This parameter is effective only when the usage of the - /// Flexvolumes is allowed in the "volumes" field. - /// - [JsonProperty(PropertyName = "allowedFlexVolumes")] - public IList AllowedFlexVolumes { get; set; } - - /// - /// Gets or sets allowedHostPaths is a white list of allowed host - /// paths. Empty indicates that all host paths may be used. - /// - [JsonProperty(PropertyName = "allowedHostPaths")] - public IList AllowedHostPaths { get; set; } - - /// - /// Gets or sets allowedProcMountTypes is a whitelist of allowed - /// ProcMountTypes. Empty or nil indicates that only the - /// DefaultProcMountType may be used. This requires the ProcMountType - /// feature flag to be enabled. - /// - [JsonProperty(PropertyName = "allowedProcMountTypes")] - public IList AllowedProcMountTypes { get; set; } - - /// - /// Gets or sets allowedUnsafeSysctls is a list of explicitly allowed - /// unsafe sysctls, defaults to none. Each entry is either a plain - /// sysctl name or ends in "*" in which case it is considered as a - /// prefix of allowed sysctls. Single * means all unsafe sysctls are - /// allowed. Kubelet has to whitelist all allowed unsafe sysctls - /// explicitly to avoid rejection. - /// - /// Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. - /// "foo.*" allows "foo.bar", "foo.baz", etc. - /// - [JsonProperty(PropertyName = "allowedUnsafeSysctls")] - public IList AllowedUnsafeSysctls { get; set; } - - /// - /// Gets or sets 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 - /// capability in both defaultAddCapabilities and - /// requiredDropCapabilities. Capabilities added here are implicitly - /// allowed, and need not be included in the allowedCapabilities list. - /// - [JsonProperty(PropertyName = "defaultAddCapabilities")] - public IList DefaultAddCapabilities { get; set; } - - /// - /// Gets or sets defaultAllowPrivilegeEscalation controls the default - /// setting for whether a process can gain more privileges than its - /// parent process. - /// - [JsonProperty(PropertyName = "defaultAllowPrivilegeEscalation")] - public bool? DefaultAllowPrivilegeEscalation { get; set; } - - /// - /// Gets or sets forbiddenSysctls is a list of explicitly forbidden - /// sysctls, defaults to none. Each entry is either a plain sysctl name - /// or ends in "*" in which case it is considered as a prefix of - /// forbidden sysctls. Single * means all sysctls are forbidden. - /// - /// Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. - /// "foo.*" forbids "foo.bar", "foo.baz", etc. - /// - [JsonProperty(PropertyName = "forbiddenSysctls")] - public IList ForbiddenSysctls { get; set; } - - /// - /// Gets or sets fsGroup is the strategy that will dictate what fs - /// group is used by the SecurityContext. - /// - [JsonProperty(PropertyName = "fsGroup")] - public Extensionsv1beta1FSGroupStrategyOptions FsGroup { get; set; } - - /// - /// Gets or sets hostIPC determines if the policy allows the use of - /// HostIPC in the pod spec. - /// - [JsonProperty(PropertyName = "hostIPC")] - public bool? HostIPC { get; set; } - - /// - /// Gets or sets hostNetwork determines if the policy allows the use of - /// HostNetwork in the pod spec. - /// - [JsonProperty(PropertyName = "hostNetwork")] - public bool? HostNetwork { get; set; } - - /// - /// Gets or sets hostPID determines if the policy allows the use of - /// HostPID in the pod spec. - /// - [JsonProperty(PropertyName = "hostPID")] - public bool? HostPID { get; set; } - - /// - /// Gets or sets hostPorts determines which host port ranges are - /// allowed to be exposed. - /// - [JsonProperty(PropertyName = "hostPorts")] - public IList HostPorts { get; set; } - - /// - /// Gets or sets privileged determines if a pod can request to be run - /// as privileged. - /// - [JsonProperty(PropertyName = "privileged")] - public bool? Privileged { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "readOnlyRootFilesystem")] - public bool? ReadOnlyRootFilesystem { get; set; } - - /// - /// Gets or sets requiredDropCapabilities are the capabilities that - /// will be dropped from the container. These are required to be - /// dropped and cannot be added. - /// - [JsonProperty(PropertyName = "requiredDropCapabilities")] - public IList RequiredDropCapabilities { get; set; } - - /// - /// Gets or sets runAsGroup is the strategy that will dictate the - /// allowable RunAsGroup values that may be set. If this field is - /// omitted, the pod's RunAsGroup can take any value. This field - /// requires the RunAsGroup feature gate to be enabled. - /// - [JsonProperty(PropertyName = "runAsGroup")] - public Extensionsv1beta1RunAsGroupStrategyOptions RunAsGroup { get; set; } - - /// - /// Gets or sets runAsUser is the strategy that will dictate the - /// allowable RunAsUser values that may be set. - /// - [JsonProperty(PropertyName = "runAsUser")] - public Extensionsv1beta1RunAsUserStrategyOptions RunAsUser { get; set; } - - /// - /// Gets or sets runtimeClass is the strategy that will dictate the - /// allowable RuntimeClasses for a pod. If this field is omitted, the - /// pod's runtimeClassName field is unrestricted. Enforcement of this - /// field depends on the RuntimeClass feature gate being enabled. - /// - [JsonProperty(PropertyName = "runtimeClass")] - public Extensionsv1beta1RuntimeClassStrategyOptions RuntimeClass { get; set; } - - /// - /// Gets or sets seLinux is the strategy that will dictate the - /// allowable labels that may be set. - /// - [JsonProperty(PropertyName = "seLinux")] - public Extensionsv1beta1SELinuxStrategyOptions SeLinux { get; set; } - - /// - /// Gets or sets supplementalGroups is the strategy that will dictate - /// what supplemental groups are used by the SecurityContext. - /// - [JsonProperty(PropertyName = "supplementalGroups")] - public Extensionsv1beta1SupplementalGroupsStrategyOptions SupplementalGroups { get; set; } - - /// - /// Gets or sets volumes is a white list of allowed volume plugins. - /// Empty indicates that no volumes may be used. To allow all volumes - /// you may use '*'. - /// - [JsonProperty(PropertyName = "volumes")] - public IList Volumes { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (FsGroup == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "FsGroup"); - } - if (RunAsUser == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "RunAsUser"); - } - if (SeLinux == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "SeLinux"); - } - if (SupplementalGroups == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "SupplementalGroups"); - } - if (AllowedCSIDrivers != null) - { - foreach (var element in AllowedCSIDrivers) - { - if (element != null) - { - element.Validate(); - } - } - } - if (AllowedFlexVolumes != null) - { - foreach (var element1 in AllowedFlexVolumes) - { - if (element1 != null) - { - element1.Validate(); - } - } - } - if (HostPorts != null) - { - foreach (var element2 in HostPorts) - { - if (element2 != null) - { - element2.Validate(); - } - } - } - if (RunAsGroup != null) - { - RunAsGroup.Validate(); - } - if (RunAsUser != null) - { - RunAsUser.Validate(); - } - if (RuntimeClass != null) - { - RuntimeClass.Validate(); - } - if (SeLinux != null) - { - SeLinux.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1RollbackConfig.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1RollbackConfig.cs deleted file mode 100644 index 5a9dc18ee..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1RollbackConfig.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED. - /// - public partial class Extensionsv1beta1RollbackConfig - { - /// - /// Initializes a new instance of the Extensionsv1beta1RollbackConfig - /// class. - /// - public Extensionsv1beta1RollbackConfig() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1RollbackConfig - /// class. - /// - /// The revision to rollback to. If set to 0, - /// rollback to the last revision. - public Extensionsv1beta1RollbackConfig(long? revision = default(long?)) - { - Revision = revision; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the revision to rollback to. If set to 0, rollback to - /// the last revision. - /// - [JsonProperty(PropertyName = "revision")] - public long? Revision { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1RollingUpdateDeployment.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1RollingUpdateDeployment.cs deleted file mode 100644 index 40818a8f0..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1RollingUpdateDeployment.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Spec to control the desired behavior of rolling update. - /// - public partial class Extensionsv1beta1RollingUpdateDeployment - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1RollingUpdateDeployment class. - /// - public Extensionsv1beta1RollingUpdateDeployment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1RollingUpdateDeployment class. - /// - /// 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 at most 130% of desired pods. - /// 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. - public Extensionsv1beta1RollingUpdateDeployment(IntstrIntOrString maxSurge = default(IntstrIntOrString), IntstrIntOrString maxUnavailable = default(IntstrIntOrString)) - { - MaxSurge = maxSurge; - MaxUnavailable = maxUnavailable; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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 at most - /// 130% of desired pods. - /// - [JsonProperty(PropertyName = "maxSurge")] - public IntstrIntOrString MaxSurge { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "maxUnavailable")] - public IntstrIntOrString MaxUnavailable { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsGroupStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsGroupStrategyOptions.cs deleted file mode 100644 index bb17a86aa..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsGroupStrategyOptions.cs +++ /dev/null @@ -1,92 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// RunAsGroupStrategyOptions defines the strategy type and any options - /// used to create the strategy. Deprecated: use RunAsGroupStrategyOptions - /// from policy API Group instead. - /// - public partial class Extensionsv1beta1RunAsGroupStrategyOptions - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1RunAsGroupStrategyOptions class. - /// - public Extensionsv1beta1RunAsGroupStrategyOptions() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1RunAsGroupStrategyOptions class. - /// - /// rule is the strategy that will dictate the - /// allowable RunAsGroup values that may be set. - /// ranges are the allowed ranges of gids that may - /// be used. If you would like to force a single gid then supply a - /// single range with the same start and end. Required for - /// MustRunAs. - public Extensionsv1beta1RunAsGroupStrategyOptions(string rule, IList ranges = default(IList)) - { - Ranges = ranges; - Rule = rule; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets ranges are the allowed ranges of gids that may be - /// used. If you would like to force a single gid then supply a single - /// range with the same start and end. Required for MustRunAs. - /// - [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } - - /// - /// Gets or sets rule is the strategy that will dictate the allowable - /// RunAsGroup values that may be set. - /// - [JsonProperty(PropertyName = "rule")] - public string Rule { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Rule == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Rule"); - } - if (Ranges != null) - { - foreach (var element in Ranges) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs deleted file mode 100644 index 4aa16f1f9..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs +++ /dev/null @@ -1,92 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// RunAsUserStrategyOptions defines the strategy type and any options used - /// to create the strategy. Deprecated: use RunAsUserStrategyOptions from - /// policy API Group instead. - /// - public partial class Extensionsv1beta1RunAsUserStrategyOptions - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1RunAsUserStrategyOptions class. - /// - public Extensionsv1beta1RunAsUserStrategyOptions() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1RunAsUserStrategyOptions class. - /// - /// rule is the strategy that will dictate the - /// allowable RunAsUser values that may be set. - /// ranges are the allowed ranges of uids that may - /// be used. If you would like to force a single uid then supply a - /// single range with the same start and end. Required for - /// MustRunAs. - public Extensionsv1beta1RunAsUserStrategyOptions(string rule, IList ranges = default(IList)) - { - Ranges = ranges; - Rule = rule; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets ranges are the allowed ranges of uids that may be - /// used. If you would like to force a single uid then supply a single - /// range with the same start and end. Required for MustRunAs. - /// - [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } - - /// - /// Gets or sets rule is the strategy that will dictate the allowable - /// RunAsUser values that may be set. - /// - [JsonProperty(PropertyName = "rule")] - public string Rule { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Rule == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Rule"); - } - if (Ranges != null) - { - foreach (var element in Ranges) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1RuntimeClassStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1RuntimeClassStrategyOptions.cs deleted file mode 100644 index 46eef848a..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1RuntimeClassStrategyOptions.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// RuntimeClassStrategyOptions define the strategy that will dictate the - /// allowable RuntimeClasses for a pod. - /// - public partial class Extensionsv1beta1RuntimeClassStrategyOptions - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1RuntimeClassStrategyOptions class. - /// - public Extensionsv1beta1RuntimeClassStrategyOptions() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1RuntimeClassStrategyOptions class. - /// - /// allowedRuntimeClassNames is - /// a whitelist of RuntimeClass names that may be specified on a pod. A - /// value of "*" means that any RuntimeClass name is allowed, and must - /// be the only item in the list. An empty list requires the - /// RuntimeClassName field to be unset. - /// defaultRuntimeClassName is - /// the default RuntimeClassName to set on the pod. The default MUST be - /// allowed by the allowedRuntimeClassNames list. A value of nil does - /// not mutate the Pod. - public Extensionsv1beta1RuntimeClassStrategyOptions(IList allowedRuntimeClassNames, string defaultRuntimeClassName = default(string)) - { - AllowedRuntimeClassNames = allowedRuntimeClassNames; - DefaultRuntimeClassName = defaultRuntimeClassName; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets allowedRuntimeClassNames is a whitelist of - /// RuntimeClass names that may be specified on a pod. A value of "*" - /// means that any RuntimeClass name is allowed, and must be the only - /// item in the list. An empty list requires the RuntimeClassName field - /// to be unset. - /// - [JsonProperty(PropertyName = "allowedRuntimeClassNames")] - public IList AllowedRuntimeClassNames { get; set; } - - /// - /// Gets or sets defaultRuntimeClassName is the default - /// RuntimeClassName to set on the pod. The default MUST be allowed by - /// the allowedRuntimeClassNames list. A value of nil does not mutate - /// the Pod. - /// - [JsonProperty(PropertyName = "defaultRuntimeClassName")] - public string DefaultRuntimeClassName { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (AllowedRuntimeClassNames == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "AllowedRuntimeClassNames"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs deleted file mode 100644 index d46c1ee71..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs +++ /dev/null @@ -1,79 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// SELinuxStrategyOptions defines the strategy type and any options used - /// to create the strategy. Deprecated: use SELinuxStrategyOptions from - /// policy API Group instead. - /// - public partial class Extensionsv1beta1SELinuxStrategyOptions - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1SELinuxStrategyOptions class. - /// - public Extensionsv1beta1SELinuxStrategyOptions() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1SELinuxStrategyOptions class. - /// - /// rule is the strategy that will dictate the - /// allowable labels that may be set. - /// seLinuxOptions required to run as; - /// required for MustRunAs More info: - /// https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ - public Extensionsv1beta1SELinuxStrategyOptions(string rule, V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions)) - { - Rule = rule; - SeLinuxOptions = seLinuxOptions; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets rule is the strategy that will dictate the allowable - /// labels that may be set. - /// - [JsonProperty(PropertyName = "rule")] - public string Rule { get; set; } - - /// - /// Gets or sets seLinuxOptions required to run as; required for - /// MustRunAs More info: - /// https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ - /// - [JsonProperty(PropertyName = "seLinuxOptions")] - public V1SELinuxOptions SeLinuxOptions { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Rule == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Rule"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1Scale.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1Scale.cs deleted file mode 100644 index c1f900068..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1Scale.cs +++ /dev/null @@ -1,116 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// represents a scaling request for a resource. - /// - public partial class Extensionsv1beta1Scale - { - /// - /// Initializes a new instance of the Extensionsv1beta1Scale class. - /// - public Extensionsv1beta1Scale() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1Scale class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object metadata; More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - /// defines the behavior of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// current status of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// Read-only. - public Extensionsv1beta1Scale(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Extensionsv1beta1ScaleSpec spec = default(Extensionsv1beta1ScaleSpec), Extensionsv1beta1ScaleStatus status = default(Extensionsv1beta1ScaleStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object metadata; More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets defines the behavior of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// - [JsonProperty(PropertyName = "spec")] - public Extensionsv1beta1ScaleSpec Spec { get; set; } - - /// - /// Gets or sets current status of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// Read-only. - /// - [JsonProperty(PropertyName = "status")] - public Extensionsv1beta1ScaleStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status != null) - { - Status.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1ScaleSpec.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1ScaleSpec.cs deleted file mode 100644 index 4f13527be..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1ScaleSpec.cs +++ /dev/null @@ -1,48 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// describes the attributes of a scale subresource - /// - public partial class Extensionsv1beta1ScaleSpec - { - /// - /// Initializes a new instance of the Extensionsv1beta1ScaleSpec class. - /// - public Extensionsv1beta1ScaleSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1ScaleSpec class. - /// - /// desired number of instances for the scaled - /// object. - public Extensionsv1beta1ScaleSpec(int? replicas = default(int?)) - { - Replicas = replicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets desired number of instances for the scaled object. - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1ScaleStatus.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1ScaleStatus.cs deleted file mode 100644 index af03002cb..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1ScaleStatus.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// represents the current status of a scale subresource. - /// - public partial class Extensionsv1beta1ScaleStatus - { - /// - /// Initializes a new instance of the Extensionsv1beta1ScaleStatus - /// class. - /// - public Extensionsv1beta1ScaleStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Extensionsv1beta1ScaleStatus - /// class. - /// - /// actual number of observed instances of the - /// scaled object. - /// label query over pods that should match the - /// replicas count. 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 - public Extensionsv1beta1ScaleStatus(int replicas, IDictionary selector = default(IDictionary), string targetSelector = default(string)) - { - Replicas = replicas; - Selector = selector; - TargetSelector = targetSelector; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets actual number of observed instances of the scaled - /// object. - /// - [JsonProperty(PropertyName = "replicas")] - public int Replicas { get; set; } - - /// - /// Gets or sets label query over pods that should match the replicas - /// count. More info: - /// http://kubernetes.io/docs/user-guide/labels#label-selectors - /// - [JsonProperty(PropertyName = "selector")] - public IDictionary Selector { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "targetSelector")] - public string TargetSelector { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - } - } -} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs b/src/KubernetesClient/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs deleted file mode 100644 index a519d215c..000000000 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs +++ /dev/null @@ -1,68 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// SupplementalGroupsStrategyOptions defines the strategy type and options - /// used to create the strategy. Deprecated: use - /// SupplementalGroupsStrategyOptions from policy API Group instead. - /// - public partial class Extensionsv1beta1SupplementalGroupsStrategyOptions - { - /// - /// Initializes a new instance of the - /// Extensionsv1beta1SupplementalGroupsStrategyOptions class. - /// - public Extensionsv1beta1SupplementalGroupsStrategyOptions() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// Extensionsv1beta1SupplementalGroupsStrategyOptions class. - /// - /// 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. Required - /// for MustRunAs. - /// rule is the strategy that will dictate what - /// supplemental groups is used in the SecurityContext. - public Extensionsv1beta1SupplementalGroupsStrategyOptions(IList ranges = default(IList), string rule = default(string)) - { - Ranges = ranges; - Rule = rule; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. Required for MustRunAs. - /// - [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } - - /// - /// Gets or sets rule is the strategy that will dictate what - /// supplemental groups is used in the SecurityContext. - /// - [JsonProperty(PropertyName = "rule")] - public string Rule { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Flowcontrolv1alpha1Subject.cs b/src/KubernetesClient/generated/Models/Flowcontrolv1alpha1Subject.cs new file mode 100644 index 000000000..a48d488f8 --- /dev/null +++ b/src/KubernetesClient/generated/Models/Flowcontrolv1alpha1Subject.cs @@ -0,0 +1,93 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Subject matches the originator of a request, as identified by the + /// request authentication system. There are three ways of matching an + /// originator; by user, group, or service account. + /// + public partial class Flowcontrolv1alpha1Subject + { + /// + /// Initializes a new instance of the Flowcontrolv1alpha1Subject class. + /// + public Flowcontrolv1alpha1Subject() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Flowcontrolv1alpha1Subject class. + /// + /// Required + public Flowcontrolv1alpha1Subject(string kind, V1alpha1GroupSubject group = default(V1alpha1GroupSubject), V1alpha1ServiceAccountSubject serviceAccount = default(V1alpha1ServiceAccountSubject), V1alpha1UserSubject user = default(V1alpha1UserSubject)) + { + Group = group; + Kind = kind; + ServiceAccount = serviceAccount; + User = user; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "group")] + public V1alpha1GroupSubject Group { get; set; } + + /// + /// Gets or sets required + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; set; } + + /// + /// + [JsonProperty(PropertyName = "serviceAccount")] + public V1alpha1ServiceAccountSubject ServiceAccount { get; set; } + + /// + /// + [JsonProperty(PropertyName = "user")] + public V1alpha1UserSubject User { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Kind == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Kind"); + } + if (Group != null) + { + Group.Validate(); + } + if (ServiceAccount != null) + { + ServiceAccount.Validate(); + } + if (User != null) + { + User.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/Networkingv1beta1HTTPIngressPath.cs b/src/KubernetesClient/generated/Models/Networkingv1beta1HTTPIngressPath.cs index bae1b9b6c..f14331ce0 100644 --- a/src/KubernetesClient/generated/Models/Networkingv1beta1HTTPIngressPath.cs +++ b/src/KubernetesClient/generated/Models/Networkingv1beta1HTTPIngressPath.cs @@ -11,7 +11,7 @@ namespace k8s.Models using System.Linq; /// - /// HTTPIngressPath associates a path regex with a backend. Incoming urls + /// HTTPIngressPath associates a path with a backend. Incoming urls /// matching the path are forwarded to the backend. /// public partial class Networkingv1beta1HTTPIngressPath @@ -31,17 +31,37 @@ public Networkingv1beta1HTTPIngressPath() /// /// Backend defines the referenced service /// endpoint to which the traffic will be forwarded to. - /// 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 + /// Path is 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. - public Networkingv1beta1HTTPIngressPath(Networkingv1beta1IngressBackend backend, string path = default(string)) + /// must begin with a '/'. When unspecified, all paths from incoming + /// requests are matched. + /// PathType determines the interpretation of + /// the Path matching. PathType can be one of the following values: * + /// Exact: Matches the URL path exactly. * Prefix: Matches based on a + /// URL path prefix split by '/'. Matching is + /// done on a path element by element basis. A path element refers is + /// the + /// list of labels in the path split by the '/' separator. A request is + /// a + /// match for path p if every p is an element-wise prefix of p of the + /// request path. Note that if the last element of the path is a + /// substring + /// of the last element in request path, it is not a match (e.g. + /// /foo/bar + /// matches /foo/bar/baz, but does not match /foo/barbaz). + /// * ImplementationSpecific: Interpretation of the Path matching is up + /// to + /// the IngressClass. Implementations can treat this as a separate + /// PathType + /// or treat it identically to Prefix or Exact path types. + /// Implementations are required to support all path types. Defaults to + /// ImplementationSpecific. + public Networkingv1beta1HTTPIngressPath(Networkingv1beta1IngressBackend backend, string path = default(string), string pathType = default(string)) { Backend = backend; Path = path; + PathType = pathType; CustomInit(); } @@ -58,17 +78,41 @@ public Networkingv1beta1HTTPIngressPath() public Networkingv1beta1IngressBackend Backend { get; set; } /// - /// Gets or sets 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. + /// Gets or sets path is 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 '/'. When unspecified, all paths from incoming + /// requests are matched. /// [JsonProperty(PropertyName = "path")] public string Path { get; set; } + /// + /// Gets or sets pathType determines the interpretation of the Path + /// matching. PathType can be one of the following values: * Exact: + /// Matches the URL path exactly. * Prefix: Matches based on a URL path + /// prefix split by '/'. Matching is + /// done on a path element by element basis. A path element refers is + /// the + /// list of labels in the path split by the '/' separator. A request is + /// a + /// match for path p if every p is an element-wise prefix of p of the + /// request path. Note that if the last element of the path is a + /// substring + /// of the last element in request path, it is not a match (e.g. + /// /foo/bar + /// matches /foo/bar/baz, but does not match /foo/barbaz). + /// * ImplementationSpecific: Interpretation of the Path matching is up + /// to + /// the IngressClass. Implementations can treat this as a separate + /// PathType + /// or treat it identically to Prefix or Exact path types. + /// Implementations are required to support all path types. Defaults to + /// ImplementationSpecific. + /// + [JsonProperty(PropertyName = "pathType")] + public string PathType { get; set; } + /// /// Validate the object. /// diff --git a/src/KubernetesClient/generated/Models/Networkingv1beta1IngressBackend.cs b/src/KubernetesClient/generated/Models/Networkingv1beta1IngressBackend.cs index 4b6b6b5be..6f5f33813 100644 --- a/src/KubernetesClient/generated/Models/Networkingv1beta1IngressBackend.cs +++ b/src/KubernetesClient/generated/Models/Networkingv1beta1IngressBackend.cs @@ -6,7 +6,6 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -28,12 +27,17 @@ public Networkingv1beta1IngressBackend() /// Initializes a new instance of the Networkingv1beta1IngressBackend /// class. /// + /// Resource is an ObjectRef to another + /// Kubernetes resource in the namespace of the Ingress object. If + /// resource is specified, serviceName and servicePort must not be + /// specified. /// Specifies the name of the referenced /// service. /// Specifies the port of the referenced /// service. - public Networkingv1beta1IngressBackend(string serviceName, IntstrIntOrString servicePort) + public Networkingv1beta1IngressBackend(V1TypedLocalObjectReference resource = default(V1TypedLocalObjectReference), string serviceName = default(string), IntstrIntOrString servicePort = default(IntstrIntOrString)) { + Resource = resource; ServiceName = serviceName; ServicePort = servicePort; CustomInit(); @@ -44,6 +48,14 @@ public Networkingv1beta1IngressBackend(string serviceName, IntstrIntOrString ser /// partial void CustomInit(); + /// + /// Gets or sets resource is an ObjectRef to another Kubernetes + /// resource in the namespace of the Ingress object. If resource is + /// specified, serviceName and servicePort must not be specified. + /// + [JsonProperty(PropertyName = "resource")] + public V1TypedLocalObjectReference Resource { get; set; } + /// /// Gets or sets specifies the name of the referenced service. /// @@ -59,18 +71,14 @@ public Networkingv1beta1IngressBackend(string serviceName, IntstrIntOrString ser /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { - if (ServiceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ServiceName"); - } - if (ServicePort == null) + if (Resource != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "ServicePort"); + Resource.Validate(); } } } diff --git a/src/KubernetesClient/generated/Models/Networkingv1beta1IngressRule.cs b/src/KubernetesClient/generated/Models/Networkingv1beta1IngressRule.cs index 571ff7a10..8f4b07cf3 100644 --- a/src/KubernetesClient/generated/Models/Networkingv1beta1IngressRule.cs +++ b/src/KubernetesClient/generated/Models/Networkingv1beta1IngressRule.cs @@ -32,9 +32,9 @@ public Networkingv1beta1IngressRule() /// /// 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 - /// IP in the Spec of the parent Ingress. + /// from the "host" part of the URI as defined in RFC 3986: 1. IPs are + /// not allowed. Currently an IngressRuleValue can only apply to + /// the IP in the Spec of the parent Ingress. /// 2. The `:` delimiter is not respected because ports are not /// allowed. /// Currently the port of an Ingress is implicitly :80 for http and @@ -42,7 +42,19 @@ public Networkingv1beta1IngressRule() /// Both 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. + /// IngressRuleValue. + /// + /// Host can be "precise" which is a domain name without the + /// terminating dot of a network host (e.g. "foo.bar.com") or + /// "wildcard", which is a domain name prefixed with a single wildcard + /// label (e.g. "*.foo.com"). The wildcard character '*' must appear by + /// itself as the first DNS label and matches only a single label. You + /// cannot have a wildcard label by itself (e.g. Host == "*"). Requests + /// will be matched against the Host field in the following way: 1. If + /// Host is precise, the request matches this rule if the http host + /// header is equal to Host. 2. If Host is a wildcard, then the request + /// matches this rule if the http host header is to equal to the suffix + /// (removing the first label) of the wildcard rule. public Networkingv1beta1IngressRule(string host = default(string), Networkingv1beta1HTTPIngressRuleValue http = default(Networkingv1beta1HTTPIngressRuleValue)) { Host = host; @@ -58,9 +70,9 @@ public Networkingv1beta1IngressRule() /// /// Gets or sets 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 - /// IP in the Spec of the parent Ingress. + /// the "host" part of the URI as defined in RFC 3986: 1. IPs are not + /// allowed. Currently an IngressRuleValue can only apply to + /// the IP in the Spec of the parent Ingress. /// 2. The `:` delimiter is not respected because ports are not /// allowed. /// Currently the port of an Ingress is implicitly :80 for http and @@ -69,6 +81,18 @@ public Networkingv1beta1IngressRule() /// against the host before the IngressRuleValue. If the host is /// unspecified, the Ingress routes all traffic based on the specified /// IngressRuleValue. + /// + /// Host can be "precise" which is a domain name without the + /// terminating dot of a network host (e.g. "foo.bar.com") or + /// "wildcard", which is a domain name prefixed with a single wildcard + /// label (e.g. "*.foo.com"). The wildcard character '*' must appear by + /// itself as the first DNS label and matches only a single label. You + /// cannot have a wildcard label by itself (e.g. Host == "*"). Requests + /// will be matched against the Host field in the following way: 1. If + /// Host is precise, the request matches this rule if the http host + /// header is equal to Host. 2. If Host is a wildcard, then the request + /// matches this rule if the http host header is to equal to the suffix + /// (removing the first label) of the wildcard rule. /// [JsonProperty(PropertyName = "host")] public string Host { get; set; } diff --git a/src/KubernetesClient/generated/Models/Networkingv1beta1IngressSpec.cs b/src/KubernetesClient/generated/Models/Networkingv1beta1IngressSpec.cs index e3356382a..56da18354 100644 --- a/src/KubernetesClient/generated/Models/Networkingv1beta1IngressSpec.cs +++ b/src/KubernetesClient/generated/Models/Networkingv1beta1IngressSpec.cs @@ -34,6 +34,17 @@ public Networkingv1beta1IngressSpec() /// 'rules' must be specified. This field is optional to allow the /// loadbalancer controller or defaulting logic to specify a global /// default. + /// IngressClassName is the name of the + /// IngressClass cluster resource. The associated IngressClass defines + /// which controller will implement the resource. This replaces the + /// deprecated `kubernetes.io/ingress.class` annotation. For backwards + /// compatibility, when that annotation is set, it must be given + /// precedence over this field. The controller may emit a warning if + /// the field and annotation have different values. Implementations of + /// this API should ignore Ingresses without a class specified. An + /// IngressClass resource may be marked as default, which can be used + /// to set a default value for this field. For more information, refer + /// to the IngressClass documentation. /// A list of host rules used to configure the /// Ingress. If unspecified, or no rule matches, all traffic is sent to /// the default backend. @@ -43,9 +54,10 @@ public Networkingv1beta1IngressSpec() /// according to the hostname specified through the SNI TLS extension, /// if the ingress controller fulfilling the ingress supports /// SNI. - public Networkingv1beta1IngressSpec(Networkingv1beta1IngressBackend backend = default(Networkingv1beta1IngressBackend), IList rules = default(IList), IList tls = default(IList)) + public Networkingv1beta1IngressSpec(Networkingv1beta1IngressBackend backend = default(Networkingv1beta1IngressBackend), string ingressClassName = default(string), IList rules = default(IList), IList tls = default(IList)) { Backend = backend; + IngressClassName = ingressClassName; Rules = rules; Tls = tls; CustomInit(); @@ -65,6 +77,22 @@ public Networkingv1beta1IngressSpec() [JsonProperty(PropertyName = "backend")] public Networkingv1beta1IngressBackend Backend { get; set; } + /// + /// Gets or sets ingressClassName is the name of the IngressClass + /// cluster resource. The associated IngressClass defines which + /// controller will implement the resource. This replaces the + /// deprecated `kubernetes.io/ingress.class` annotation. For backwards + /// compatibility, when that annotation is set, it must be given + /// precedence over this field. The controller may emit a warning if + /// the field and annotation have different values. Implementations of + /// this API should ignore Ingresses without a class specified. An + /// IngressClass resource may be marked as default, which can be used + /// to set a default value for this field. For more information, refer + /// to the IngressClass documentation. + /// + [JsonProperty(PropertyName = "ingressClassName")] + public string IngressClassName { get; set; } + /// /// Gets or sets a list of host rules used to configure the Ingress. If /// unspecified, or no rule matches, all traffic is sent to the default diff --git a/src/KubernetesClient/generated/Models/Networkingv1beta1IngressTLS.cs b/src/KubernetesClient/generated/Models/Networkingv1beta1IngressTLS.cs index 8f74a2a91..de3b30584 100644 --- a/src/KubernetesClient/generated/Models/Networkingv1beta1IngressTLS.cs +++ b/src/KubernetesClient/generated/Models/Networkingv1beta1IngressTLS.cs @@ -36,8 +36,8 @@ public Networkingv1beta1IngressTLS() /// loadbalancer controller fulfilling this Ingress, if left /// unspecified. /// 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 + /// to terminate TLS traffic on port 443. Field is left optional to + /// allow TLS 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. @@ -65,8 +65,8 @@ public Networkingv1beta1IngressTLS() /// /// Gets or sets 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 + /// TLS traffic on port 443. Field is left optional to allow TLS + /// 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. diff --git a/src/KubernetesClient/generated/Models/V1alpha1Subject.cs b/src/KubernetesClient/generated/Models/Rbacv1alpha1Subject.cs similarity index 88% rename from src/KubernetesClient/generated/Models/V1alpha1Subject.cs rename to src/KubernetesClient/generated/Models/Rbacv1alpha1Subject.cs index 24e6d2453..beabe46e0 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1Subject.cs +++ b/src/KubernetesClient/generated/Models/Rbacv1alpha1Subject.cs @@ -15,18 +15,18 @@ namespace k8s.Models /// 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 partial class V1alpha1Subject + public partial class Rbacv1alpha1Subject { /// - /// Initializes a new instance of the V1alpha1Subject class. + /// Initializes a new instance of the Rbacv1alpha1Subject class. /// - public V1alpha1Subject() + public Rbacv1alpha1Subject() { CustomInit(); } /// - /// Initializes a new instance of the V1alpha1Subject class. + /// Initializes a new instance of the Rbacv1alpha1Subject class. /// /// Kind of object being referenced. Values defined /// by this API group are "User", "Group", and "ServiceAccount". If the @@ -41,7 +41,7 @@ public V1alpha1Subject() /// 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 V1alpha1Subject(string kind, string name, string apiVersion = default(string), string namespaceProperty = default(string)) + public Rbacv1alpha1Subject(string kind, string name, string apiVersion = default(string), string namespaceProperty = default(string)) { ApiVersion = apiVersion; Kind = kind; diff --git a/src/KubernetesClient/generated/Models/V1APIServiceSpec.cs b/src/KubernetesClient/generated/Models/V1APIServiceSpec.cs index 250c35ecd..52ae1dd37 100644 --- a/src/KubernetesClient/generated/Models/V1APIServiceSpec.cs +++ b/src/KubernetesClient/generated/Models/V1APIServiceSpec.cs @@ -6,7 +6,6 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -39,11 +38,6 @@ public V1APIServiceSpec() /// (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 - /// 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. /// 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 @@ -69,9 +63,14 @@ public V1APIServiceSpec() /// TLS certificate verification when communicating with this server. /// This is strongly discouraged. You should use the CABundle /// instead. + /// 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 is the API version this server hosts. /// For example, "v1" - public V1APIServiceSpec(int groupPriorityMinimum, Apiregistrationv1ServiceReference service, int versionPriority, byte[] caBundle = default(byte[]), string group = default(string), bool? insecureSkipTLSVerify = default(bool?), string version = default(string)) + public V1APIServiceSpec(int groupPriorityMinimum, int versionPriority, byte[] caBundle = default(byte[]), string group = default(string), bool? insecureSkipTLSVerify = default(bool?), Apiregistrationv1ServiceReference service = default(Apiregistrationv1ServiceReference), string version = default(string)) { CaBundle = caBundle; Group = group; @@ -166,15 +165,11 @@ public V1APIServiceSpec() /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { - if (Service == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Service"); - } } } } diff --git a/src/KubernetesClient/generated/Models/V1beta1ControllerRevisionList.cs b/src/KubernetesClient/generated/Models/V1CSIDriver.cs similarity index 60% rename from src/KubernetesClient/generated/Models/V1beta1ControllerRevisionList.cs rename to src/KubernetesClient/generated/Models/V1CSIDriver.cs index dfaaa0aba..f9095d6a3 100644 --- a/src/KubernetesClient/generated/Models/V1beta1ControllerRevisionList.cs +++ b/src/KubernetesClient/generated/Models/V1CSIDriver.cs @@ -8,31 +8,29 @@ namespace k8s.Models { using Microsoft.Rest; using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; using System.Linq; /// - /// ControllerRevisionList is a resource containing a list of - /// ControllerRevision objects. + /// CSIDriver captures information about a Container Storage Interface + /// (CSI) volume driver deployed on the cluster. Kubernetes attach detach + /// controller uses this object to determine whether attach is required. + /// Kubelet uses this object to determine whether pod information needs to + /// be passed on mount. CSIDriver objects are non-namespaced. /// - public partial class V1beta1ControllerRevisionList + public partial class V1CSIDriver { /// - /// Initializes a new instance of the V1beta1ControllerRevisionList - /// class. + /// Initializes a new instance of the V1CSIDriver class. /// - public V1beta1ControllerRevisionList() + public V1CSIDriver() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1ControllerRevisionList - /// class. + /// Initializes a new instance of the V1CSIDriver class. /// - /// Items is the list of - /// ControllerRevisions + /// Specification of the CSI Driver. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -43,14 +41,19 @@ public V1beta1ControllerRevisionList() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// More info: + /// Standard object metadata. metadata.Name + /// indicates the name of the CSI driver that this object refers to; it + /// MUST be the same name returned by the CSI GetPluginName() call for + /// that driver. The driver name must be 63 characters or less, + /// beginning and ending with an alphanumeric character ([a-z0-9A-Z]) + /// with dashes (-), dots (.), and alphanumerics between. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public V1beta1ControllerRevisionList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + public V1CSIDriver(V1CSIDriverSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) { ApiVersion = apiVersion; - Items = items; Kind = kind; Metadata = metadata; + Spec = spec; CustomInit(); } @@ -69,12 +72,6 @@ public V1beta1ControllerRevisionList() [JsonProperty(PropertyName = "apiVersion")] public string ApiVersion { get; set; } - /// - /// Gets or sets items is the list of ControllerRevisions - /// - [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } - /// /// Gets or sets kind is a string value representing the REST resource /// this object represents. Servers may infer this from the endpoint @@ -86,11 +83,22 @@ public V1beta1ControllerRevisionList() public string Kind { get; set; } /// - /// Gets or sets more info: + /// Gets or sets standard object metadata. metadata.Name indicates the + /// name of the CSI driver that this object refers to; it MUST be the + /// same name returned by the CSI GetPluginName() call for that driver. + /// The driver name must be 63 characters or less, beginning and ending + /// with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots + /// (.), and alphanumerics between. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] - public V1ListMeta Metadata { get; set; } + public V1ObjectMeta Metadata { get; set; } + + /// + /// Gets or sets specification of the CSI Driver. + /// + [JsonProperty(PropertyName = "spec")] + public V1CSIDriverSpec Spec { get; set; } /// /// Validate the object. @@ -100,19 +108,9 @@ public V1beta1ControllerRevisionList() /// public virtual void Validate() { - if (Items == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Items"); - } - if (Items != null) + if (Spec == null) { - foreach (var element in Items) - { - if (element != null) - { - element.Validate(); - } - } + throw new ValidationException(ValidationRules.CannotBeNull, "Spec"); } } } diff --git a/src/KubernetesClient/generated/Models/V1beta2DaemonSetList.cs b/src/KubernetesClient/generated/Models/V1CSIDriverList.cs similarity index 81% rename from src/KubernetesClient/generated/Models/V1beta2DaemonSetList.cs rename to src/KubernetesClient/generated/Models/V1CSIDriverList.cs index f047fc4b6..84cb9da02 100644 --- a/src/KubernetesClient/generated/Models/V1beta2DaemonSetList.cs +++ b/src/KubernetesClient/generated/Models/V1CSIDriverList.cs @@ -13,22 +13,22 @@ namespace k8s.Models using System.Linq; /// - /// DaemonSetList is a collection of daemon sets. + /// CSIDriverList is a collection of CSIDriver objects. /// - public partial class V1beta2DaemonSetList + public partial class V1CSIDriverList { /// - /// Initializes a new instance of the V1beta2DaemonSetList class. + /// Initializes a new instance of the V1CSIDriverList class. /// - public V1beta2DaemonSetList() + public V1CSIDriverList() { CustomInit(); } /// - /// Initializes a new instance of the V1beta2DaemonSetList class. + /// Initializes a new instance of the V1CSIDriverList class. /// - /// A list of daemon sets. + /// items is the list of CSIDriver /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -39,9 +39,9 @@ public V1beta2DaemonSetList() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard list metadata. More info: + /// Standard list metadata More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public V1beta2DaemonSetList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + public V1CSIDriverList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; Items = items; @@ -66,10 +66,10 @@ public V1beta2DaemonSetList() public string ApiVersion { get; set; } /// - /// Gets or sets a list of daemon sets. + /// Gets or sets items is the list of CSIDriver /// [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } + public IList Items { get; set; } /// /// Gets or sets kind is a string value representing the REST resource @@ -82,7 +82,7 @@ public V1beta2DaemonSetList() public string Kind { get; set; } /// - /// Gets or sets standard list metadata. More info: + /// Gets or sets standard list metadata More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] diff --git a/src/KubernetesClient/generated/Models/V1CSIDriverSpec.cs b/src/KubernetesClient/generated/Models/V1CSIDriverSpec.cs new file mode 100644 index 000000000..b93c7c923 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1CSIDriverSpec.cs @@ -0,0 +1,154 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// CSIDriverSpec is the specification of a CSIDriver. + /// + public partial class V1CSIDriverSpec + { + /// + /// Initializes a new instance of the V1CSIDriverSpec class. + /// + public V1CSIDriverSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1CSIDriverSpec class. + /// + /// attachRequired indicates this CSI + /// volume driver requires an attach operation (because it implements + /// the CSI ControllerPublishVolume() method), and that the Kubernetes + /// attach detach controller should call the attach volume interface + /// which checks the volumeattachment status and waits until the volume + /// is attached before proceeding to mounting. The CSI + /// external-attacher coordinates with CSI volume driver and updates + /// the volumeattachment status when the attach operation is complete. + /// If the CSIDriverRegistry feature gate is enabled and the value is + /// specified to false, the attach operation will be skipped. Otherwise + /// the attach operation will be called. + /// If set to true, podInfoOnMount + /// indicates this CSI volume driver requires additional pod + /// information (like podName, podUID, etc.) during mount operations. + /// If set to false, pod information will not be passed on mount. + /// Default is false. The CSI driver specifies podInfoOnMount as part + /// of driver deployment. If true, Kubelet will pass pod information as + /// VolumeContext in the CSI NodePublishVolume() calls. The CSI driver + /// is responsible for parsing and validating the information passed in + /// as VolumeContext. The following VolumeConext will be passed if + /// podInfoOnMount is set to true. This list might grow, but the prefix + /// will be used. "csi.storage.k8s.io/pod.name": pod.Name + /// "csi.storage.k8s.io/pod.namespace": pod.Namespace + /// "csi.storage.k8s.io/pod.uid": string(pod.UID) + /// "csi.storage.k8s.io/ephemeral": "true" iff the volume is an + /// ephemeral inline volume + /// defined by a CSIVolumeSource, otherwise "false" + /// + /// "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. + /// It is only required for drivers which support both the "Persistent" + /// and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod + /// info disabled and/or ignore this field. As Kubernetes 1.15 doesn't + /// support this field, drivers can only support one mode when deployed + /// on such a cluster and the deployment determines which mode that is, + /// for example via a command line parameter of the driver. + /// volumeLifecycleModes defines + /// what kind of volumes this CSI volume driver supports. The default + /// if the list is empty is "Persistent", which is the usage defined by + /// the CSI specification and implemented in Kubernetes via the usual + /// PV/PVC mechanism. The other mode is "Ephemeral". In this mode, + /// volumes are defined inline inside the pod spec with CSIVolumeSource + /// and their lifecycle is tied to the lifecycle of that pod. A driver + /// has to be aware of this because it is only going to get a + /// NodePublishVolume call for such a volume. For more information + /// about implementing this mode, see + /// https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html + /// A driver can support one or more of these modes and more modes may + /// be added in the future. This field is beta. + public V1CSIDriverSpec(bool? attachRequired = default(bool?), bool? podInfoOnMount = default(bool?), IList volumeLifecycleModes = default(IList)) + { + AttachRequired = attachRequired; + PodInfoOnMount = podInfoOnMount; + VolumeLifecycleModes = volumeLifecycleModes; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets attachRequired indicates this CSI volume driver + /// requires an attach operation (because it implements the CSI + /// ControllerPublishVolume() method), and that the Kubernetes attach + /// detach controller should call the attach volume interface which + /// checks the volumeattachment status and waits until the volume is + /// attached before proceeding to mounting. The CSI external-attacher + /// coordinates with CSI volume driver and updates the volumeattachment + /// status when the attach operation is complete. If the + /// CSIDriverRegistry feature gate is enabled and the value is + /// specified to false, the attach operation will be skipped. Otherwise + /// the attach operation will be called. + /// + [JsonProperty(PropertyName = "attachRequired")] + public bool? AttachRequired { get; set; } + + /// + /// Gets or sets if set to true, podInfoOnMount indicates this CSI + /// volume driver requires additional pod information (like podName, + /// podUID, etc.) during mount operations. If set to false, pod + /// information will not be passed on mount. Default is false. The CSI + /// driver specifies podInfoOnMount as part of driver deployment. If + /// true, Kubelet will pass pod information as VolumeContext in the CSI + /// NodePublishVolume() calls. The CSI driver is responsible for + /// parsing and validating the information passed in as VolumeContext. + /// The following VolumeConext will be passed if podInfoOnMount is set + /// to true. This list might grow, but the prefix will be used. + /// "csi.storage.k8s.io/pod.name": pod.Name + /// "csi.storage.k8s.io/pod.namespace": pod.Namespace + /// "csi.storage.k8s.io/pod.uid": string(pod.UID) + /// "csi.storage.k8s.io/ephemeral": "true" iff the volume is an + /// ephemeral inline volume + /// defined by a CSIVolumeSource, otherwise "false" + /// + /// "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. + /// It is only required for drivers which support both the "Persistent" + /// and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod + /// info disabled and/or ignore this field. As Kubernetes 1.15 doesn't + /// support this field, drivers can only support one mode when deployed + /// on such a cluster and the deployment determines which mode that is, + /// for example via a command line parameter of the driver. + /// + [JsonProperty(PropertyName = "podInfoOnMount")] + public bool? PodInfoOnMount { get; set; } + + /// + /// Gets or sets volumeLifecycleModes defines what kind of volumes this + /// CSI volume driver supports. The default if the list is empty is + /// "Persistent", which is the usage defined by the CSI specification + /// and implemented in Kubernetes via the usual PV/PVC mechanism. The + /// other mode is "Ephemeral". In this mode, volumes are defined inline + /// inside the pod spec with CSIVolumeSource and their lifecycle is + /// tied to the lifecycle of that pod. A driver has to be aware of this + /// because it is only going to get a NodePublishVolume call for such a + /// volume. For more information about implementing this mode, see + /// https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html + /// A driver can support one or more of these modes and more modes may + /// be added in the future. This field is beta. + /// + [JsonProperty(PropertyName = "volumeLifecycleModes")] + public IList VolumeLifecycleModes { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/Appsv1beta1Deployment.cs b/src/KubernetesClient/generated/Models/V1CSINode.cs similarity index 64% rename from src/KubernetesClient/generated/Models/Appsv1beta1Deployment.cs rename to src/KubernetesClient/generated/Models/V1CSINode.cs index a22a529e6..ca56c206f 100644 --- a/src/KubernetesClient/generated/Models/Appsv1beta1Deployment.cs +++ b/src/KubernetesClient/generated/Models/V1CSINode.cs @@ -6,27 +6,35 @@ namespace k8s.Models { + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; /// - /// 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. + /// CSINode holds information about all CSI drivers installed on a node. + /// CSI drivers do not need to create the CSINode object directly. As long + /// as they use the node-driver-registrar sidecar container, the kubelet + /// will automatically populate the CSINode object for the CSI driver as + /// part of kubelet plugin registration. CSINode has the same name as a + /// node. If the object is missing, it means either there are no CSI + /// Drivers available on the node, or the Kubelet version is low enough + /// that it doesn't create this object. CSINode has an OwnerReference that + /// points to the corresponding node object. /// - public partial class Appsv1beta1Deployment + public partial class V1CSINode { /// - /// Initializes a new instance of the Appsv1beta1Deployment class. + /// Initializes a new instance of the V1CSINode class. /// - public Appsv1beta1Deployment() + public V1CSINode() { CustomInit(); } /// - /// Initializes a new instance of the Appsv1beta1Deployment class. + /// Initializes a new instance of the V1CSINode class. /// + /// spec is the specification of CSINode /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -37,18 +45,14 @@ public Appsv1beta1Deployment() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object metadata. - /// Specification of the desired behavior of the - /// Deployment. - /// Most recently observed status of the - /// Deployment. - public Appsv1beta1Deployment(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Appsv1beta1DeploymentSpec spec = default(Appsv1beta1DeploymentSpec), Appsv1beta1DeploymentStatus status = default(Appsv1beta1DeploymentStatus)) + /// metadata.name must be the Kubernetes node + /// name. + public V1CSINode(V1CSINodeSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) { ApiVersion = apiVersion; Kind = kind; Metadata = metadata; Spec = spec; - Status = status; CustomInit(); } @@ -78,32 +82,29 @@ public Appsv1beta1Deployment() public string Kind { get; set; } /// - /// Gets or sets standard object metadata. + /// Gets or sets metadata.name must be the Kubernetes node name. /// [JsonProperty(PropertyName = "metadata")] public V1ObjectMeta Metadata { get; set; } /// - /// Gets or sets specification of the desired behavior of the - /// Deployment. + /// Gets or sets spec is the specification of CSINode /// [JsonProperty(PropertyName = "spec")] - public Appsv1beta1DeploymentSpec Spec { get; set; } - - /// - /// Gets or sets most recently observed status of the Deployment. - /// - [JsonProperty(PropertyName = "status")] - public Appsv1beta1DeploymentStatus Status { get; set; } + public V1CSINodeSpec Spec { get; set; } /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { + if (Spec == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Spec"); + } if (Spec != null) { Spec.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1CSINodeDriver.cs b/src/KubernetesClient/generated/Models/V1CSINodeDriver.cs new file mode 100644 index 000000000..66a521c4b --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1CSINodeDriver.cs @@ -0,0 +1,135 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// CSINodeDriver holds information about the specification of one CSI + /// driver installed on a node + /// + public partial class V1CSINodeDriver + { + /// + /// Initializes a new instance of the V1CSINodeDriver class. + /// + public V1CSINodeDriver() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1CSINodeDriver class. + /// + /// This is the name of the CSI driver that this + /// object refers to. This MUST be the same name returned by the CSI + /// GetPluginName() call for that driver. + /// nodeID of the node from the driver point of + /// view. This field enables Kubernetes to communicate with storage + /// systems that do not share the same nomenclature for nodes. For + /// example, Kubernetes may refer to a given node as "node1", but the + /// storage system may refer to the same node as "nodeA". When + /// Kubernetes issues a command to the storage system to attach a + /// volume to a specific node, it can use this field to refer to the + /// node name using the ID that the storage system will understand, + /// e.g. "nodeA" instead of "node1". This field is required. + /// allocatable represents the volume + /// resources of a node that are available for scheduling. This field + /// is beta. + /// topologyKeys is the list of keys + /// supported by the driver. When a driver is initialized on a cluster, + /// it provides a set of topology keys that it understands (e.g. + /// "company.com/zone", "company.com/region"). When a driver is + /// initialized on a node, it provides the same topology keys along + /// with values. Kubelet will expose these topology keys as labels on + /// its own node object. When Kubernetes does topology aware + /// provisioning, it can use this list to determine which labels it + /// should retrieve from the node object and pass back to the driver. + /// It is possible for different nodes to use different topology keys. + /// This can be empty if driver does not support topology. + public V1CSINodeDriver(string name, string nodeID, V1VolumeNodeResources allocatable = default(V1VolumeNodeResources), IList topologyKeys = default(IList)) + { + Allocatable = allocatable; + Name = name; + NodeID = nodeID; + TopologyKeys = topologyKeys; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets allocatable represents the volume resources of a node + /// that are available for scheduling. This field is beta. + /// + [JsonProperty(PropertyName = "allocatable")] + public V1VolumeNodeResources Allocatable { get; set; } + + /// + /// Gets or sets this is the name of the CSI driver that this object + /// refers to. This MUST be the same name returned by the CSI + /// GetPluginName() call for that driver. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets nodeID of the node from the driver point of view. This + /// field enables Kubernetes to communicate with storage systems that + /// do not share the same nomenclature for nodes. For example, + /// Kubernetes may refer to a given node as "node1", but the storage + /// system may refer to the same node as "nodeA". When Kubernetes + /// issues a command to the storage system to attach a volume to a + /// specific node, it can use this field to refer to the node name + /// using the ID that the storage system will understand, e.g. "nodeA" + /// instead of "node1". This field is required. + /// + [JsonProperty(PropertyName = "nodeID")] + public string NodeID { get; set; } + + /// + /// Gets or sets topologyKeys is the list of keys supported by the + /// driver. When a driver is initialized on a cluster, it provides a + /// set of topology keys that it understands (e.g. "company.com/zone", + /// "company.com/region"). When a driver is initialized on a node, it + /// provides the same topology keys along with values. Kubelet will + /// expose these topology keys as labels on its own node object. When + /// Kubernetes does topology aware provisioning, it can use this list + /// to determine which labels it should retrieve from the node object + /// and pass back to the driver. It is possible for different nodes to + /// use different topology keys. This can be empty if driver does not + /// support topology. + /// + [JsonProperty(PropertyName = "topologyKeys")] + public IList TopologyKeys { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (NodeID == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "NodeID"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1DaemonSetList.cs b/src/KubernetesClient/generated/Models/V1CSINodeList.cs similarity index 81% rename from src/KubernetesClient/generated/Models/V1beta1DaemonSetList.cs rename to src/KubernetesClient/generated/Models/V1CSINodeList.cs index fb3101831..6f9e2593a 100644 --- a/src/KubernetesClient/generated/Models/V1beta1DaemonSetList.cs +++ b/src/KubernetesClient/generated/Models/V1CSINodeList.cs @@ -13,22 +13,22 @@ namespace k8s.Models using System.Linq; /// - /// DaemonSetList is a collection of daemon sets. + /// CSINodeList is a collection of CSINode objects. /// - public partial class V1beta1DaemonSetList + public partial class V1CSINodeList { /// - /// Initializes a new instance of the V1beta1DaemonSetList class. + /// Initializes a new instance of the V1CSINodeList class. /// - public V1beta1DaemonSetList() + public V1CSINodeList() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1DaemonSetList class. + /// Initializes a new instance of the V1CSINodeList class. /// - /// A list of daemon sets. + /// items is the list of CSINode /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -39,9 +39,9 @@ public V1beta1DaemonSetList() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard list metadata. More info: + /// Standard list metadata More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public V1beta1DaemonSetList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + public V1CSINodeList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; Items = items; @@ -66,10 +66,10 @@ public V1beta1DaemonSetList() public string ApiVersion { get; set; } /// - /// Gets or sets a list of daemon sets. + /// Gets or sets items is the list of CSINode /// [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } + public IList Items { get; set; } /// /// Gets or sets kind is a string value representing the REST resource @@ -82,7 +82,7 @@ public V1beta1DaemonSetList() public string Kind { get; set; } /// - /// Gets or sets standard list metadata. More info: + /// Gets or sets standard list metadata More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] diff --git a/src/KubernetesClient/generated/Models/V1CSINodeSpec.cs b/src/KubernetesClient/generated/Models/V1CSINodeSpec.cs new file mode 100644 index 000000000..f8d9ee984 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1CSINodeSpec.cs @@ -0,0 +1,78 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// CSINodeSpec holds information about the specification of all CSI + /// drivers installed on a node + /// + public partial class V1CSINodeSpec + { + /// + /// Initializes a new instance of the V1CSINodeSpec class. + /// + public V1CSINodeSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1CSINodeSpec class. + /// + /// drivers is a list of information of all CSI + /// Drivers existing on a node. If all drivers in the list are + /// uninstalled, this can become empty. + public V1CSINodeSpec(IList drivers) + { + Drivers = drivers; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets drivers is a list of information of all CSI Drivers + /// existing on a node. If all drivers in the list are uninstalled, + /// this can become empty. + /// + [JsonProperty(PropertyName = "drivers")] + public IList Drivers { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Drivers == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Drivers"); + } + if (Drivers != null) + { + foreach (var element in Drivers) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1ConfigMap.cs b/src/KubernetesClient/generated/Models/V1ConfigMap.cs index 55f29c9d0..045b4e836 100644 --- a/src/KubernetesClient/generated/Models/V1ConfigMap.cs +++ b/src/KubernetesClient/generated/Models/V1ConfigMap.cs @@ -44,6 +44,11 @@ public V1ConfigMap() /// keys stored in Data must not overlap with the keys in the /// BinaryData field, this is enforced during validation /// process. + /// Immutable, if set to true, ensures that + /// data stored in the ConfigMap cannot be updated (only object + /// metadata can be modified). If not set to true, the field can be + /// modified at any time. Defaulted to nil. This is an alpha field + /// enabled by ImmutableEphemeralVolumes feature gate. /// Kind is a string value representing the REST /// resource this object represents. Servers may infer this from the /// endpoint the client submits requests to. Cannot be updated. In @@ -51,11 +56,12 @@ public V1ConfigMap() /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds /// Standard object's metadata. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public V1ConfigMap(string apiVersion = default(string), IDictionary binaryData = default(IDictionary), IDictionary data = default(IDictionary), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + public V1ConfigMap(string apiVersion = default(string), IDictionary binaryData = default(IDictionary), IDictionary data = default(IDictionary), bool? immutable = default(bool?), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) { ApiVersion = apiVersion; BinaryData = binaryData; Data = data; + Immutable = immutable; Kind = kind; Metadata = metadata; CustomInit(); @@ -97,6 +103,16 @@ public V1ConfigMap() [JsonProperty(PropertyName = "data")] public IDictionary Data { get; set; } + /// + /// Gets or sets immutable, if set to true, ensures that data stored in + /// the ConfigMap cannot be updated (only object metadata can be + /// modified). If not set to true, the field can be modified at any + /// time. Defaulted to nil. This is an alpha field enabled by + /// ImmutableEphemeralVolumes feature gate. + /// + [JsonProperty(PropertyName = "immutable")] + public bool? Immutable { get; set; } + /// /// Gets or sets kind is a string value representing the REST resource /// this object represents. Servers may infer this from the endpoint diff --git a/src/KubernetesClient/generated/Models/V1Container.cs b/src/KubernetesClient/generated/Models/V1Container.cs index b0aafb479..b8e8a2ebd 100644 --- a/src/KubernetesClient/generated/Models/V1Container.cs +++ b/src/KubernetesClient/generated/Models/V1Container.cs @@ -100,7 +100,7 @@ public V1Container() /// This can be used to provide different probe parameters at the /// beginning of a Pod's lifecycle, when it might take a long time to /// load data or warm a cache, than during steady-state operation. This - /// cannot be updated. This is an alpha feature enabled by the + /// cannot be updated. This is a beta feature enabled by the /// StartupProbe feature flag. More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes /// Whether this container should allocate a buffer @@ -135,8 +135,7 @@ public V1Container() /// Whether this container should allocate a TTY for /// itself, also requires 'stdin' to be true. Default is false. /// volumeDevices is the list of block - /// devices to be used by the container. This is a beta - /// feature. + /// devices to be used by the container. /// Pod volumes to mount into the /// container's filesystem. Cannot be updated. /// Container's working directory. If not @@ -310,7 +309,7 @@ public V1Container() /// provide different probe parameters at the beginning of a Pod's /// lifecycle, when it might take a long time to load data or warm a /// cache, than during steady-state operation. This cannot be updated. - /// This is an alpha feature enabled by the StartupProbe feature flag. + /// This is a beta feature enabled by the StartupProbe feature flag. /// More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes /// @@ -372,7 +371,7 @@ public V1Container() /// /// Gets or sets volumeDevices is the list of block devices to be used - /// by the container. This is a beta feature. + /// by the container. /// [JsonProperty(PropertyName = "volumeDevices")] public IList VolumeDevices { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1CustomResourceDefinitionSpec.cs b/src/KubernetesClient/generated/Models/V1CustomResourceDefinitionSpec.cs index e2fde9ee0..45201eb5b 100644 --- a/src/KubernetesClient/generated/Models/V1CustomResourceDefinitionSpec.cs +++ b/src/KubernetesClient/generated/Models/V1CustomResourceDefinitionSpec.cs @@ -40,7 +40,7 @@ public V1CustomResourceDefinitionSpec() /// the custom resource. /// scope indicates whether the defined custom /// resource is cluster- or namespace-scoped. Allowed values are - /// `Cluster` and `Namespaced`. Default is `Namespaced`. + /// `Cluster` and `Namespaced`. /// versions is the list of all API versions of /// the defined custom resource. Version names are used to compute the /// order in which served versions are listed in API discovery. If the @@ -119,7 +119,7 @@ public V1CustomResourceDefinitionSpec() /// /// Gets or sets scope indicates whether the defined custom resource is /// cluster- or namespace-scoped. Allowed values are `Cluster` and - /// `Namespaced`. Default is `Namespaced`. + /// `Namespaced`. /// [JsonProperty(PropertyName = "scope")] public string Scope { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1CustomResourceDefinitionStatus.cs b/src/KubernetesClient/generated/Models/V1CustomResourceDefinitionStatus.cs index aeaf09098..945a6d19f 100644 --- a/src/KubernetesClient/generated/Models/V1CustomResourceDefinitionStatus.cs +++ b/src/KubernetesClient/generated/Models/V1CustomResourceDefinitionStatus.cs @@ -6,7 +6,6 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -34,6 +33,8 @@ public V1CustomResourceDefinitionStatus() /// acceptedNames are the names that are /// actually being used to serve discovery. They may be different than /// the names in spec. + /// conditions indicate state for particular + /// aspects of a CustomResourceDefinition /// storedVersions lists all versions of /// CustomResources that were ever persisted. Tracking these versions /// allows a migration path for stored versions in etcd. The field is @@ -41,9 +42,7 @@ public V1CustomResourceDefinitionStatus() /// version (ensuring no old objects are left in storage), and then /// remove the rest of the versions from this list. Versions may not be /// removed from `spec.versions` while they exist in this list. - /// conditions indicate state for particular - /// aspects of a CustomResourceDefinition - public V1CustomResourceDefinitionStatus(V1CustomResourceDefinitionNames acceptedNames, IList storedVersions, IList conditions = default(IList)) + public V1CustomResourceDefinitionStatus(V1CustomResourceDefinitionNames acceptedNames = default(V1CustomResourceDefinitionNames), IList conditions = default(IList), IList storedVersions = default(IList)) { AcceptedNames = acceptedNames; Conditions = conditions; @@ -86,19 +85,11 @@ public V1CustomResourceDefinitionStatus() /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { - if (AcceptedNames == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "AcceptedNames"); - } - if (StoredVersions == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "StoredVersions"); - } if (AcceptedNames != null) { AcceptedNames.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1EndpointPort.cs b/src/KubernetesClient/generated/Models/V1EndpointPort.cs index 11fd53c62..3072955d8 100644 --- a/src/KubernetesClient/generated/Models/V1EndpointPort.cs +++ b/src/KubernetesClient/generated/Models/V1EndpointPort.cs @@ -26,13 +26,21 @@ public V1EndpointPort() /// Initializes a new instance of the V1EndpointPort class. /// /// The port number of the endpoint. + /// The application protocol for this port. + /// This field follows standard Kubernetes label syntax. Un-prefixed + /// names are reserved for IANA standard service names (as per RFC-6335 + /// and http://www.iana.org/assignments/service-names). Non-standard + /// protocols should use prefixed names such as + /// mycompany.com/my-custom-protocol. Field can be enabled with + /// ServiceAppProtocol feature gate. /// The name of this port. This must match the /// 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. /// Optional only if one port is defined. /// The IP protocol for this port. Must be UDP, /// TCP, or SCTP. Default is TCP. - public V1EndpointPort(int port, string name = default(string), string protocol = default(string)) + public V1EndpointPort(int port, string appProtocol = default(string), string name = default(string), string protocol = default(string)) { + AppProtocol = appProtocol; Name = name; Port = port; Protocol = protocol; @@ -44,6 +52,18 @@ public V1EndpointPort() /// partial void CustomInit(); + /// + /// Gets or sets the application protocol for this port. This field + /// follows standard Kubernetes label syntax. Un-prefixed names are + /// reserved for IANA standard service names (as per RFC-6335 and + /// http://www.iana.org/assignments/service-names). Non-standard + /// protocols should use prefixed names such as + /// mycompany.com/my-custom-protocol. Field can be enabled with + /// ServiceAppProtocol feature gate. + /// + [JsonProperty(PropertyName = "appProtocol")] + public string AppProtocol { get; set; } + /// /// Gets or sets the name of this port. This must match the 'name' /// field in the corresponding ServicePort. Must be a DNS_LABEL. diff --git a/src/KubernetesClient/generated/Models/V1EnvVarSource.cs b/src/KubernetesClient/generated/Models/V1EnvVarSource.cs index e0a89e3dc..ffbef92d1 100644 --- a/src/KubernetesClient/generated/Models/V1EnvVarSource.cs +++ b/src/KubernetesClient/generated/Models/V1EnvVarSource.cs @@ -29,7 +29,7 @@ public V1EnvVarSource() /// Selects a field of the pod: supports /// metadata.name, metadata.namespace, metadata.labels, /// metadata.annotations, spec.nodeName, spec.serviceAccountName, - /// status.hostIP, status.podIP. + /// status.hostIP, status.podIP, status.podIPs. /// Selects a resource of the container: /// only resources limits and requests (limits.cpu, limits.memory, /// limits.ephemeral-storage, requests.cpu, requests.memory and @@ -60,7 +60,7 @@ public V1EnvVarSource() /// Gets or sets selects a field of the pod: supports metadata.name, /// metadata.namespace, metadata.labels, metadata.annotations, /// spec.nodeName, spec.serviceAccountName, status.hostIP, - /// status.podIP. + /// status.podIP, status.podIPs. /// [JsonProperty(PropertyName = "fieldRef")] public V1ObjectFieldSelector FieldRef { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1EphemeralContainer.cs b/src/KubernetesClient/generated/Models/V1EphemeralContainer.cs index 2f37ce1df..a341b9a42 100644 --- a/src/KubernetesClient/generated/Models/V1EphemeralContainer.cs +++ b/src/KubernetesClient/generated/Models/V1EphemeralContainer.cs @@ -126,8 +126,7 @@ public V1EphemeralContainer() /// Whether this container should allocate a TTY for /// itself, also requires 'stdin' to be true. Default is false. /// volumeDevices is the list of block - /// devices to be used by the container. This is a beta - /// feature. + /// devices to be used by the container. /// Pod volumes to mount into the /// container's filesystem. Cannot be updated. /// Container's working directory. If not @@ -349,7 +348,7 @@ public V1EphemeralContainer() /// /// Gets or sets volumeDevices is the list of block devices to be used - /// by the container. This is a beta feature. + /// by the container. /// [JsonProperty(PropertyName = "volumeDevices")] public IList VolumeDevices { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1IPBlock.cs b/src/KubernetesClient/generated/Models/V1IPBlock.cs index 64e96f611..190ed8c70 100644 --- a/src/KubernetesClient/generated/Models/V1IPBlock.cs +++ b/src/KubernetesClient/generated/Models/V1IPBlock.cs @@ -13,10 +13,10 @@ namespace k8s.Models using System.Linq; /// - /// 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. + /// IPBlock describes a particular CIDR (Ex. + /// "192.168.1.1/24","2001:db9::/64") 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 partial class V1IPBlock { @@ -32,11 +32,11 @@ public V1IPBlock() /// Initializes a new instance of the V1IPBlock class. /// /// CIDR is a string representing the IP Block Valid - /// examples are "192.168.1.1/24" + /// examples are "192.168.1.1/24" or "2001:db9::/64" /// 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 + /// included within an IP Block Valid examples are "192.168.1.1/24" or + /// "2001:db9::/64" Except values will be rejected if they are outside + /// the CIDR range public V1IPBlock(string cidr, IList except = default(IList)) { Cidr = cidr; @@ -51,15 +51,16 @@ public V1IPBlock() /// /// Gets or sets CIDR is a string representing the IP Block Valid - /// examples are "192.168.1.1/24" + /// examples are "192.168.1.1/24" or "2001:db9::/64" /// [JsonProperty(PropertyName = "cidr")] public string Cidr { get; set; } /// /// Gets or sets 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 + /// within an IP Block Valid examples are "192.168.1.1/24" or + /// "2001:db9::/64" Except values will be rejected if they are outside + /// the CIDR range /// [JsonProperty(PropertyName = "except")] public IList Except { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1JSONSchemaProps.cs b/src/KubernetesClient/generated/Models/V1JSONSchemaProps.cs index 94ed24ae7..be4c5686a 100644 --- a/src/KubernetesClient/generated/Models/V1JSONSchemaProps.cs +++ b/src/KubernetesClient/generated/Models/V1JSONSchemaProps.cs @@ -41,6 +41,42 @@ public V1JSONSchemaProps() /// JSON represents any valid JSON value. These /// types are supported: bool, int64, float64, string, []interface{}, /// map[string]interface{} and nil. + /// format is an OpenAPI v3 format string. Unknown + /// formats are ignored. The following formats are validated: + /// + /// - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - + /// uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an + /// email address as parsed by Golang net/mail.ParseAddress - hostname: + /// a valid representation for an Internet host name, as defined by RFC + /// 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang + /// net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - + /// cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address + /// as parsed by Golang net.ParseMAC - uuid: an UUID that allows + /// uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ + /// - uuid3: an UUID3 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ + /// - uuid4: an UUID4 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ + /// - uuid5: an UUID5 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ + /// - isbn: an ISBN10 or ISBN13 number string like "0321751043" or + /// "978-0321751041" - isbn10: an ISBN10 number string like + /// "0321751043" - isbn13: an ISBN13 number string like + /// "978-0321751041" - creditcard: a credit card number defined by the + /// regex + /// ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ + /// with any non digit characters mixed in - ssn: a U.S. social + /// security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - + /// hexcolor: an hexadecimal color code like "#FFFFFF: following the + /// regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color + /// code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary + /// data - password: any kind of string - date: a date string like + /// "2006-01-02" as defined by full-date in RFC3339 - duration: a + /// duration string like "22 ns" as parsed by Golang time.ParseDuration + /// or compatible with Scala duration format - datetime: a date time + /// string like "2014-12-15T19:30:20.000Z" as defined by date-time in + /// RFC3339. /// JSONSchemaPropsOrArray represents a value that /// can either be a JSONSchemaProps or an array of JSONSchemaProps. /// Mainly here for serialization purposes. @@ -73,7 +109,11 @@ public V1JSONSchemaProps() /// This tag MUST only be used on lists that have the /// "x-kubernetes-list-type" extension set to "map". Also, the values /// specified for this attribute must be a scalar typed field of the - /// child structure (no nesting is supported). + /// child structure (no nesting is supported). + /// + /// The properties specified must either be required or have a default + /// value, to ensure those properties are present for all list + /// items. /// x-kubernetes-list-type annotates /// an array to further describe its topology. This extension must only /// be used on lists and may have 3 possible values: @@ -84,13 +124,27 @@ public V1JSONSchemaProps() /// 2) `set`: /// Sets are lists that must not have multiple items with the same /// value. Each - /// value must be a scalar (or another atomic type). + /// value must be a scalar, an object with x-kubernetes-map-type + /// `atomic` or an + /// array with x-kubernetes-list-type `atomic`. /// 3) `map`: /// These lists are like maps in that their elements have a non-index /// key /// used to identify them. Order is preserved upon merge. The map tag /// must only be used on a list with elements of type object. /// Defaults to atomic for arrays. + /// x-kubernetes-map-type annotates an + /// object to further describe its topology. This extension must only + /// be used when type is object and may have 2 possible values: + /// + /// 1) `granular`: + /// These maps are actual maps (key-value pairs) and each fields are + /// independent + /// from each other (they can each be manipulated by separate actors). + /// This is + /// the default behaviour for all maps. + /// 2) `atomic`: the list is treated as a single entity, like a scalar. + /// Atomic maps will be entirely replaced when updated. /// x-kubernetes-preserve-unknown-fields /// stops the API server decoding step from pruning fields which are @@ -99,7 +153,7 @@ public V1JSONSchemaProps() /// nested properties or additionalProperties are specified in the /// schema. This can either be true or undefined. False is /// forbidden. - public V1JSONSchemaProps(string refProperty = default(string), string schema = default(string), object additionalItems = default(object), object additionalProperties = default(object), IList allOf = default(IList), IList anyOf = default(IList), object defaultProperty = default(object), IDictionary definitions = default(IDictionary), IDictionary dependencies = default(IDictionary), string description = default(string), IList enumProperty = default(IList), object example = default(object), bool? exclusiveMaximum = default(bool?), bool? exclusiveMinimum = default(bool?), V1ExternalDocumentation externalDocs = default(V1ExternalDocumentation), string format = default(string), string id = default(string), object items = default(object), long? maxItems = default(long?), long? maxLength = default(long?), long? maxProperties = default(long?), double? maximum = default(double?), long? minItems = default(long?), long? minLength = default(long?), long? minProperties = default(long?), double? minimum = default(double?), double? multipleOf = default(double?), V1JSONSchemaProps not = default(V1JSONSchemaProps), bool? nullable = default(bool?), IList oneOf = default(IList), string pattern = default(string), IDictionary patternProperties = default(IDictionary), IDictionary properties = default(IDictionary), IList required = default(IList), string title = default(string), string type = default(string), bool? uniqueItems = default(bool?), bool? xKubernetesEmbeddedResource = default(bool?), bool? xKubernetesIntOrString = default(bool?), IList xKubernetesListMapKeys = default(IList), string xKubernetesListType = default(string), bool? xKubernetesPreserveUnknownFields = default(bool?)) + public V1JSONSchemaProps(string refProperty = default(string), string schema = default(string), object additionalItems = default(object), object additionalProperties = default(object), IList allOf = default(IList), IList anyOf = default(IList), object defaultProperty = default(object), IDictionary definitions = default(IDictionary), IDictionary dependencies = default(IDictionary), string description = default(string), IList enumProperty = default(IList), object example = default(object), bool? exclusiveMaximum = default(bool?), bool? exclusiveMinimum = default(bool?), V1ExternalDocumentation externalDocs = default(V1ExternalDocumentation), string format = default(string), string id = default(string), object items = default(object), long? maxItems = default(long?), long? maxLength = default(long?), long? maxProperties = default(long?), double? maximum = default(double?), long? minItems = default(long?), long? minLength = default(long?), long? minProperties = default(long?), double? minimum = default(double?), double? multipleOf = default(double?), V1JSONSchemaProps not = default(V1JSONSchemaProps), bool? nullable = default(bool?), IList oneOf = default(IList), string pattern = default(string), IDictionary patternProperties = default(IDictionary), IDictionary properties = default(IDictionary), IList required = default(IList), string title = default(string), string type = default(string), bool? uniqueItems = default(bool?), bool? xKubernetesEmbeddedResource = default(bool?), bool? xKubernetesIntOrString = default(bool?), IList xKubernetesListMapKeys = default(IList), string xKubernetesListType = default(string), string xKubernetesMapType = default(string), bool? xKubernetesPreserveUnknownFields = default(bool?)) { RefProperty = refProperty; Schema = schema; @@ -142,6 +196,7 @@ public V1JSONSchemaProps() XKubernetesIntOrString = xKubernetesIntOrString; XKubernetesListMapKeys = xKubernetesListMapKeys; XKubernetesListType = xKubernetesListType; + XKubernetesMapType = xKubernetesMapType; XKubernetesPreserveUnknownFields = xKubernetesPreserveUnknownFields; CustomInit(); } @@ -238,6 +293,42 @@ public V1JSONSchemaProps() public V1ExternalDocumentation ExternalDocs { get; set; } /// + /// Gets or sets format is an OpenAPI v3 format string. Unknown formats + /// are ignored. The following formats are validated: + /// + /// - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - + /// uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an + /// email address as parsed by Golang net/mail.ParseAddress - hostname: + /// a valid representation for an Internet host name, as defined by RFC + /// 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang + /// net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - + /// cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address + /// as parsed by Golang net.ParseMAC - uuid: an UUID that allows + /// uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ + /// - uuid3: an UUID3 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ + /// - uuid4: an UUID4 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ + /// - uuid5: an UUID5 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ + /// - isbn: an ISBN10 or ISBN13 number string like "0321751043" or + /// "978-0321751041" - isbn10: an ISBN10 number string like + /// "0321751043" - isbn13: an ISBN13 number string like + /// "978-0321751041" - creditcard: a credit card number defined by the + /// regex + /// ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ + /// with any non digit characters mixed in - ssn: a U.S. social + /// security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - + /// hexcolor: an hexadecimal color code like "#FFFFFF: following the + /// regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color + /// code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary + /// data - password: any kind of string - date: a date string like + /// "2006-01-02" as defined by full-date in RFC3339 - duration: a + /// duration string like "22 ns" as parsed by Golang time.ParseDuration + /// or compatible with Scala duration format - datetime: a date time + /// string like "2014-12-15T19:30:20.000Z" as defined by date-time in + /// RFC3339. /// [JsonProperty(PropertyName = "format")] public string Format { get; set; } @@ -389,6 +480,9 @@ public V1JSONSchemaProps() /// "x-kubernetes-list-type" extension set to "map". Also, the values /// specified for this attribute must be a scalar typed field of the /// child structure (no nesting is supported). + /// + /// The properties specified must either be required or have a default + /// value, to ensure those properties are present for all list items. /// [JsonProperty(PropertyName = "x-kubernetes-list-map-keys")] public IList XKubernetesListMapKeys { get; set; } @@ -404,7 +498,9 @@ public V1JSONSchemaProps() /// 2) `set`: /// Sets are lists that must not have multiple items with the same /// value. Each - /// value must be a scalar (or another atomic type). + /// value must be a scalar, an object with x-kubernetes-map-type + /// `atomic` or an + /// array with x-kubernetes-list-type `atomic`. /// 3) `map`: /// These lists are like maps in that their elements have a non-index /// key @@ -415,6 +511,23 @@ public V1JSONSchemaProps() [JsonProperty(PropertyName = "x-kubernetes-list-type")] public string XKubernetesListType { get; set; } + /// + /// Gets or sets x-kubernetes-map-type annotates an object to further + /// describe its topology. This extension must only be used when type + /// is object and may have 2 possible values: + /// + /// 1) `granular`: + /// These maps are actual maps (key-value pairs) and each fields are + /// independent + /// from each other (they can each be manipulated by separate actors). + /// This is + /// the default behaviour for all maps. + /// 2) `atomic`: the list is treated as a single entity, like a scalar. + /// Atomic maps will be entirely replaced when updated. + /// + [JsonProperty(PropertyName = "x-kubernetes-map-type")] + public string XKubernetesMapType { get; set; } + /// /// Gets or sets x-kubernetes-preserve-unknown-fields stops the API /// server decoding step from pruning fields which are not specified in diff --git a/src/KubernetesClient/generated/Models/V1LimitRangeItem.cs b/src/KubernetesClient/generated/Models/V1LimitRangeItem.cs index 8f1be4e38..7654211a2 100644 --- a/src/KubernetesClient/generated/Models/V1LimitRangeItem.cs +++ b/src/KubernetesClient/generated/Models/V1LimitRangeItem.cs @@ -6,6 +6,7 @@ namespace k8s.Models { + using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -28,6 +29,8 @@ public V1LimitRangeItem() /// /// Initializes a new instance of the V1LimitRangeItem class. /// + /// Type of resource that this limit applies + /// to. /// Default resource requirement limit /// value by resource name if resource limit is omitted. /// DefaultRequest is the default resource @@ -42,9 +45,7 @@ public V1LimitRangeItem() /// the named resource. /// Min usage constraints on this kind by resource /// name. - /// Type of resource that this limit applies - /// to. - public V1LimitRangeItem(IDictionary defaultProperty = default(IDictionary), IDictionary defaultRequest = default(IDictionary), IDictionary max = default(IDictionary), IDictionary maxLimitRequestRatio = default(IDictionary), IDictionary min = default(IDictionary), string type = default(string)) + public V1LimitRangeItem(string type, IDictionary defaultProperty = default(IDictionary), IDictionary defaultRequest = default(IDictionary), IDictionary max = default(IDictionary), IDictionary maxLimitRequestRatio = default(IDictionary), IDictionary min = default(IDictionary)) { DefaultProperty = defaultProperty; DefaultRequest = defaultRequest; @@ -101,5 +102,18 @@ public V1LimitRangeItem() [JsonProperty(PropertyName = "type")] public string Type { get; set; } + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + } } } diff --git a/src/KubernetesClient/generated/Models/V1LimitRangeSpec.cs b/src/KubernetesClient/generated/Models/V1LimitRangeSpec.cs index 6fe74f0aa..6cd140ee9 100644 --- a/src/KubernetesClient/generated/Models/V1LimitRangeSpec.cs +++ b/src/KubernetesClient/generated/Models/V1LimitRangeSpec.cs @@ -61,6 +61,16 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "Limits"); } + if (Limits != null) + { + foreach (var element in Limits) + { + if (element != null) + { + element.Validate(); + } + } + } } } } diff --git a/src/KubernetesClient/generated/Models/V1ObjectMeta.cs b/src/KubernetesClient/generated/Models/V1ObjectMeta.cs index fb7f80bd3..525a29c11 100644 --- a/src/KubernetesClient/generated/Models/V1ObjectMeta.cs +++ b/src/KubernetesClient/generated/Models/V1ObjectMeta.cs @@ -77,7 +77,17 @@ public V1ObjectMeta() /// 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. + /// can only be removed. Finalizers may be processed and removed in any + /// order. Order is NOT enforced because it introduces significant + /// risk of stuck finalizers. finalizers is a shared field, any actor + /// with permission can reorder it. If the finalizer list is processed + /// in order, then this can lead to a situation in which the component + /// responsible for the first finalizer in the list is waiting for a + /// signal (field value, external system, or other) produced by a + /// component responsible for a finalizer later in the list, resulting + /// in a deadlock. Without enforced ordering finalizers are free to + /// order amongst themselves and are not vulnerable to ordering changes + /// in the list. /// 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 @@ -254,6 +264,17 @@ public V1ObjectMeta() /// 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. + /// Finalizers may be processed and removed in any order. Order is NOT + /// enforced because it introduces significant risk of stuck + /// finalizers. finalizers is a shared field, any actor with permission + /// can reorder it. If the finalizer list is processed in order, then + /// this can lead to a situation in which the component responsible for + /// the first finalizer in the list is waiting for a signal (field + /// value, external system, or other) produced by a component + /// responsible for a finalizer later in the list, resulting in a + /// deadlock. Without enforced ordering finalizers are free to order + /// amongst themselves and are not vulnerable to ordering changes in + /// the list. /// [JsonProperty(PropertyName = "finalizers")] public IList Finalizers { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1PersistentVolumeClaimSpec.cs b/src/KubernetesClient/generated/Models/V1PersistentVolumeClaimSpec.cs index d864b9136..d59a415ad 100644 --- a/src/KubernetesClient/generated/Models/V1PersistentVolumeClaimSpec.cs +++ b/src/KubernetesClient/generated/Models/V1PersistentVolumeClaimSpec.cs @@ -33,15 +33,20 @@ public V1PersistentVolumeClaimSpec() /// AccessModes contains the desired access /// modes the volume should have. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 - /// This field requires the - /// VolumeSnapshotDataSource alpha feature gate to be enabled and - /// currently VolumeSnapshot is the only supported data source. If the - /// provisioner can support VolumeSnapshot data source, it will create - /// a new volume and data will be restored to the volume at the same - /// time. If the provisioner does not support VolumeSnapshot data - /// source, volume will not be created and the failure will be reported - /// as an event. In the future, we plan to support more data source - /// types and the behavior of the provisioner may change. + /// This field can be used to specify either: + /// * An existing VolumeSnapshot object + /// (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC + /// (PersistentVolumeClaim) * An existing custom resource/object that + /// implements data population (Alpha) In order to use VolumeSnapshot + /// object types, the appropriate feature gate must be enabled + /// (VolumeSnapshotDataSource or AnyVolumeDataSource) If the + /// provisioner or an external controller can support the specified + /// data source, it will create a new volume based on the contents of + /// the specified data source. If the specified data source is not + /// supported, the volume will not be created and the failure will be + /// reported as an event. In the future, we plan to support more data + /// source types and the behavior of the provisioner may + /// change. /// Resources represents the minimum resources /// the volume should have. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources @@ -52,7 +57,7 @@ public V1PersistentVolumeClaimSpec() /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 /// volumeMode defines what type of volume is /// required by the claim. Value of Filesystem is implied when not - /// included in claim spec. This is a beta feature. + /// included in claim spec. /// VolumeName is the binding reference to the /// PersistentVolume backing this claim. public V1PersistentVolumeClaimSpec(IList accessModes = default(IList), V1TypedLocalObjectReference dataSource = default(V1TypedLocalObjectReference), V1ResourceRequirements resources = default(V1ResourceRequirements), V1LabelSelector selector = default(V1LabelSelector), string storageClassName = default(string), string volumeMode = default(string), string volumeName = default(string)) @@ -81,15 +86,19 @@ public V1PersistentVolumeClaimSpec() public IList AccessModes { get; set; } /// - /// Gets or sets this field requires the VolumeSnapshotDataSource alpha - /// feature gate to be enabled and currently VolumeSnapshot is the only - /// supported data source. If the provisioner can support - /// VolumeSnapshot data source, it will create a new volume and data - /// will be restored to the volume at the same time. If the provisioner - /// does not support VolumeSnapshot data source, volume will not be - /// created and the failure will be reported as an event. In the - /// future, we plan to support more data source types and the behavior - /// of the provisioner may change. + /// Gets or sets this field can be used to specify either: * An + /// existing VolumeSnapshot object + /// (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC + /// (PersistentVolumeClaim) * An existing custom resource/object that + /// implements data population (Alpha) In order to use VolumeSnapshot + /// object types, the appropriate feature gate must be enabled + /// (VolumeSnapshotDataSource or AnyVolumeDataSource) If the + /// provisioner or an external controller can support the specified + /// data source, it will create a new volume based on the contents of + /// the specified data source. If the specified data source is not + /// supported, the volume will not be created and the failure will be + /// reported as an event. In the future, we plan to support more data + /// source types and the behavior of the provisioner may change. /// [JsonProperty(PropertyName = "dataSource")] public V1TypedLocalObjectReference DataSource { get; set; } @@ -119,7 +128,7 @@ public V1PersistentVolumeClaimSpec() /// /// Gets or sets volumeMode defines what type of volume is required by /// the claim. Value of Filesystem is implied when not included in - /// claim spec. This is a beta feature. + /// claim spec. /// [JsonProperty(PropertyName = "volumeMode")] public string VolumeMode { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1PersistentVolumeSpec.cs b/src/KubernetesClient/generated/Models/V1PersistentVolumeSpec.cs index 41d12b99c..838f65696 100644 --- a/src/KubernetesClient/generated/Models/V1PersistentVolumeSpec.cs +++ b/src/KubernetesClient/generated/Models/V1PersistentVolumeSpec.cs @@ -119,8 +119,8 @@ public V1PersistentVolumeSpec() /// https://examples.k8s.io/volumes/storageos/README.md /// volumeMode defines if a volume is intended /// to be used with a formatted filesystem or to remain in raw block - /// state. Value of Filesystem is implied when not included in spec. - /// This is a beta feature. + /// state. Value of Filesystem is implied when not included in + /// spec. /// VsphereVolume represents a vSphere /// volume attached and mounted on kubelets host machine public V1PersistentVolumeSpec(IList accessModes = default(IList), V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(V1AWSElasticBlockStoreVolumeSource), V1AzureDiskVolumeSource azureDisk = default(V1AzureDiskVolumeSource), V1AzureFilePersistentVolumeSource azureFile = default(V1AzureFilePersistentVolumeSource), IDictionary capacity = default(IDictionary), V1CephFSPersistentVolumeSource cephfs = default(V1CephFSPersistentVolumeSource), V1CinderPersistentVolumeSource cinder = default(V1CinderPersistentVolumeSource), V1ObjectReference claimRef = default(V1ObjectReference), V1CSIPersistentVolumeSource csi = default(V1CSIPersistentVolumeSource), V1FCVolumeSource fc = default(V1FCVolumeSource), V1FlexPersistentVolumeSource flexVolume = default(V1FlexPersistentVolumeSource), V1FlockerVolumeSource flocker = default(V1FlockerVolumeSource), V1GCEPersistentDiskVolumeSource gcePersistentDisk = default(V1GCEPersistentDiskVolumeSource), V1GlusterfsPersistentVolumeSource glusterfs = default(V1GlusterfsPersistentVolumeSource), V1HostPathVolumeSource hostPath = default(V1HostPathVolumeSource), V1ISCSIPersistentVolumeSource iscsi = default(V1ISCSIPersistentVolumeSource), V1LocalVolumeSource local = default(V1LocalVolumeSource), IList mountOptions = default(IList), V1NFSVolumeSource nfs = default(V1NFSVolumeSource), V1VolumeNodeAffinity nodeAffinity = default(V1VolumeNodeAffinity), string persistentVolumeReclaimPolicy = default(string), V1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(V1PhotonPersistentDiskVolumeSource), V1PortworxVolumeSource portworxVolume = default(V1PortworxVolumeSource), V1QuobyteVolumeSource quobyte = default(V1QuobyteVolumeSource), V1RBDPersistentVolumeSource rbd = default(V1RBDPersistentVolumeSource), V1ScaleIOPersistentVolumeSource scaleIO = default(V1ScaleIOPersistentVolumeSource), string storageClassName = default(string), V1StorageOSPersistentVolumeSource storageos = default(V1StorageOSPersistentVolumeSource), string volumeMode = default(string), V1VsphereVirtualDiskVolumeSource vsphereVolume = default(V1VsphereVirtualDiskVolumeSource)) @@ -390,8 +390,7 @@ public V1PersistentVolumeSpec() /// /// Gets or sets volumeMode defines if a volume is intended to be used /// with a formatted filesystem or to remain in raw block state. Value - /// of Filesystem is implied when not included in spec. This is a beta - /// feature. + /// of Filesystem is implied when not included in spec. /// [JsonProperty(PropertyName = "volumeMode")] public string VolumeMode { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1PodSecurityContext.cs b/src/KubernetesClient/generated/Models/V1PodSecurityContext.cs index 611cce774..739998a15 100644 --- a/src/KubernetesClient/generated/Models/V1PodSecurityContext.cs +++ b/src/KubernetesClient/generated/Models/V1PodSecurityContext.cs @@ -40,6 +40,13 @@ public V1PodSecurityContext() /// /// If unset, the Kubelet will not modify the ownership and permissions /// of any volume. + /// fsGroupChangePolicy defines + /// behavior of changing ownership and permission of the volume before + /// being exposed inside Pod. This field will only apply to volume + /// types which support fsGroup based ownership(and permissions). It + /// will have no effect on ephemeral volume types such as: secret, + /// configmaps and emptydir. Valid values are "OnRootMismatch" and + /// "Always". If not specified defaults to "Always". /// The GID to run the entrypoint of the /// container process. Uses runtime default if unset. May also be set /// in SecurityContext. If set in both SecurityContext and @@ -75,9 +82,10 @@ public V1PodSecurityContext() /// SecurityContext will be used. If set in both SecurityContext and /// PodSecurityContext, the value specified in SecurityContext takes /// precedence. - public V1PodSecurityContext(long? fsGroup = default(long?), long? runAsGroup = default(long?), bool? runAsNonRoot = default(bool?), long? runAsUser = default(long?), V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions), IList supplementalGroups = default(IList), IList sysctls = default(IList), V1WindowsSecurityContextOptions windowsOptions = default(V1WindowsSecurityContextOptions)) + public V1PodSecurityContext(long? fsGroup = default(long?), string fsGroupChangePolicy = default(string), long? runAsGroup = default(long?), bool? runAsNonRoot = default(bool?), long? runAsUser = default(long?), V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions), IList supplementalGroups = default(IList), IList sysctls = default(IList), V1WindowsSecurityContextOptions windowsOptions = default(V1WindowsSecurityContextOptions)) { FsGroup = fsGroup; + FsGroupChangePolicy = fsGroupChangePolicy; RunAsGroup = runAsGroup; RunAsNonRoot = runAsNonRoot; RunAsUser = runAsUser; @@ -108,6 +116,18 @@ public V1PodSecurityContext() [JsonProperty(PropertyName = "fsGroup")] public long? FsGroup { get; set; } + /// + /// Gets or sets fsGroupChangePolicy defines behavior of changing + /// ownership and permission of the volume before being exposed inside + /// Pod. This field will only apply to volume types which support + /// fsGroup based ownership(and permissions). It will have no effect on + /// ephemeral volume types such as: secret, configmaps and emptydir. + /// Valid values are "OnRootMismatch" and "Always". If not specified + /// defaults to "Always". + /// + [JsonProperty(PropertyName = "fsGroupChangePolicy")] + public string FsGroupChangePolicy { get; set; } + /// /// Gets or sets the GID to run the entrypoint of the container /// process. Uses runtime default if unset. May also be set in diff --git a/src/KubernetesClient/generated/Models/V1PodSpec.cs b/src/KubernetesClient/generated/Models/V1PodSpec.cs index 4adf25db9..26c4d096b 100644 --- a/src/KubernetesClient/generated/Models/V1PodSpec.cs +++ b/src/KubernetesClient/generated/Models/V1PodSpec.cs @@ -170,9 +170,7 @@ public V1PodSpec() /// containers will be able to view and signal processes from other /// containers in the same pod, and the first process in each container /// will not be assigned PID 1. HostPID and ShareProcessNamespace - /// cannot both be set. Optional: Default to false. This field is - /// beta-level and may be disabled with the PodShareProcessNamespace - /// feature. + /// cannot both be set. Optional: Default to false. /// If specified, the fully qualified Pod /// hostname will be "<hostname>.<subdomain>.<pod /// namespace>.svc.<cluster domain>". If not specified, the @@ -191,9 +189,9 @@ public V1PodSpec() /// TopologySpreadConstraints /// describes how a group of pods ought to spread across topology /// domains. Scheduler will schedule pods in a way which abides by the - /// constraints. This field is alpha-level and is only honored by - /// clusters that enables the EvenPodsSpread feature. All - /// topologySpreadConstraints are ANDed. + /// constraints. This field is only honored by clusters that enable the + /// EvenPodsSpread feature. All topologySpreadConstraints are + /// ANDed. /// List of volumes that can be mounted by /// containers belonging to the pod. More info: /// https://kubernetes.io/docs/concepts/storage/volumes @@ -515,8 +513,7 @@ public V1PodSpec() /// view and signal processes from other containers in the same pod, /// and the first process in each container will not be assigned PID 1. /// HostPID and ShareProcessNamespace cannot both be set. Optional: - /// Default to false. This field is beta-level and may be disabled with - /// the PodShareProcessNamespace feature. + /// Default to false. /// [JsonProperty(PropertyName = "shareProcessNamespace")] public bool? ShareProcessNamespace { get; set; } @@ -554,8 +551,8 @@ public V1PodSpec() /// Gets or sets topologySpreadConstraints describes how a group of /// pods ought to spread across topology domains. Scheduler will /// schedule pods in a way which abides by the constraints. This field - /// is alpha-level and is only honored by clusters that enables the - /// EvenPodsSpread feature. All topologySpreadConstraints are ANDed. + /// is only honored by clusters that enable the EvenPodsSpread feature. + /// All topologySpreadConstraints are ANDed. /// [JsonProperty(PropertyName = "topologySpreadConstraints")] public IList TopologySpreadConstraints { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1Secret.cs b/src/KubernetesClient/generated/Models/V1Secret.cs index 203588d8e..a6ee01980 100644 --- a/src/KubernetesClient/generated/Models/V1Secret.cs +++ b/src/KubernetesClient/generated/Models/V1Secret.cs @@ -38,6 +38,11 @@ public V1Secret() /// 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 + /// Immutable, if set to true, ensures that + /// data stored in the Secret cannot be updated (only object metadata + /// can be modified). If not set to true, the field can be modified at + /// any time. Defaulted to nil. This is an alpha field enabled by + /// ImmutableEphemeralVolumes feature gate. /// Kind is a string value representing the REST /// resource this object represents. Servers may infer this from the /// endpoint the client submits requests to. Cannot be updated. In @@ -52,10 +57,11 @@ public V1Secret() /// when reading from the API. /// Used to facilitate programmatic handling of /// secret data. - public V1Secret(string apiVersion = default(string), IDictionary data = default(IDictionary), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IDictionary stringData = default(IDictionary), string type = default(string)) + public V1Secret(string apiVersion = default(string), IDictionary data = default(IDictionary), bool? immutable = default(bool?), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IDictionary stringData = default(IDictionary), string type = default(string)) { ApiVersion = apiVersion; Data = data; + Immutable = immutable; Kind = kind; Metadata = metadata; StringData = stringData; @@ -88,6 +94,16 @@ public V1Secret() [JsonProperty(PropertyName = "data")] public IDictionary Data { get; set; } + /// + /// Gets or sets immutable, if set to true, ensures that data stored in + /// the Secret cannot be updated (only object metadata can be + /// modified). If not set to true, the field can be modified at any + /// time. Defaulted to nil. This is an alpha field enabled by + /// ImmutableEphemeralVolumes feature gate. + /// + [JsonProperty(PropertyName = "immutable")] + public bool? Immutable { get; set; } + /// /// Gets or sets kind is a string value representing the REST resource /// this object represents. Servers may infer this from the endpoint diff --git a/src/KubernetesClient/generated/Models/V1ServicePort.cs b/src/KubernetesClient/generated/Models/V1ServicePort.cs index c4d66e837..f2239daa3 100644 --- a/src/KubernetesClient/generated/Models/V1ServicePort.cs +++ b/src/KubernetesClient/generated/Models/V1ServicePort.cs @@ -27,6 +27,13 @@ public V1ServicePort() /// /// The port that will be exposed by this /// service. + /// The application protocol for this port. + /// This field follows standard Kubernetes label syntax. Un-prefixed + /// names are reserved for IANA standard service names (as per RFC-6335 + /// and http://www.iana.org/assignments/service-names). Non-standard + /// protocols should use prefixed names such as + /// mycompany.com/my-custom-protocol. Field can be enabled with + /// ServiceAppProtocol feature gate. /// The name of this port within the service. This /// must be a DNS_LABEL. All ports within a ServiceSpec must have /// unique names. When considering the endpoints for a Service, this @@ -50,8 +57,9 @@ public V1ServicePort() /// 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 V1ServicePort(int port, string name = default(string), int? nodePort = default(int?), string protocol = default(string), IntstrIntOrString targetPort = default(IntstrIntOrString)) + public V1ServicePort(int port, string appProtocol = default(string), string name = default(string), int? nodePort = default(int?), string protocol = default(string), IntstrIntOrString targetPort = default(IntstrIntOrString)) { + AppProtocol = appProtocol; Name = name; NodePort = nodePort; Port = port; @@ -65,6 +73,18 @@ public V1ServicePort() /// partial void CustomInit(); + /// + /// Gets or sets the application protocol for this port. This field + /// follows standard Kubernetes label syntax. Un-prefixed names are + /// reserved for IANA standard service names (as per RFC-6335 and + /// http://www.iana.org/assignments/service-names). Non-standard + /// protocols should use prefixed names such as + /// mycompany.com/my-custom-protocol. Field can be enabled with + /// ServiceAppProtocol feature gate. + /// + [JsonProperty(PropertyName = "appProtocol")] + public string AppProtocol { get; set; } + /// /// Gets or sets the name of this port within the service. This must be /// a DNS_LABEL. All ports within a ServiceSpec must have unique names. diff --git a/src/KubernetesClient/generated/Models/V1ServiceSpec.cs b/src/KubernetesClient/generated/Models/V1ServiceSpec.cs index 07295cf18..2df84c8aa 100644 --- a/src/KubernetesClient/generated/Models/V1ServiceSpec.cs +++ b/src/KubernetesClient/generated/Models/V1ServiceSpec.cs @@ -108,6 +108,19 @@ public V1ServiceSpec() /// https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies /// sessionAffinityConfig contains /// the configurations of session affinity. + /// topologyKeys is a preference-order list + /// of topology keys which implementations of services should use to + /// preferentially sort endpoints when accessing this Service, it can + /// not be used at the same time as externalTrafficPolicy=Local. + /// Topology keys must be valid label keys and at most 16 keys may be + /// specified. Endpoints are chosen based on the first topology key + /// with available backends. If this field is specified and all entries + /// have no backends that match the topology of the client, the service + /// has no backends for that client and connections should fail. The + /// special value "*" may be used to mean "any topology". This + /// catch-all value, if used, only makes sense as the last value in the + /// list. If this is not specified or empty, no topology constraints + /// will be applied. /// type determines how the Service is exposed. /// Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, /// NodePort, and LoadBalancer. "ExternalName" maps to the specified @@ -122,7 +135,7 @@ public V1ServiceSpec() /// 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 V1ServiceSpec(string clusterIP = default(string), IList externalIPs = default(IList), string externalName = default(string), string externalTrafficPolicy = default(string), int? healthCheckNodePort = default(int?), string ipFamily = default(string), string loadBalancerIP = default(string), IList loadBalancerSourceRanges = default(IList), IList ports = default(IList), bool? publishNotReadyAddresses = default(bool?), IDictionary selector = default(IDictionary), string sessionAffinity = default(string), V1SessionAffinityConfig sessionAffinityConfig = default(V1SessionAffinityConfig), string type = default(string)) + public V1ServiceSpec(string clusterIP = default(string), IList externalIPs = default(IList), string externalName = default(string), string externalTrafficPolicy = default(string), int? healthCheckNodePort = default(int?), string ipFamily = default(string), string loadBalancerIP = default(string), IList loadBalancerSourceRanges = default(IList), IList ports = default(IList), bool? publishNotReadyAddresses = default(bool?), IDictionary selector = default(IDictionary), string sessionAffinity = default(string), V1SessionAffinityConfig sessionAffinityConfig = default(V1SessionAffinityConfig), IList topologyKeys = default(IList), string type = default(string)) { ClusterIP = clusterIP; ExternalIPs = externalIPs; @@ -137,6 +150,7 @@ public V1ServiceSpec() Selector = selector; SessionAffinity = sessionAffinity; SessionAffinityConfig = sessionAffinityConfig; + TopologyKeys = topologyKeys; Type = type; CustomInit(); } @@ -291,6 +305,23 @@ public V1ServiceSpec() [JsonProperty(PropertyName = "sessionAffinityConfig")] public V1SessionAffinityConfig SessionAffinityConfig { get; set; } + /// + /// Gets or sets topologyKeys is a preference-order list of topology + /// keys which implementations of services should use to preferentially + /// sort endpoints when accessing this Service, it can not be used at + /// the same time as externalTrafficPolicy=Local. Topology keys must be + /// valid label keys and at most 16 keys may be specified. Endpoints + /// are chosen based on the first topology key with available backends. + /// If this field is specified and all entries have no backends that + /// match the topology of the client, the service has no backends for + /// that client and connections should fail. The special value "*" may + /// be used to mean "any topology". This catch-all value, if used, only + /// makes sense as the last value in the list. If this is not specified + /// or empty, no topology constraints will be applied. + /// + [JsonProperty(PropertyName = "topologyKeys")] + public IList TopologyKeys { get; set; } + /// /// Gets or sets type determines how the Service is exposed. Defaults /// to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, diff --git a/src/KubernetesClient/generated/Models/V1Taint.cs b/src/KubernetesClient/generated/Models/V1Taint.cs index 78ca33f3e..5ce8570e5 100644 --- a/src/KubernetesClient/generated/Models/V1Taint.cs +++ b/src/KubernetesClient/generated/Models/V1Taint.cs @@ -34,8 +34,8 @@ public V1Taint() /// node. /// TimeAdded represents the time at which the /// taint was added. It is only written for NoExecute taints. - /// Required. The taint value corresponding to the - /// taint key. + /// The taint value corresponding to the taint + /// key. public V1Taint(string effect, string key, System.DateTime? timeAdded = default(System.DateTime?), string value = default(string)) { Effect = effect; @@ -72,8 +72,7 @@ public V1Taint() public System.DateTime? TimeAdded { get; set; } /// - /// Gets or sets required. The taint value corresponding to the taint - /// key. + /// Gets or sets the taint value corresponding to the taint key. /// [JsonProperty(PropertyName = "value")] public string Value { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1VolumeMount.cs b/src/KubernetesClient/generated/Models/V1VolumeMount.cs index c7988cea1..1c3a2c190 100644 --- a/src/KubernetesClient/generated/Models/V1VolumeMount.cs +++ b/src/KubernetesClient/generated/Models/V1VolumeMount.cs @@ -43,8 +43,8 @@ public V1VolumeMount() /// which the container's volume should be mounted. Behaves similarly /// to SubPath but environment variable references $(VAR_NAME) are /// expanded using the container's environment. Defaults to "" - /// (volume's root). SubPathExpr and SubPath are mutually exclusive. - /// This field is beta in 1.15. + /// (volume's root). SubPathExpr and SubPath are mutually + /// exclusive. public V1VolumeMount(string mountPath, string name, string mountPropagation = default(string), bool? readOnlyProperty = default(bool?), string subPath = default(string), string subPathExpr = default(string)) { MountPath = mountPath; @@ -101,8 +101,7 @@ public V1VolumeMount() /// container's volume should be mounted. Behaves similarly to SubPath /// but environment variable references $(VAR_NAME) are expanded using /// the container's environment. Defaults to "" (volume's root). - /// SubPathExpr and SubPath are mutually exclusive. This field is beta - /// in 1.15. + /// SubPathExpr and SubPath are mutually exclusive. /// [JsonProperty(PropertyName = "subPathExpr")] public string SubPathExpr { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1VolumeNodeResources.cs b/src/KubernetesClient/generated/Models/V1VolumeNodeResources.cs new file mode 100644 index 000000000..e08544a8c --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1VolumeNodeResources.cs @@ -0,0 +1,59 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// VolumeNodeResources is a set of resource limits for scheduling of + /// volumes. + /// + public partial class V1VolumeNodeResources + { + /// + /// Initializes a new instance of the V1VolumeNodeResources class. + /// + public V1VolumeNodeResources() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1VolumeNodeResources class. + /// + /// Maximum number of unique volumes managed by the + /// CSI driver that can be used on a node. A volume that is both + /// attached and mounted on a node is considered to be used once, not + /// twice. The same rule applies for a unique volume that is shared + /// among multiple pods on the same node. If this field is not + /// specified, then the supported number of volumes on this node is + /// unbounded. + public V1VolumeNodeResources(int? count = default(int?)) + { + Count = count; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets maximum number of unique volumes managed by the CSI + /// driver that can be used on a node. A volume that is both attached + /// and mounted on a node is considered to be used once, not twice. The + /// same rule applies for a unique volume that is shared among multiple + /// pods on the same node. If this field is not specified, then the + /// supported number of volumes on this node is unbounded. + /// + [JsonProperty(PropertyName = "count")] + public int? Count { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V1WindowsSecurityContextOptions.cs b/src/KubernetesClient/generated/Models/V1WindowsSecurityContextOptions.cs index 4f0185379..8efbc4fb1 100644 --- a/src/KubernetesClient/generated/Models/V1WindowsSecurityContextOptions.cs +++ b/src/KubernetesClient/generated/Models/V1WindowsSecurityContextOptions.cs @@ -32,20 +32,15 @@ public V1WindowsSecurityContextOptions() /// GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the /// contents of the GMSA credential spec named by the - /// GMSACredentialSpecName field. This field is alpha-level and is only - /// honored by servers that enable the WindowsGMSA feature - /// flag. + /// GMSACredentialSpecName field. /// GMSACredentialSpecName is the - /// name of the GMSA credential spec to use. This field is alpha-level - /// and is only honored by servers that enable the WindowsGMSA feature - /// flag. + /// name of the GMSA credential spec to use. /// The UserName in Windows to run the /// entrypoint of the container process. Defaults to the 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. This field is alpha-level and it is only honored by - /// servers that enable the WindowsRunAsUserName feature flag. + /// precedence. public V1WindowsSecurityContextOptions(string gmsaCredentialSpec = default(string), string gmsaCredentialSpecName = default(string), string runAsUserName = default(string)) { GmsaCredentialSpec = gmsaCredentialSpec; @@ -63,16 +58,14 @@ public V1WindowsSecurityContextOptions() /// Gets or sets gMSACredentialSpec is where the GMSA admission webhook /// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the /// contents of the GMSA credential spec named by the - /// GMSACredentialSpecName field. This field is alpha-level and is only - /// honored by servers that enable the WindowsGMSA feature flag. + /// GMSACredentialSpecName field. /// [JsonProperty(PropertyName = "gmsaCredentialSpec")] public string GmsaCredentialSpec { get; set; } /// /// Gets or sets gMSACredentialSpecName is the name of the GMSA - /// credential spec to use. This field is alpha-level and is only - /// honored by servers that enable the WindowsGMSA feature flag. + /// credential spec to use. /// [JsonProperty(PropertyName = "gmsaCredentialSpecName")] public string GmsaCredentialSpecName { get; set; } @@ -82,9 +75,7 @@ public V1WindowsSecurityContextOptions() /// container process. Defaults to the 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. This field is alpha-level and it - /// is only honored by servers that enable the WindowsRunAsUserName - /// feature flag. + /// SecurityContext takes precedence. /// [JsonProperty(PropertyName = "runAsUserName")] public string RunAsUserName { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1alpha1ClusterRole.cs b/src/KubernetesClient/generated/Models/V1alpha1ClusterRole.cs index 76504e5cb..1a82a42ea 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1ClusterRole.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1ClusterRole.cs @@ -14,6 +14,8 @@ namespace k8s.Models /// /// ClusterRole is a cluster level, logical grouping of PolicyRules that /// can be referenced as a unit by a RoleBinding or ClusterRoleBinding. + /// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 + /// ClusterRole, and will no longer be served in v1.20. /// public partial class V1alpha1ClusterRole { diff --git a/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBinding.cs b/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBinding.cs index 5dc0e888e..394530e91 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBinding.cs @@ -15,7 +15,9 @@ namespace k8s.Models /// /// ClusterRoleBinding references a ClusterRole, but not contain it. It /// can reference a ClusterRole in the global namespace, and adds who - /// information via Subject. + /// information via Subject. Deprecated in v1.17 in favor of + /// rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be + /// served in v1.20. /// public partial class V1alpha1ClusterRoleBinding { @@ -46,7 +48,7 @@ public V1alpha1ClusterRoleBinding() /// Standard object's metadata. /// Subjects holds references to the objects the /// role applies to. - public V1alpha1ClusterRoleBinding(V1alpha1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) + public V1alpha1ClusterRoleBinding(V1alpha1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -100,7 +102,7 @@ public V1alpha1ClusterRoleBinding() /// applies to. /// [JsonProperty(PropertyName = "subjects")] - public IList Subjects { get; set; } + public IList Subjects { get; set; } /// /// Validate the object. diff --git a/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBindingList.cs b/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBindingList.cs index 47dfd75d7..97528f510 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBindingList.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleBindingList.cs @@ -13,7 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// ClusterRoleBindingList is a collection of ClusterRoleBindings + /// ClusterRoleBindingList is a collection of ClusterRoleBindings. + /// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 + /// ClusterRoleBindings, and will no longer be served in v1.20. /// public partial class V1alpha1ClusterRoleBindingList { diff --git a/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleList.cs b/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleList.cs index d82e54204..b0a7c019f 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleList.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1ClusterRoleList.cs @@ -13,7 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// ClusterRoleList is a collection of ClusterRoles + /// ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in + /// favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer + /// be served in v1.20. /// public partial class V1alpha1ClusterRoleList { diff --git a/src/KubernetesClient/generated/Models/V1alpha1FlowDistinguisherMethod.cs b/src/KubernetesClient/generated/Models/V1alpha1FlowDistinguisherMethod.cs new file mode 100644 index 000000000..78b9ea6fc --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1FlowDistinguisherMethod.cs @@ -0,0 +1,66 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// FlowDistinguisherMethod specifies the method of a flow distinguisher. + /// + public partial class V1alpha1FlowDistinguisherMethod + { + /// + /// Initializes a new instance of the V1alpha1FlowDistinguisherMethod + /// class. + /// + public V1alpha1FlowDistinguisherMethod() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1FlowDistinguisherMethod + /// class. + /// + /// `type` is the type of flow distinguisher method + /// The supported types are "ByUser" and "ByNamespace". + /// Required. + public V1alpha1FlowDistinguisherMethod(string type) + { + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `type` is the type of flow distinguisher method The + /// supported types are "ByUser" and "ByNamespace". Required. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta2StatefulSet.cs b/src/KubernetesClient/generated/Models/V1alpha1FlowSchema.cs similarity index 60% rename from src/KubernetesClient/generated/Models/V1beta2StatefulSet.cs rename to src/KubernetesClient/generated/Models/V1alpha1FlowSchema.cs index 3f408437f..24f434a2c 100644 --- a/src/KubernetesClient/generated/Models/V1beta2StatefulSet.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1FlowSchema.cs @@ -10,27 +10,23 @@ namespace k8s.Models using System.Linq; /// - /// DEPRECATED - This group version of StatefulSet is deprecated by - /// apps/v1/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. + /// FlowSchema defines the schema of a group of flows. Note that a flow is + /// made up of a set of inbound API requests with similar attributes and is + /// identified by a pair of strings: the name of the FlowSchema and a "flow + /// distinguisher". /// - public partial class V1beta2StatefulSet + public partial class V1alpha1FlowSchema { /// - /// Initializes a new instance of the V1beta2StatefulSet class. + /// Initializes a new instance of the V1alpha1FlowSchema class. /// - public V1beta2StatefulSet() + public V1alpha1FlowSchema() { CustomInit(); } /// - /// Initializes a new instance of the V1beta2StatefulSet class. + /// Initializes a new instance of the V1alpha1FlowSchema class. /// /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized @@ -42,12 +38,16 @@ public V1beta2StatefulSet() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Spec defines the desired identities of pods in - /// this set. - /// Status is the current status of Pods in this - /// StatefulSet. This data may be out of date by some window of - /// time. - public V1beta2StatefulSet(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta2StatefulSetSpec spec = default(V1beta2StatefulSetSpec), V1beta2StatefulSetStatus status = default(V1beta2StatefulSetStatus)) + /// `metadata` is the standard object's + /// metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// `spec` is the specification of the desired + /// behavior of a FlowSchema. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + /// `status` is the current status of a + /// FlowSchema. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + public V1alpha1FlowSchema(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1alpha1FlowSchemaSpec spec = default(V1alpha1FlowSchemaSpec), V1alpha1FlowSchemaStatus status = default(V1alpha1FlowSchemaStatus)) { ApiVersion = apiVersion; Kind = kind; @@ -83,23 +83,28 @@ public V1beta2StatefulSet() public string Kind { get; set; } /// + /// Gets or sets `metadata` is the standard object's metadata. More + /// info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] public V1ObjectMeta Metadata { get; set; } /// - /// Gets or sets spec defines the desired identities of pods in this - /// set. + /// Gets or sets `spec` is the specification of the desired behavior of + /// a FlowSchema. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status /// [JsonProperty(PropertyName = "spec")] - public V1beta2StatefulSetSpec Spec { get; set; } + public V1alpha1FlowSchemaSpec Spec { get; set; } /// - /// Gets or sets status is the current status of Pods in this - /// StatefulSet. This data may be out of date by some window of time. + /// Gets or sets `status` is the current status of a FlowSchema. More + /// info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status /// [JsonProperty(PropertyName = "status")] - public V1beta2StatefulSetStatus Status { get; set; } + public V1alpha1FlowSchemaStatus Status { get; set; } /// /// Validate the object. @@ -113,10 +118,6 @@ public virtual void Validate() { Spec.Validate(); } - if (Status != null) - { - Status.Validate(); - } } } } diff --git a/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaCondition.cs b/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaCondition.cs new file mode 100644 index 000000000..c097eeb12 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaCondition.cs @@ -0,0 +1,90 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// FlowSchemaCondition describes conditions for a FlowSchema. + /// + public partial class V1alpha1FlowSchemaCondition + { + /// + /// Initializes a new instance of the V1alpha1FlowSchemaCondition + /// class. + /// + public V1alpha1FlowSchemaCondition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1FlowSchemaCondition + /// class. + /// + /// `lastTransitionTime` is the last + /// time the condition transitioned from one status to another. + /// `message` is a human-readable message + /// indicating details about last transition. + /// `reason` is a unique, one-word, CamelCase + /// reason for the condition's last transition. + /// `status` is the status of the condition. Can + /// be True, False, Unknown. Required. + /// `type` is the type of the condition. + /// Required. + public V1alpha1FlowSchemaCondition(System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string), string status = default(string), string type = default(string)) + { + LastTransitionTime = lastTransitionTime; + Message = message; + Reason = reason; + Status = status; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `lastTransitionTime` is the last time the condition + /// transitioned from one status to another. + /// + [JsonProperty(PropertyName = "lastTransitionTime")] + public System.DateTime? LastTransitionTime { get; set; } + + /// + /// Gets or sets `message` is a human-readable message indicating + /// details about last transition. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// + /// Gets or sets `reason` is a unique, one-word, CamelCase reason for + /// the condition's last transition. + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + /// + /// Gets or sets `status` is the status of the condition. Can be True, + /// False, Unknown. Required. + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// + /// Gets or sets `type` is the type of the condition. Required. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1StatefulSetList.cs b/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaList.cs similarity index 78% rename from src/KubernetesClient/generated/Models/V1beta1StatefulSetList.cs rename to src/KubernetesClient/generated/Models/V1alpha1FlowSchemaList.cs index 5da60628d..bf94fa1f2 100644 --- a/src/KubernetesClient/generated/Models/V1beta1StatefulSetList.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaList.cs @@ -13,21 +13,22 @@ namespace k8s.Models using System.Linq; /// - /// StatefulSetList is a collection of StatefulSets. + /// FlowSchemaList is a list of FlowSchema objects. /// - public partial class V1beta1StatefulSetList + public partial class V1alpha1FlowSchemaList { /// - /// Initializes a new instance of the V1beta1StatefulSetList class. + /// Initializes a new instance of the V1alpha1FlowSchemaList class. /// - public V1beta1StatefulSetList() + public V1alpha1FlowSchemaList() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1StatefulSetList class. + /// Initializes a new instance of the V1alpha1FlowSchemaList class. /// + /// `items` is a list of FlowSchemas. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -38,7 +39,10 @@ public V1beta1StatefulSetList() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - public V1beta1StatefulSetList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + /// `metadata` is the standard list metadata. + /// More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + public V1alpha1FlowSchemaList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; Items = items; @@ -63,9 +67,10 @@ public V1beta1StatefulSetList() public string ApiVersion { get; set; } /// + /// Gets or sets `items` is a list of FlowSchemas. /// [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } + public IList Items { get; set; } /// /// Gets or sets kind is a string value representing the REST resource @@ -78,6 +83,8 @@ public V1beta1StatefulSetList() public string Kind { get; set; } /// + /// Gets or sets `metadata` is the standard list metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] public V1ListMeta Metadata { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaSpec.cs b/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaSpec.cs new file mode 100644 index 000000000..c08f6c399 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaSpec.cs @@ -0,0 +1,135 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// FlowSchemaSpec describes how the FlowSchema's specification looks like. + /// + public partial class V1alpha1FlowSchemaSpec + { + /// + /// Initializes a new instance of the V1alpha1FlowSchemaSpec class. + /// + public V1alpha1FlowSchemaSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1FlowSchemaSpec class. + /// + /// `priorityLevelConfiguration` + /// should reference a PriorityLevelConfiguration in the cluster. If + /// the reference cannot be resolved, the FlowSchema will be ignored + /// and marked as invalid in its status. Required. + /// `distinguisherMethod` defines how + /// to compute the flow distinguisher for requests that match this + /// schema. `nil` specifies that the distinguisher is disabled and thus + /// will always be the empty string. + /// `matchingPrecedence` is used to + /// choose among the FlowSchemas that match a given request. The chosen + /// FlowSchema is among those with the numerically lowest (which we + /// take to be logically highest) MatchingPrecedence. Each + /// MatchingPrecedence value must be ranged in [1,10000]. Note that if + /// the precedence is not specified, it will be set to 1000 as + /// default. + /// `rules` describes which requests will match + /// this flow schema. This FlowSchema matches a request if and only if + /// at least one member of rules matches the request. if it is an empty + /// slice, there will be no requests matching the FlowSchema. + public V1alpha1FlowSchemaSpec(V1alpha1PriorityLevelConfigurationReference priorityLevelConfiguration, V1alpha1FlowDistinguisherMethod distinguisherMethod = default(V1alpha1FlowDistinguisherMethod), int? matchingPrecedence = default(int?), IList rules = default(IList)) + { + DistinguisherMethod = distinguisherMethod; + MatchingPrecedence = matchingPrecedence; + PriorityLevelConfiguration = priorityLevelConfiguration; + Rules = rules; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `distinguisherMethod` defines how to compute the flow + /// distinguisher for requests that match this schema. `nil` specifies + /// that the distinguisher is disabled and thus will always be the + /// empty string. + /// + [JsonProperty(PropertyName = "distinguisherMethod")] + public V1alpha1FlowDistinguisherMethod DistinguisherMethod { get; set; } + + /// + /// Gets or sets `matchingPrecedence` is used to choose among the + /// FlowSchemas that match a given request. The chosen FlowSchema is + /// among those with the numerically lowest (which we take to be + /// logically highest) MatchingPrecedence. Each MatchingPrecedence + /// value must be ranged in [1,10000]. Note that if the precedence is + /// not specified, it will be set to 1000 as default. + /// + [JsonProperty(PropertyName = "matchingPrecedence")] + public int? MatchingPrecedence { get; set; } + + /// + /// Gets or sets `priorityLevelConfiguration` should reference a + /// PriorityLevelConfiguration in the cluster. If the reference cannot + /// be resolved, the FlowSchema will be ignored and marked as invalid + /// in its status. Required. + /// + [JsonProperty(PropertyName = "priorityLevelConfiguration")] + public V1alpha1PriorityLevelConfigurationReference PriorityLevelConfiguration { get; set; } + + /// + /// Gets or sets `rules` describes which requests will match this flow + /// schema. This FlowSchema matches a request if and only if at least + /// one member of rules matches the request. if it is an empty slice, + /// there will be no requests matching the FlowSchema. + /// + [JsonProperty(PropertyName = "rules")] + public IList Rules { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (PriorityLevelConfiguration == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "PriorityLevelConfiguration"); + } + if (DistinguisherMethod != null) + { + DistinguisherMethod.Validate(); + } + if (PriorityLevelConfiguration != null) + { + PriorityLevelConfiguration.Validate(); + } + if (Rules != null) + { + foreach (var element in Rules) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaStatus.cs b/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaStatus.cs new file mode 100644 index 000000000..03b796bb2 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1FlowSchemaStatus.cs @@ -0,0 +1,51 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// FlowSchemaStatus represents the current state of a FlowSchema. + /// + public partial class V1alpha1FlowSchemaStatus + { + /// + /// Initializes a new instance of the V1alpha1FlowSchemaStatus class. + /// + public V1alpha1FlowSchemaStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1FlowSchemaStatus class. + /// + /// `conditions` is a list of the current + /// states of FlowSchema. + public V1alpha1FlowSchemaStatus(IList conditions = default(IList)) + { + Conditions = conditions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `conditions` is a list of the current states of + /// FlowSchema. + /// + [JsonProperty(PropertyName = "conditions")] + public IList Conditions { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1GroupSubject.cs b/src/KubernetesClient/generated/Models/V1alpha1GroupSubject.cs new file mode 100644 index 000000000..02f7af6cb --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1GroupSubject.cs @@ -0,0 +1,67 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// GroupSubject holds detailed information for group-kind subject. + /// + public partial class V1alpha1GroupSubject + { + /// + /// Initializes a new instance of the V1alpha1GroupSubject class. + /// + public V1alpha1GroupSubject() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1GroupSubject class. + /// + /// name is the user group that matches, or "*" to + /// match all user groups. See + /// https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go + /// for some well-known group names. Required. + public V1alpha1GroupSubject(string name) + { + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name is the user group that matches, or "*" to match + /// all user groups. See + /// https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go + /// for some well-known group names. Required. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1LimitResponse.cs b/src/KubernetesClient/generated/Models/V1alpha1LimitResponse.cs new file mode 100644 index 000000000..da88c10ed --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1LimitResponse.cs @@ -0,0 +1,81 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// LimitResponse defines how to handle requests that can not be executed + /// right now. + /// + public partial class V1alpha1LimitResponse + { + /// + /// Initializes a new instance of the V1alpha1LimitResponse class. + /// + public V1alpha1LimitResponse() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1LimitResponse class. + /// + /// `type` is "Queue" or "Reject". "Queue" means + /// that requests that can not be executed upon arrival are held in a + /// queue until they can be executed or a queuing limit is reached. + /// "Reject" means that requests that can not be executed upon arrival + /// are rejected. Required. + /// `queuing` holds the configuration parameters + /// for queuing. This field may be non-empty only if `type` is + /// `"Queue"`. + public V1alpha1LimitResponse(string type, V1alpha1QueuingConfiguration queuing = default(V1alpha1QueuingConfiguration)) + { + Queuing = queuing; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `queuing` holds the configuration parameters for + /// queuing. This field may be non-empty only if `type` is `"Queue"`. + /// + [JsonProperty(PropertyName = "queuing")] + public V1alpha1QueuingConfiguration Queuing { get; set; } + + /// + /// Gets or sets `type` is "Queue" or "Reject". "Queue" means that + /// requests that can not be executed upon arrival are held in a queue + /// until they can be executed or a queuing limit is reached. "Reject" + /// means that requests that can not be executed upon arrival are + /// rejected. Required. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1LimitedPriorityLevelConfiguration.cs b/src/KubernetesClient/generated/Models/V1alpha1LimitedPriorityLevelConfiguration.cs new file mode 100644 index 000000000..a4a27136e --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1LimitedPriorityLevelConfiguration.cs @@ -0,0 +1,102 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// LimitedPriorityLevelConfiguration specifies how to handle requests that + /// are subject to limits. It addresses two issues: + /// * How are requests for this priority level limited? + /// * What should be done with requests that exceed the limit? + /// + public partial class V1alpha1LimitedPriorityLevelConfiguration + { + /// + /// Initializes a new instance of the + /// V1alpha1LimitedPriorityLevelConfiguration class. + /// + public V1alpha1LimitedPriorityLevelConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V1alpha1LimitedPriorityLevelConfiguration class. + /// + /// `assuredConcurrencyShares` + /// (ACS) configures the execution limit, which is a limit on the + /// number of requests of this priority level that may be exeucting at + /// a given time. ACS must be a positive number. The server's + /// concurrency limit (SCL) is divided among the concurrency-controlled + /// priority levels in proportion to their assured concurrency shares. + /// This produces the assured concurrency value (ACV) --- the number of + /// requests that may be executing at a time --- for each such priority + /// level: + /// + /// ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) + /// + /// bigger numbers of ACS mean more reserved concurrent requests (at + /// the expense of every other PL). This field has a default value of + /// 30. + /// `limitResponse` indicates what to do + /// with requests that can not be executed right now + public V1alpha1LimitedPriorityLevelConfiguration(int? assuredConcurrencyShares = default(int?), V1alpha1LimitResponse limitResponse = default(V1alpha1LimitResponse)) + { + AssuredConcurrencyShares = assuredConcurrencyShares; + LimitResponse = limitResponse; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `assuredConcurrencyShares` (ACS) configures the + /// execution limit, which is a limit on the number of requests of this + /// priority level that may be exeucting at a given time. ACS must be + /// a positive number. The server's concurrency limit (SCL) is divided + /// among the concurrency-controlled priority levels in proportion to + /// their assured concurrency shares. This produces the assured + /// concurrency value (ACV) --- the number of requests that may be + /// executing at a time --- for each such priority level: + /// + /// ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) + /// + /// bigger numbers of ACS mean more reserved concurrent requests (at + /// the expense of every other PL). This field has a default value of + /// 30. + /// + [JsonProperty(PropertyName = "assuredConcurrencyShares")] + public int? AssuredConcurrencyShares { get; set; } + + /// + /// Gets or sets `limitResponse` indicates what to do with requests + /// that can not be executed right now + /// + [JsonProperty(PropertyName = "limitResponse")] + public V1alpha1LimitResponse LimitResponse { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (LimitResponse != null) + { + LimitResponse.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1NonResourcePolicyRule.cs b/src/KubernetesClient/generated/Models/V1alpha1NonResourcePolicyRule.cs new file mode 100644 index 000000000..76ddf8e12 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1NonResourcePolicyRule.cs @@ -0,0 +1,102 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// NonResourcePolicyRule is a predicate that matches non-resource requests + /// according to their verb and the target non-resource URL. A + /// NonResourcePolicyRule matches a request if and only if both (a) at + /// least one member of verbs matches the request and (b) at least one + /// member of nonResourceURLs matches the request. + /// + public partial class V1alpha1NonResourcePolicyRule + { + /// + /// Initializes a new instance of the V1alpha1NonResourcePolicyRule + /// class. + /// + public V1alpha1NonResourcePolicyRule() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1NonResourcePolicyRule + /// class. + /// + /// `nonResourceURLs` is a set of url + /// prefixes that a user should have access to and may not be empty. + /// For example: + /// - "/healthz" is legal + /// - "/hea*" is illegal + /// - "/hea" is legal but matches nothing + /// - "/hea/*" also matches nothing + /// - "/healthz/*" matches all per-component health checks. + /// "*" matches all non-resource urls. if it is present, it must be the + /// only entry. Required. + /// `verbs` is a list of matching verbs and may not + /// be empty. "*" matches all verbs. If it is present, it must be the + /// only entry. Required. + public V1alpha1NonResourcePolicyRule(IList nonResourceURLs, IList verbs) + { + NonResourceURLs = nonResourceURLs; + Verbs = verbs; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `nonResourceURLs` is a set of url prefixes that a user + /// should have access to and may not be empty. For example: + /// - "/healthz" is legal + /// - "/hea*" is illegal + /// - "/hea" is legal but matches nothing + /// - "/hea/*" also matches nothing + /// - "/healthz/*" matches all per-component health checks. + /// "*" matches all non-resource urls. if it is present, it must be the + /// only entry. Required. + /// + [JsonProperty(PropertyName = "nonResourceURLs")] + public IList NonResourceURLs { get; set; } + + /// + /// Gets or sets `verbs` is a list of matching verbs and may not be + /// empty. "*" matches all verbs. If it is present, it must be the only + /// entry. Required. + /// + [JsonProperty(PropertyName = "verbs")] + public IList Verbs { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (NonResourceURLs == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "NonResourceURLs"); + } + if (Verbs == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Verbs"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1PolicyRule.cs b/src/KubernetesClient/generated/Models/V1alpha1PolicyRule.cs index cda77a0bb..1bc2591cb 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1PolicyRule.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1PolicyRule.cs @@ -39,13 +39,11 @@ public V1alpha1PolicyRule() /// group will be allowed. /// 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. + /// 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. /// ResourceNames is an optional white list /// of names that the rule applies to. An empty set means that /// everything is allowed. @@ -78,13 +76,11 @@ public V1alpha1PolicyRule() /// /// Gets or sets 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. + /// 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. /// [JsonProperty(PropertyName = "nonResourceURLs")] public IList NonResourceURLs { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1alpha1PolicyRulesWithSubjects.cs b/src/KubernetesClient/generated/Models/V1alpha1PolicyRulesWithSubjects.cs new file mode 100644 index 000000000..fe65dd0df --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1PolicyRulesWithSubjects.cs @@ -0,0 +1,134 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// PolicyRulesWithSubjects prescribes a test that applies to a request to + /// an apiserver. The test considers the subject making the request, the + /// verb being requested, and the resource to be acted upon. This + /// PolicyRulesWithSubjects matches a request if and only if both (a) at + /// least one member of subjects matches the request and (b) at least one + /// member of resourceRules or nonResourceRules matches the request. + /// + public partial class V1alpha1PolicyRulesWithSubjects + { + /// + /// Initializes a new instance of the V1alpha1PolicyRulesWithSubjects + /// class. + /// + public V1alpha1PolicyRulesWithSubjects() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1PolicyRulesWithSubjects + /// class. + /// + /// subjects is the list of normal user, + /// serviceaccount, or group that this rule cares about. There must be + /// at least one member in this slice. A slice that includes both the + /// system:authenticated and system:unauthenticated user groups matches + /// every request. Required. + /// `nonResourceRules` is a list of + /// NonResourcePolicyRules that identify matching requests according to + /// their verb and the target non-resource URL. + /// `resourceRules` is a slice of + /// ResourcePolicyRules that identify matching requests according to + /// their verb and the target resource. At least one of `resourceRules` + /// and `nonResourceRules` has to be non-empty. + public V1alpha1PolicyRulesWithSubjects(IList subjects, IList nonResourceRules = default(IList), IList resourceRules = default(IList)) + { + NonResourceRules = nonResourceRules; + ResourceRules = resourceRules; + Subjects = subjects; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `nonResourceRules` is a list of NonResourcePolicyRules + /// that identify matching requests according to their verb and the + /// target non-resource URL. + /// + [JsonProperty(PropertyName = "nonResourceRules")] + public IList NonResourceRules { get; set; } + + /// + /// Gets or sets `resourceRules` is a slice of ResourcePolicyRules that + /// identify matching requests according to their verb and the target + /// resource. At least one of `resourceRules` and `nonResourceRules` + /// has to be non-empty. + /// + [JsonProperty(PropertyName = "resourceRules")] + public IList ResourceRules { get; set; } + + /// + /// Gets or sets subjects is the list of normal user, serviceaccount, + /// or group that this rule cares about. There must be at least one + /// member in this slice. A slice that includes both the + /// system:authenticated and system:unauthenticated user groups matches + /// every request. Required. + /// + [JsonProperty(PropertyName = "subjects")] + public IList Subjects { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Subjects == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Subjects"); + } + if (NonResourceRules != null) + { + foreach (var element in NonResourceRules) + { + if (element != null) + { + element.Validate(); + } + } + } + if (ResourceRules != null) + { + foreach (var element1 in ResourceRules) + { + if (element1 != null) + { + element1.Validate(); + } + } + } + if (Subjects != null) + { + foreach (var element2 in Subjects) + { + if (element2 != null) + { + element2.Validate(); + } + } + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfiguration.cs similarity index 59% rename from src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs rename to src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfiguration.cs index 2d0e873e4..053691472 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfiguration.cs @@ -10,24 +10,23 @@ namespace k8s.Models using System.Linq; /// - /// PodSecurityPolicy governs the ability to make requests that affect the - /// Security Context that will be applied to a pod and container. - /// Deprecated: use PodSecurityPolicy from policy API Group instead. + /// PriorityLevelConfiguration represents the configuration of a priority + /// level. /// - public partial class Extensionsv1beta1PodSecurityPolicy + public partial class V1alpha1PriorityLevelConfiguration { /// /// Initializes a new instance of the - /// Extensionsv1beta1PodSecurityPolicy class. + /// V1alpha1PriorityLevelConfiguration class. /// - public Extensionsv1beta1PodSecurityPolicy() + public V1alpha1PriorityLevelConfiguration() { CustomInit(); } /// /// Initializes a new instance of the - /// Extensionsv1beta1PodSecurityPolicy class. + /// V1alpha1PriorityLevelConfiguration class. /// /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized @@ -39,15 +38,22 @@ public Extensionsv1beta1PodSecurityPolicy() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// spec defines the policy enforced. - public Extensionsv1beta1PodSecurityPolicy(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Extensionsv1beta1PodSecurityPolicySpec spec = default(Extensionsv1beta1PodSecurityPolicySpec)) + /// `metadata` is the standard object's + /// metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// `spec` is the specification of the desired + /// behavior of a "request-priority". More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + /// `status` is the current status of a + /// "request-priority". More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + public V1alpha1PriorityLevelConfiguration(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1alpha1PriorityLevelConfigurationSpec spec = default(V1alpha1PriorityLevelConfigurationSpec), V1alpha1PriorityLevelConfigurationStatus status = default(V1alpha1PriorityLevelConfigurationStatus)) { ApiVersion = apiVersion; Kind = kind; Metadata = metadata; Spec = spec; + Status = status; CustomInit(); } @@ -77,17 +83,28 @@ public Extensionsv1beta1PodSecurityPolicy() public string Kind { get; set; } /// - /// Gets or sets standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + /// Gets or sets `metadata` is the standard object's metadata. More + /// info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] public V1ObjectMeta Metadata { get; set; } /// - /// Gets or sets spec defines the policy enforced. + /// Gets or sets `spec` is the specification of the desired behavior of + /// a "request-priority". More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status /// [JsonProperty(PropertyName = "spec")] - public Extensionsv1beta1PodSecurityPolicySpec Spec { get; set; } + public V1alpha1PriorityLevelConfigurationSpec Spec { get; set; } + + /// + /// Gets or sets `status` is the current status of a + /// "request-priority". More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + /// + [JsonProperty(PropertyName = "status")] + public V1alpha1PriorityLevelConfigurationStatus Status { get; set; } /// /// Validate the object. diff --git a/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationCondition.cs b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationCondition.cs new file mode 100644 index 000000000..bbb99d5d6 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationCondition.cs @@ -0,0 +1,91 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// PriorityLevelConfigurationCondition defines the condition of priority + /// level. + /// + public partial class V1alpha1PriorityLevelConfigurationCondition + { + /// + /// Initializes a new instance of the + /// V1alpha1PriorityLevelConfigurationCondition class. + /// + public V1alpha1PriorityLevelConfigurationCondition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V1alpha1PriorityLevelConfigurationCondition class. + /// + /// `lastTransitionTime` is the last + /// time the condition transitioned from one status to another. + /// `message` is a human-readable message + /// indicating details about last transition. + /// `reason` is a unique, one-word, CamelCase + /// reason for the condition's last transition. + /// `status` is the status of the condition. Can + /// be True, False, Unknown. Required. + /// `type` is the type of the condition. + /// Required. + public V1alpha1PriorityLevelConfigurationCondition(System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string), string status = default(string), string type = default(string)) + { + LastTransitionTime = lastTransitionTime; + Message = message; + Reason = reason; + Status = status; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `lastTransitionTime` is the last time the condition + /// transitioned from one status to another. + /// + [JsonProperty(PropertyName = "lastTransitionTime")] + public System.DateTime? LastTransitionTime { get; set; } + + /// + /// Gets or sets `message` is a human-readable message indicating + /// details about last transition. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// + /// Gets or sets `reason` is a unique, one-word, CamelCase reason for + /// the condition's last transition. + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + /// + /// Gets or sets `status` is the status of the condition. Can be True, + /// False, Unknown. Required. + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// + /// Gets or sets `type` is the type of the condition. Required. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationList.cs similarity index 75% rename from src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs rename to src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationList.cs index 785d35eaa..55fea5279 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationList.cs @@ -13,25 +13,26 @@ namespace k8s.Models using System.Linq; /// - /// PodSecurityPolicyList is a list of PodSecurityPolicy objects. - /// Deprecated: use PodSecurityPolicyList from policy API Group instead. + /// PriorityLevelConfigurationList is a list of PriorityLevelConfiguration + /// objects. /// - public partial class Extensionsv1beta1PodSecurityPolicyList + public partial class V1alpha1PriorityLevelConfigurationList { /// /// Initializes a new instance of the - /// Extensionsv1beta1PodSecurityPolicyList class. + /// V1alpha1PriorityLevelConfigurationList class. /// - public Extensionsv1beta1PodSecurityPolicyList() + public V1alpha1PriorityLevelConfigurationList() { CustomInit(); } /// /// Initializes a new instance of the - /// Extensionsv1beta1PodSecurityPolicyList class. + /// V1alpha1PriorityLevelConfigurationList class. /// - /// items is a list of schema objects. + /// `items` is a list of + /// request-priorities. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -42,9 +43,10 @@ public Extensionsv1beta1PodSecurityPolicyList() /// endpoint the client submits requests to. Cannot be updated. In /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard list metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public Extensionsv1beta1PodSecurityPolicyList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + /// `metadata` is the standard object's + /// metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + public V1alpha1PriorityLevelConfigurationList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; Items = items; @@ -69,10 +71,10 @@ public Extensionsv1beta1PodSecurityPolicyList() public string ApiVersion { get; set; } /// - /// Gets or sets items is a list of schema objects. + /// Gets or sets `items` is a list of request-priorities. /// [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } + public IList Items { get; set; } /// /// Gets or sets kind is a string value representing the REST resource @@ -85,8 +87,9 @@ public Extensionsv1beta1PodSecurityPolicyList() public string Kind { get; set; } /// - /// Gets or sets standard list metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + /// Gets or sets `metadata` is the standard object's metadata. More + /// info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] public V1ListMeta Metadata { get; set; } diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationReference.cs similarity index 55% rename from src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs rename to src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationReference.cs index c33fdb7fa..6332c0d91 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationReference.cs @@ -11,29 +11,29 @@ namespace k8s.Models using System.Linq; /// - /// AllowedFlexVolume represents a single Flexvolume that is allowed to be - /// used. Deprecated: use AllowedFlexVolume from policy API Group instead. + /// PriorityLevelConfigurationReference contains information that points to + /// the "request-priority" being used. /// - public partial class Extensionsv1beta1AllowedFlexVolume + public partial class V1alpha1PriorityLevelConfigurationReference { /// /// Initializes a new instance of the - /// Extensionsv1beta1AllowedFlexVolume class. + /// V1alpha1PriorityLevelConfigurationReference class. /// - public Extensionsv1beta1AllowedFlexVolume() + public V1alpha1PriorityLevelConfigurationReference() { CustomInit(); } /// /// Initializes a new instance of the - /// Extensionsv1beta1AllowedFlexVolume class. + /// V1alpha1PriorityLevelConfigurationReference class. /// - /// driver is the name of the Flexvolume - /// driver. - public Extensionsv1beta1AllowedFlexVolume(string driver) + /// `name` is the name of the priority level + /// configuration being referenced Required. + public V1alpha1PriorityLevelConfigurationReference(string name) { - Driver = driver; + Name = name; CustomInit(); } @@ -43,10 +43,11 @@ public Extensionsv1beta1AllowedFlexVolume(string driver) partial void CustomInit(); /// - /// Gets or sets driver is the name of the Flexvolume driver. + /// Gets or sets `name` is the name of the priority level configuration + /// being referenced Required. /// - [JsonProperty(PropertyName = "driver")] - public string Driver { get; set; } + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } /// /// Validate the object. @@ -56,9 +57,9 @@ public Extensionsv1beta1AllowedFlexVolume(string driver) /// public virtual void Validate() { - if (Driver == null) + if (Name == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "Driver"); + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); } } } diff --git a/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationSpec.cs b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationSpec.cs new file mode 100644 index 000000000..5fffb41c7 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationSpec.cs @@ -0,0 +1,95 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// PriorityLevelConfigurationSpec specifies the configuration of a + /// priority level. + /// + public partial class V1alpha1PriorityLevelConfigurationSpec + { + /// + /// Initializes a new instance of the + /// V1alpha1PriorityLevelConfigurationSpec class. + /// + public V1alpha1PriorityLevelConfigurationSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V1alpha1PriorityLevelConfigurationSpec class. + /// + /// `type` indicates whether this priority level is + /// subject to limitation on request execution. A value of `"Exempt"` + /// means that requests of this priority level are not subject to a + /// limit (and thus are never queued) and do not detract from the + /// capacity made available to other priority levels. A value of + /// `"Limited"` means that (a) requests of this priority level _are_ + /// subject to limits and (b) some of the server's limited capacity is + /// made available exclusively to this priority level. + /// Required. + /// `limited` specifies how requests are handled + /// for a Limited priority level. This field must be non-empty if and + /// only if `type` is `"Limited"`. + public V1alpha1PriorityLevelConfigurationSpec(string type, V1alpha1LimitedPriorityLevelConfiguration limited = default(V1alpha1LimitedPriorityLevelConfiguration)) + { + Limited = limited; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `limited` specifies how requests are handled for a + /// Limited priority level. This field must be non-empty if and only if + /// `type` is `"Limited"`. + /// + [JsonProperty(PropertyName = "limited")] + public V1alpha1LimitedPriorityLevelConfiguration Limited { get; set; } + + /// + /// Gets or sets `type` indicates whether this priority level is + /// subject to limitation on request execution. A value of `"Exempt"` + /// means that requests of this priority level are not subject to a + /// limit (and thus are never queued) and do not detract from the + /// capacity made available to other priority levels. A value of + /// `"Limited"` means that (a) requests of this priority level _are_ + /// subject to limits and (b) some of the server's limited capacity is + /// made available exclusively to this priority level. Required. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + if (Limited != null) + { + Limited.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationStatus.cs b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationStatus.cs new file mode 100644 index 000000000..f0ae163d3 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1PriorityLevelConfigurationStatus.cs @@ -0,0 +1,54 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// PriorityLevelConfigurationStatus represents the current state of a + /// "request-priority". + /// + public partial class V1alpha1PriorityLevelConfigurationStatus + { + /// + /// Initializes a new instance of the + /// V1alpha1PriorityLevelConfigurationStatus class. + /// + public V1alpha1PriorityLevelConfigurationStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V1alpha1PriorityLevelConfigurationStatus class. + /// + /// `conditions` is the current state of + /// "request-priority". + public V1alpha1PriorityLevelConfigurationStatus(IList conditions = default(IList)) + { + Conditions = conditions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `conditions` is the current state of + /// "request-priority". + /// + [JsonProperty(PropertyName = "conditions")] + public IList Conditions { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1QueuingConfiguration.cs b/src/KubernetesClient/generated/Models/V1alpha1QueuingConfiguration.cs new file mode 100644 index 000000000..9c4d4f6e3 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1QueuingConfiguration.cs @@ -0,0 +1,102 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// QueuingConfiguration holds the configuration parameters for queuing + /// + public partial class V1alpha1QueuingConfiguration + { + /// + /// Initializes a new instance of the V1alpha1QueuingConfiguration + /// class. + /// + public V1alpha1QueuingConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1QueuingConfiguration + /// class. + /// + /// `handSize` is a small positive number that + /// configures the shuffle sharding of requests into queues. When + /// enqueuing a request at this priority level the request's flow + /// identifier (a string pair) is hashed and the hash value is used to + /// shuffle the list of queues and deal a hand of the size specified + /// here. The request is put into one of the shortest queues in that + /// hand. `handSize` must be no larger than `queues`, and should be + /// significantly smaller (so that a few heavy flows do not saturate + /// most of the queues). See the user-facing documentation for more + /// extensive guidance on setting this field. This field has a default + /// value of 8. + /// `queueLengthLimit` is the maximum + /// number of requests allowed to be waiting in a given queue of this + /// priority level at a time; excess requests are rejected. This value + /// must be positive. If not specified, it will be defaulted to + /// 50. + /// `queues` is the number of queues for this + /// priority level. The queues exist independently at each apiserver. + /// The value must be positive. Setting it to 1 effectively precludes + /// shufflesharding and thus makes the distinguisher method of + /// associated flow schemas irrelevant. This field has a default value + /// of 64. + public V1alpha1QueuingConfiguration(int? handSize = default(int?), int? queueLengthLimit = default(int?), int? queues = default(int?)) + { + HandSize = handSize; + QueueLengthLimit = queueLengthLimit; + Queues = queues; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `handSize` is a small positive number that configures + /// the shuffle sharding of requests into queues. When enqueuing a + /// request at this priority level the request's flow identifier (a + /// string pair) is hashed and the hash value is used to shuffle the + /// list of queues and deal a hand of the size specified here. The + /// request is put into one of the shortest queues in that hand. + /// `handSize` must be no larger than `queues`, and should be + /// significantly smaller (so that a few heavy flows do not saturate + /// most of the queues). See the user-facing documentation for more + /// extensive guidance on setting this field. This field has a default + /// value of 8. + /// + [JsonProperty(PropertyName = "handSize")] + public int? HandSize { get; set; } + + /// + /// Gets or sets `queueLengthLimit` is the maximum number of requests + /// allowed to be waiting in a given queue of this priority level at a + /// time; excess requests are rejected. This value must be positive. + /// If not specified, it will be defaulted to 50. + /// + [JsonProperty(PropertyName = "queueLengthLimit")] + public int? QueueLengthLimit { get; set; } + + /// + /// Gets or sets `queues` is the number of queues for this priority + /// level. The queues exist independently at each apiserver. The value + /// must be positive. Setting it to 1 effectively precludes + /// shufflesharding and thus makes the distinguisher method of + /// associated flow schemas irrelevant. This field has a default value + /// of 64. + /// + [JsonProperty(PropertyName = "queues")] + public int? Queues { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1ResourcePolicyRule.cs b/src/KubernetesClient/generated/Models/V1alpha1ResourcePolicyRule.cs new file mode 100644 index 000000000..5ea983988 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1ResourcePolicyRule.cs @@ -0,0 +1,146 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// ResourcePolicyRule is a predicate that matches some resource requests, + /// testing the request's verb and the target resource. A + /// ResourcePolicyRule matches a resource request if and only if: (a) at + /// least one member of verbs matches the request, (b) at least one member + /// of apiGroups matches the request, (c) at least one member of resources + /// matches the request, and (d) least one member of namespaces matches the + /// request. + /// + public partial class V1alpha1ResourcePolicyRule + { + /// + /// Initializes a new instance of the V1alpha1ResourcePolicyRule class. + /// + public V1alpha1ResourcePolicyRule() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1ResourcePolicyRule class. + /// + /// `apiGroups` is a list of matching API + /// groups and may not be empty. "*" matches all API groups and, if + /// present, must be the only entry. Required. + /// `resources` is a list of matching resources + /// (i.e., lowercase and plural) with, if desired, subresource. For + /// example, [ "services", "nodes/status" ]. This list may not be + /// empty. "*" matches all resources and, if present, must be the only + /// entry. Required. + /// `verbs` is a list of matching verbs and may not + /// be empty. "*" matches all verbs and, if present, must be the only + /// entry. Required. + /// `clusterScope` indicates whether to + /// match requests that do not specify a namespace (which happens + /// either because the resource is not namespaced or the request + /// targets all namespaces). If this field is omitted or false then the + /// `namespaces` field must contain a non-empty list. + /// `namespaces` is a list of target + /// namespaces that restricts matches. A request that specifies a + /// target namespace matches only if either (a) this list contains that + /// target namespace or (b) this list contains "*". Note that "*" + /// matches any specified namespace but does not match a request that + /// _does not specify_ a namespace (see the `clusterScope` field for + /// that). This list may be empty, but only if `clusterScope` is + /// true. + public V1alpha1ResourcePolicyRule(IList apiGroups, IList resources, IList verbs, bool? clusterScope = default(bool?), IList namespaces = default(IList)) + { + ApiGroups = apiGroups; + ClusterScope = clusterScope; + Namespaces = namespaces; + Resources = resources; + Verbs = verbs; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `apiGroups` is a list of matching API groups and may + /// not be empty. "*" matches all API groups and, if present, must be + /// the only entry. Required. + /// + [JsonProperty(PropertyName = "apiGroups")] + public IList ApiGroups { get; set; } + + /// + /// Gets or sets `clusterScope` indicates whether to match requests + /// that do not specify a namespace (which happens either because the + /// resource is not namespaced or the request targets all namespaces). + /// If this field is omitted or false then the `namespaces` field must + /// contain a non-empty list. + /// + [JsonProperty(PropertyName = "clusterScope")] + public bool? ClusterScope { get; set; } + + /// + /// Gets or sets `namespaces` is a list of target namespaces that + /// restricts matches. A request that specifies a target namespace + /// matches only if either (a) this list contains that target namespace + /// or (b) this list contains "*". Note that "*" matches any specified + /// namespace but does not match a request that _does not specify_ a + /// namespace (see the `clusterScope` field for that). This list may be + /// empty, but only if `clusterScope` is true. + /// + [JsonProperty(PropertyName = "namespaces")] + public IList Namespaces { get; set; } + + /// + /// Gets or sets `resources` is a list of matching resources (i.e., + /// lowercase and plural) with, if desired, subresource. For example, + /// [ "services", "nodes/status" ]. This list may not be empty. "*" + /// matches all resources and, if present, must be the only entry. + /// Required. + /// + [JsonProperty(PropertyName = "resources")] + public IList Resources { get; set; } + + /// + /// Gets or sets `verbs` is a list of matching verbs and may not be + /// empty. "*" matches all verbs and, if present, must be the only + /// entry. Required. + /// + [JsonProperty(PropertyName = "verbs")] + public IList Verbs { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ApiGroups == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ApiGroups"); + } + if (Resources == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Resources"); + } + if (Verbs == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Verbs"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1alpha1Role.cs b/src/KubernetesClient/generated/Models/V1alpha1Role.cs index ed5155de8..09a3a87b3 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1Role.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1Role.cs @@ -13,7 +13,9 @@ namespace k8s.Models /// /// Role is a namespaced, logical grouping of PolicyRules that can be - /// referenced as a unit by a RoleBinding. + /// referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of + /// rbac.authorization.k8s.io/v1 Role, and will no longer be served in + /// v1.20. /// public partial class V1alpha1Role { diff --git a/src/KubernetesClient/generated/Models/V1alpha1RoleBinding.cs b/src/KubernetesClient/generated/Models/V1alpha1RoleBinding.cs index 701af4dd5..2bc6cfb8c 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1RoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1RoleBinding.cs @@ -17,7 +17,9 @@ namespace k8s.Models /// 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. + /// namespace only have effect in that namespace. Deprecated in v1.17 in + /// favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer + /// be served in v1.20. /// public partial class V1alpha1RoleBinding { @@ -48,7 +50,7 @@ public V1alpha1RoleBinding() /// Standard object's metadata. /// Subjects holds references to the objects the /// role applies to. - public V1alpha1RoleBinding(V1alpha1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) + public V1alpha1RoleBinding(V1alpha1RoleRef roleRef, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subjects = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -102,7 +104,7 @@ public V1alpha1RoleBinding() /// applies to. /// [JsonProperty(PropertyName = "subjects")] - public IList Subjects { get; set; } + public IList Subjects { get; set; } /// /// Validate the object. diff --git a/src/KubernetesClient/generated/Models/V1alpha1RoleBindingList.cs b/src/KubernetesClient/generated/Models/V1alpha1RoleBindingList.cs index 8f7927ca2..1554278e2 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1RoleBindingList.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1RoleBindingList.cs @@ -13,7 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// RoleBindingList is a collection of RoleBindings + /// RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in + /// favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no + /// longer be served in v1.20. /// public partial class V1alpha1RoleBindingList { diff --git a/src/KubernetesClient/generated/Models/V1alpha1RoleList.cs b/src/KubernetesClient/generated/Models/V1alpha1RoleList.cs index 016f92a55..c9d4f0d05 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1RoleList.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1RoleList.cs @@ -13,7 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// RoleList is a collection of Roles + /// RoleList is a collection of Roles. Deprecated in v1.17 in favor of + /// rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in + /// v1.20. /// public partial class V1alpha1RoleList { diff --git a/src/KubernetesClient/generated/Models/V1alpha1ServiceAccountSubject.cs b/src/KubernetesClient/generated/Models/V1alpha1ServiceAccountSubject.cs new file mode 100644 index 000000000..c06eed9fd --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1alpha1ServiceAccountSubject.cs @@ -0,0 +1,80 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// ServiceAccountSubject holds detailed information for + /// service-account-kind subject. + /// + public partial class V1alpha1ServiceAccountSubject + { + /// + /// Initializes a new instance of the V1alpha1ServiceAccountSubject + /// class. + /// + public V1alpha1ServiceAccountSubject() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1alpha1ServiceAccountSubject + /// class. + /// + /// `name` is the name of matching ServiceAccount + /// objects, or "*" to match regardless of name. Required. + /// `namespace` is the namespace of + /// matching ServiceAccount objects. Required. + public V1alpha1ServiceAccountSubject(string name, string namespaceProperty) + { + Name = name; + NamespaceProperty = namespaceProperty; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets `name` is the name of matching ServiceAccount objects, + /// or "*" to match regardless of name. Required. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets `namespace` is the namespace of matching + /// ServiceAccount objects. Required. + /// + [JsonProperty(PropertyName = "namespace")] + public string NamespaceProperty { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (NamespaceProperty == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "NamespaceProperty"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedCSIDriver.cs b/src/KubernetesClient/generated/Models/V1alpha1UserSubject.cs similarity index 64% rename from src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedCSIDriver.cs rename to src/KubernetesClient/generated/Models/V1alpha1UserSubject.cs index bd84473c5..e23a59aad 100644 --- a/src/KubernetesClient/generated/Models/Extensionsv1beta1AllowedCSIDriver.cs +++ b/src/KubernetesClient/generated/Models/V1alpha1UserSubject.cs @@ -11,27 +11,24 @@ namespace k8s.Models using System.Linq; /// - /// AllowedCSIDriver represents a single inline CSI Driver that is allowed - /// to be used. + /// UserSubject holds detailed information for user-kind subject. /// - public partial class Extensionsv1beta1AllowedCSIDriver + public partial class V1alpha1UserSubject { /// - /// Initializes a new instance of the Extensionsv1beta1AllowedCSIDriver - /// class. + /// Initializes a new instance of the V1alpha1UserSubject class. /// - public Extensionsv1beta1AllowedCSIDriver() + public V1alpha1UserSubject() { CustomInit(); } /// - /// Initializes a new instance of the Extensionsv1beta1AllowedCSIDriver - /// class. + /// Initializes a new instance of the V1alpha1UserSubject class. /// - /// Name is the registered name of the CSI - /// driver - public Extensionsv1beta1AllowedCSIDriver(string name) + /// `name` is the username that matches, or "*" to + /// match all usernames. Required. + public V1alpha1UserSubject(string name) { Name = name; CustomInit(); @@ -43,7 +40,8 @@ public Extensionsv1beta1AllowedCSIDriver(string name) partial void CustomInit(); /// - /// Gets or sets name is the registered name of the CSI driver + /// Gets or sets `name` is the username that matches, or "*" to match + /// all usernames. Required. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1beta1APIServiceSpec.cs b/src/KubernetesClient/generated/Models/V1beta1APIServiceSpec.cs index d1e59ea7e..185d8df18 100644 --- a/src/KubernetesClient/generated/Models/V1beta1APIServiceSpec.cs +++ b/src/KubernetesClient/generated/Models/V1beta1APIServiceSpec.cs @@ -6,7 +6,6 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -39,11 +38,6 @@ public V1beta1APIServiceSpec() /// (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 - /// 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. /// 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 @@ -69,9 +63,14 @@ public V1beta1APIServiceSpec() /// TLS certificate verification when communicating with this server. /// This is strongly discouraged. You should use the CABundle /// instead. + /// 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 is the API version this server hosts. /// For example, "v1" - public V1beta1APIServiceSpec(int groupPriorityMinimum, Apiregistrationv1beta1ServiceReference service, int versionPriority, byte[] caBundle = default(byte[]), string group = default(string), bool? insecureSkipTLSVerify = default(bool?), string version = default(string)) + public V1beta1APIServiceSpec(int groupPriorityMinimum, int versionPriority, byte[] caBundle = default(byte[]), string group = default(string), bool? insecureSkipTLSVerify = default(bool?), Apiregistrationv1beta1ServiceReference service = default(Apiregistrationv1beta1ServiceReference), string version = default(string)) { CaBundle = caBundle; Group = group; @@ -166,15 +165,11 @@ public V1beta1APIServiceSpec() /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { - if (Service == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Service"); - } } } } diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedCSIDriver.cs b/src/KubernetesClient/generated/Models/V1beta1AllowedCSIDriver.cs similarity index 78% rename from src/KubernetesClient/generated/Models/Policyv1beta1AllowedCSIDriver.cs rename to src/KubernetesClient/generated/Models/V1beta1AllowedCSIDriver.cs index 610f7bf6e..58ae8b82b 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedCSIDriver.cs +++ b/src/KubernetesClient/generated/Models/V1beta1AllowedCSIDriver.cs @@ -14,24 +14,22 @@ namespace k8s.Models /// AllowedCSIDriver represents a single inline CSI Driver that is allowed /// to be used. /// - public partial class Policyv1beta1AllowedCSIDriver + public partial class V1beta1AllowedCSIDriver { /// - /// Initializes a new instance of the Policyv1beta1AllowedCSIDriver - /// class. + /// Initializes a new instance of the V1beta1AllowedCSIDriver class. /// - public Policyv1beta1AllowedCSIDriver() + public V1beta1AllowedCSIDriver() { CustomInit(); } /// - /// Initializes a new instance of the Policyv1beta1AllowedCSIDriver - /// class. + /// Initializes a new instance of the V1beta1AllowedCSIDriver class. /// /// Name is the registered name of the CSI /// driver - public Policyv1beta1AllowedCSIDriver(string name) + public V1beta1AllowedCSIDriver(string name) { Name = name; CustomInit(); diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedFlexVolume.cs b/src/KubernetesClient/generated/Models/V1beta1AllowedFlexVolume.cs similarity index 78% rename from src/KubernetesClient/generated/Models/Policyv1beta1AllowedFlexVolume.cs rename to src/KubernetesClient/generated/Models/V1beta1AllowedFlexVolume.cs index b45976e00..7fa11941d 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedFlexVolume.cs +++ b/src/KubernetesClient/generated/Models/V1beta1AllowedFlexVolume.cs @@ -14,24 +14,22 @@ namespace k8s.Models /// AllowedFlexVolume represents a single Flexvolume that is allowed to be /// used. /// - public partial class Policyv1beta1AllowedFlexVolume + public partial class V1beta1AllowedFlexVolume { /// - /// Initializes a new instance of the Policyv1beta1AllowedFlexVolume - /// class. + /// Initializes a new instance of the V1beta1AllowedFlexVolume class. /// - public Policyv1beta1AllowedFlexVolume() + public V1beta1AllowedFlexVolume() { CustomInit(); } /// - /// Initializes a new instance of the Policyv1beta1AllowedFlexVolume - /// class. + /// Initializes a new instance of the V1beta1AllowedFlexVolume class. /// /// driver is the name of the Flexvolume /// driver. - public Policyv1beta1AllowedFlexVolume(string driver) + public V1beta1AllowedFlexVolume(string driver) { Driver = driver; CustomInit(); diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedHostPath.cs b/src/KubernetesClient/generated/Models/V1beta1AllowedHostPath.cs similarity index 82% rename from src/KubernetesClient/generated/Models/Policyv1beta1AllowedHostPath.cs rename to src/KubernetesClient/generated/Models/V1beta1AllowedHostPath.cs index 2c57f3cce..11a26009a 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1AllowedHostPath.cs +++ b/src/KubernetesClient/generated/Models/V1beta1AllowedHostPath.cs @@ -13,20 +13,18 @@ namespace k8s.Models /// AllowedHostPath 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 partial class Policyv1beta1AllowedHostPath + public partial class V1beta1AllowedHostPath { /// - /// Initializes a new instance of the Policyv1beta1AllowedHostPath - /// class. + /// Initializes a new instance of the V1beta1AllowedHostPath class. /// - public Policyv1beta1AllowedHostPath() + public V1beta1AllowedHostPath() { CustomInit(); } /// - /// Initializes a new instance of the Policyv1beta1AllowedHostPath - /// class. + /// Initializes a new instance of the V1beta1AllowedHostPath class. /// /// pathPrefix is the path prefix that the /// host volume must match. It does not support `*`. Trailing slashes @@ -37,7 +35,7 @@ public Policyv1beta1AllowedHostPath() /// when set to true, will allow host /// volumes matching the pathPrefix only if all volume mounts are /// readOnly. - public Policyv1beta1AllowedHostPath(string pathPrefix = default(string), bool? readOnlyProperty = default(bool?)) + public V1beta1AllowedHostPath(string pathPrefix = default(string), bool? readOnlyProperty = default(bool?)) { PathPrefix = pathPrefix; ReadOnlyProperty = readOnlyProperty; diff --git a/src/KubernetesClient/generated/Models/V1beta1CSINode.cs b/src/KubernetesClient/generated/Models/V1beta1CSINode.cs index fbd4ff9b8..8bfa06608 100644 --- a/src/KubernetesClient/generated/Models/V1beta1CSINode.cs +++ b/src/KubernetesClient/generated/Models/V1beta1CSINode.cs @@ -11,15 +11,17 @@ namespace k8s.Models using System.Linq; /// - /// CSINode holds information about all CSI drivers installed on a node. - /// CSI drivers do not need to create the CSINode object directly. As long - /// as they use the node-driver-registrar sidecar container, the kubelet - /// will automatically populate the CSINode object for the CSI driver as - /// part of kubelet plugin registration. CSINode has the same name as a - /// node. If the object is missing, it means either there are no CSI - /// Drivers available on the node, or the Kubelet version is low enough - /// that it doesn't create this object. CSINode has an OwnerReference that - /// points to the corresponding node object. + /// DEPRECATED - This group version of CSINode is deprecated by + /// storage/v1/CSINode. See the release notes for more information. CSINode + /// holds information about all CSI drivers installed on a node. CSI + /// drivers do not need to create the CSINode object directly. As long as + /// they use the node-driver-registrar sidecar container, the kubelet will + /// automatically populate the CSINode object for the CSI driver as part of + /// kubelet plugin registration. CSINode has the same name as a node. If + /// the object is missing, it means either there are no CSI Drivers + /// available on the node, or the Kubelet version is low enough that it + /// doesn't create this object. CSINode has an OwnerReference that points + /// to the corresponding node object. /// public partial class V1beta1CSINode { diff --git a/src/KubernetesClient/generated/Models/V1beta1CertificateSigningRequestSpec.cs b/src/KubernetesClient/generated/Models/V1beta1CertificateSigningRequestSpec.cs index 012a48a56..7187b8df9 100644 --- a/src/KubernetesClient/generated/Models/V1beta1CertificateSigningRequestSpec.cs +++ b/src/KubernetesClient/generated/Models/V1beta1CertificateSigningRequestSpec.cs @@ -37,6 +37,16 @@ public V1beta1CertificateSigningRequestSpec() /// See user.Info interface for details. /// Group information about the requesting user. /// See user.Info interface for details. + /// Requested signer for the request. It is a + /// qualified name in the form: `scope-hostname.io/name`. If empty, it + /// will be defaulted: + /// 1. If it's a kubelet client certificate, it is assigned + /// "kubernetes.io/kube-apiserver-client-kubelet". + /// 2. If it's a kubelet serving certificate, it is assigned + /// "kubernetes.io/kubelet-serving". + /// 3. Otherwise, it is assigned "kubernetes.io/legacy-unknown". + /// Distribution of trust for signers happens out of band. You can + /// select on this field using `spec.signerName`. /// UID information about the requesting user. See /// user.Info interface for details. /// allowedUsages specifies a set of usage @@ -45,11 +55,12 @@ public V1beta1CertificateSigningRequestSpec() /// https://tools.ietf.org/html/rfc5280#section-4.2.1.12 /// Information about the requesting user. See /// user.Info interface for details. - public V1beta1CertificateSigningRequestSpec(byte[] request, IDictionary> extra = default(IDictionary>), IList groups = default(IList), string uid = default(string), IList usages = default(IList), string username = default(string)) + public V1beta1CertificateSigningRequestSpec(byte[] request, IDictionary> extra = default(IDictionary>), IList groups = default(IList), string signerName = default(string), string uid = default(string), IList usages = default(IList), string username = default(string)) { Extra = extra; Groups = groups; Request = request; + SignerName = signerName; Uid = uid; Usages = usages; Username = username; @@ -81,6 +92,21 @@ public V1beta1CertificateSigningRequestSpec() [JsonProperty(PropertyName = "request")] public byte[] Request { get; set; } + /// + /// Gets or sets requested signer for the request. It is a qualified + /// name in the form: `scope-hostname.io/name`. If empty, it will be + /// defaulted: + /// 1. If it's a kubelet client certificate, it is assigned + /// "kubernetes.io/kube-apiserver-client-kubelet". + /// 2. If it's a kubelet serving certificate, it is assigned + /// "kubernetes.io/kubelet-serving". + /// 3. Otherwise, it is assigned "kubernetes.io/legacy-unknown". + /// Distribution of trust for signers happens out of band. You can + /// select on this field using `spec.signerName`. + /// + [JsonProperty(PropertyName = "signerName")] + public string SignerName { get; set; } + /// /// Gets or sets UID information about the requesting user. See /// user.Info interface for details. diff --git a/src/KubernetesClient/generated/Models/V1beta1ClusterRole.cs b/src/KubernetesClient/generated/Models/V1beta1ClusterRole.cs index 47bea1ada..09aed565d 100644 --- a/src/KubernetesClient/generated/Models/V1beta1ClusterRole.cs +++ b/src/KubernetesClient/generated/Models/V1beta1ClusterRole.cs @@ -14,6 +14,8 @@ namespace k8s.Models /// /// ClusterRole is a cluster level, logical grouping of PolicyRules that /// can be referenced as a unit by a RoleBinding or ClusterRoleBinding. + /// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 + /// ClusterRole, and will no longer be served in v1.20. /// public partial class V1beta1ClusterRole { diff --git a/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBinding.cs b/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBinding.cs index 010465d4a..e5cc5bb34 100644 --- a/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBinding.cs @@ -15,7 +15,9 @@ namespace k8s.Models /// /// ClusterRoleBinding references a ClusterRole, but not contain it. It /// can reference a ClusterRole in the global namespace, and adds who - /// information via Subject. + /// information via Subject. Deprecated in v1.17 in favor of + /// rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be + /// served in v1.20. /// public partial class V1beta1ClusterRoleBinding { diff --git a/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBindingList.cs b/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBindingList.cs index 78b3204cf..653311bbc 100644 --- a/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBindingList.cs +++ b/src/KubernetesClient/generated/Models/V1beta1ClusterRoleBindingList.cs @@ -13,7 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// ClusterRoleBindingList is a collection of ClusterRoleBindings + /// ClusterRoleBindingList is a collection of ClusterRoleBindings. + /// Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 + /// ClusterRoleBindingList, and will no longer be served in v1.20. /// public partial class V1beta1ClusterRoleBindingList { diff --git a/src/KubernetesClient/generated/Models/V1beta1ClusterRoleList.cs b/src/KubernetesClient/generated/Models/V1beta1ClusterRoleList.cs index 157c6e4cc..5fc42412e 100644 --- a/src/KubernetesClient/generated/Models/V1beta1ClusterRoleList.cs +++ b/src/KubernetesClient/generated/Models/V1beta1ClusterRoleList.cs @@ -13,7 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// ClusterRoleList is a collection of ClusterRoles + /// ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in + /// favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer + /// be served in v1.20. /// public partial class V1beta1ClusterRoleList { diff --git a/src/KubernetesClient/generated/Models/V1beta1ControllerRevision.cs b/src/KubernetesClient/generated/Models/V1beta1ControllerRevision.cs deleted file mode 100644 index 8bb4c64a2..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1ControllerRevision.cs +++ /dev/null @@ -1,121 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// 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 partial class V1beta1ControllerRevision - { - /// - /// Initializes a new instance of the V1beta1ControllerRevision class. - /// - public V1beta1ControllerRevision() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1ControllerRevision class. - /// - /// Revision indicates the revision of the state - /// represented by Data. - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Data is the serialized representation of the - /// state. - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public V1beta1ControllerRevision(long revision, string apiVersion = default(string), object data = default(object), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) - { - ApiVersion = apiVersion; - Data = data; - Kind = kind; - Metadata = metadata; - Revision = revision; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets data is the serialized representation of the state. - /// - [JsonProperty(PropertyName = "data")] - public object Data { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets revision indicates the revision of the state - /// represented by Data. - /// - [JsonProperty(PropertyName = "revision")] - public long Revision { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionStatus.cs b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionStatus.cs index 3cda4e912..31b1274d5 100644 --- a/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionStatus.cs +++ b/src/KubernetesClient/generated/Models/V1beta1CustomResourceDefinitionStatus.cs @@ -6,7 +6,6 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -34,6 +33,8 @@ public V1beta1CustomResourceDefinitionStatus() /// acceptedNames are the names that are /// actually being used to serve discovery. They may be different than /// the names in spec. + /// conditions indicate state for particular + /// aspects of a CustomResourceDefinition /// storedVersions lists all versions of /// CustomResources that were ever persisted. Tracking these versions /// allows a migration path for stored versions in etcd. The field is @@ -41,9 +42,7 @@ public V1beta1CustomResourceDefinitionStatus() /// version (ensuring no old objects are left in storage), and then /// remove the rest of the versions from this list. Versions may not be /// removed from `spec.versions` while they exist in this list. - /// conditions indicate state for particular - /// aspects of a CustomResourceDefinition - public V1beta1CustomResourceDefinitionStatus(V1beta1CustomResourceDefinitionNames acceptedNames, IList storedVersions, IList conditions = default(IList)) + public V1beta1CustomResourceDefinitionStatus(V1beta1CustomResourceDefinitionNames acceptedNames = default(V1beta1CustomResourceDefinitionNames), IList conditions = default(IList), IList storedVersions = default(IList)) { AcceptedNames = acceptedNames; Conditions = conditions; @@ -86,19 +85,11 @@ public V1beta1CustomResourceDefinitionStatus() /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { - if (AcceptedNames == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "AcceptedNames"); - } - if (StoredVersions == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "StoredVersions"); - } if (AcceptedNames != null) { AcceptedNames.Validate(); diff --git a/src/KubernetesClient/generated/Models/V1beta1DaemonSet.cs b/src/KubernetesClient/generated/Models/V1beta1DaemonSet.cs deleted file mode 100644 index 5000caaa6..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1DaemonSet.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// 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 partial class V1beta1DaemonSet - { - /// - /// Initializes a new instance of the V1beta1DaemonSet class. - /// - public V1beta1DaemonSet() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1DaemonSet class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// The desired behavior of this daemon set. More - /// info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#spec-and-status - public V1beta1DaemonSet(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1DaemonSetSpec spec = default(V1beta1DaemonSetSpec), V1beta1DaemonSetStatus status = default(V1beta1DaemonSetStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets the desired behavior of this daemon set. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - /// - [JsonProperty(PropertyName = "spec")] - public V1beta1DaemonSetSpec Spec { get; set; } - - /// - /// Gets or sets 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/sig-architecture/api-conventions.md#spec-and-status - /// - [JsonProperty(PropertyName = "status")] - public V1beta1DaemonSetStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Spec != null) - { - Spec.Validate(); - } - if (Status != null) - { - Status.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1DaemonSetCondition.cs b/src/KubernetesClient/generated/Models/V1beta1DaemonSetCondition.cs deleted file mode 100644 index 3930fc05a..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1DaemonSetCondition.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DaemonSetCondition describes the state of a DaemonSet at a certain - /// point. - /// - public partial class V1beta1DaemonSetCondition - { - /// - /// Initializes a new instance of the V1beta1DaemonSetCondition class. - /// - public V1beta1DaemonSetCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1DaemonSetCondition class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of DaemonSet condition. - /// Last time the condition - /// transitioned from one status to another. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public V1beta1DaemonSetCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets last time the condition transitioned from one status - /// to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of DaemonSet condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1DaemonSetSpec.cs b/src/KubernetesClient/generated/Models/V1beta1DaemonSetSpec.cs deleted file mode 100644 index 4a38765a1..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1DaemonSetSpec.cs +++ /dev/null @@ -1,136 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DaemonSetSpec is the specification of a daemon set. - /// - public partial class V1beta1DaemonSetSpec - { - /// - /// Initializes a new instance of the V1beta1DaemonSetSpec class. - /// - public V1beta1DaemonSetSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1DaemonSetSpec class. - /// - /// 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 - /// 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). - /// 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. - /// 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 - /// DEPRECATED. A sequence number - /// representing a specific generation of the template. Populated by - /// the system. It can be set only during the creation. - /// An update strategy to replace existing - /// DaemonSet pods with new pods. - public V1beta1DaemonSetSpec(V1PodTemplateSpec template, int? minReadySeconds = default(int?), int? revisionHistoryLimit = default(int?), V1LabelSelector selector = default(V1LabelSelector), long? templateGeneration = default(long?), V1beta1DaemonSetUpdateStrategy updateStrategy = default(V1beta1DaemonSetUpdateStrategy)) - { - MinReadySeconds = minReadySeconds; - RevisionHistoryLimit = revisionHistoryLimit; - Selector = selector; - Template = template; - TemplateGeneration = templateGeneration; - UpdateStrategy = updateStrategy; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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). - /// - [JsonProperty(PropertyName = "minReadySeconds")] - public int? MinReadySeconds { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "revisionHistoryLimit")] - public int? RevisionHistoryLimit { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Gets or sets DEPRECATED. A sequence number representing a specific - /// generation of the template. Populated by the system. It can be set - /// only during the creation. - /// - [JsonProperty(PropertyName = "templateGeneration")] - public long? TemplateGeneration { get; set; } - - /// - /// Gets or sets an update strategy to replace existing DaemonSet pods - /// with new pods. - /// - [JsonProperty(PropertyName = "updateStrategy")] - public V1beta1DaemonSetUpdateStrategy UpdateStrategy { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Template == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Template"); - } - if (Template != null) - { - Template.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1DaemonSetStatus.cs b/src/KubernetesClient/generated/Models/V1beta1DaemonSetStatus.cs deleted file mode 100644 index 8da78583c..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1DaemonSetStatus.cs +++ /dev/null @@ -1,180 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DaemonSetStatus represents the current status of a daemon set. - /// - public partial class V1beta1DaemonSetStatus - { - /// - /// Initializes a new instance of the V1beta1DaemonSetStatus class. - /// - public V1beta1DaemonSetStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1DaemonSetStatus class. - /// - /// 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/ - /// 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/ - /// 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/ - /// The number of nodes that should be - /// running the daemon pod and have one or more of the daemon pod - /// running and ready. - /// 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. - /// Represents the latest available - /// observations of a DaemonSet's current state. - /// 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) - /// 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) - /// The most recent generation - /// observed by the daemon set controller. - /// The total number of nodes that - /// are running updated daemon pod - public V1beta1DaemonSetStatus(int currentNumberScheduled, int desiredNumberScheduled, int numberMisscheduled, int numberReady, int? collisionCount = default(int?), IList conditions = default(IList), int? numberAvailable = default(int?), int? numberUnavailable = default(int?), long? observedGeneration = default(long?), int? updatedNumberScheduled = default(int?)) - { - CollisionCount = collisionCount; - Conditions = conditions; - CurrentNumberScheduled = currentNumberScheduled; - DesiredNumberScheduled = desiredNumberScheduled; - NumberAvailable = numberAvailable; - NumberMisscheduled = numberMisscheduled; - NumberReady = numberReady; - NumberUnavailable = numberUnavailable; - ObservedGeneration = observedGeneration; - UpdatedNumberScheduled = updatedNumberScheduled; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "collisionCount")] - public int? CollisionCount { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// DaemonSet's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets 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/ - /// - [JsonProperty(PropertyName = "currentNumberScheduled")] - public int CurrentNumberScheduled { get; set; } - - /// - /// Gets or sets 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/ - /// - [JsonProperty(PropertyName = "desiredNumberScheduled")] - public int DesiredNumberScheduled { get; set; } - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "numberAvailable")] - public int? NumberAvailable { get; set; } - - /// - /// Gets or sets 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/ - /// - [JsonProperty(PropertyName = "numberMisscheduled")] - public int NumberMisscheduled { get; set; } - - /// - /// Gets or sets the number of nodes that should be running the daemon - /// pod and have one or more of the daemon pod running and ready. - /// - [JsonProperty(PropertyName = "numberReady")] - public int NumberReady { get; set; } - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "numberUnavailable")] - public int? NumberUnavailable { get; set; } - - /// - /// Gets or sets the most recent generation observed by the daemon set - /// controller. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets the total number of nodes that are running updated - /// daemon pod - /// - [JsonProperty(PropertyName = "updatedNumberScheduled")] - public int? UpdatedNumberScheduled { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Conditions != null) - { - foreach (var element in Conditions) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1DaemonSetUpdateStrategy.cs b/src/KubernetesClient/generated/Models/V1beta1DaemonSetUpdateStrategy.cs deleted file mode 100644 index c89cf0e2f..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1DaemonSetUpdateStrategy.cs +++ /dev/null @@ -1,58 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - public partial class V1beta1DaemonSetUpdateStrategy - { - /// - /// Initializes a new instance of the V1beta1DaemonSetUpdateStrategy - /// class. - /// - public V1beta1DaemonSetUpdateStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1DaemonSetUpdateStrategy - /// class. - /// - /// Rolling update config params. Present - /// only if type = "RollingUpdate". - /// Type of daemon set update. Can be - /// "RollingUpdate" or "OnDelete". Default is OnDelete. - public V1beta1DaemonSetUpdateStrategy(V1beta1RollingUpdateDaemonSet rollingUpdate = default(V1beta1RollingUpdateDaemonSet), string type = default(string)) - { - RollingUpdate = rollingUpdate; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets rolling update config params. Present only if type = - /// "RollingUpdate". - /// - [JsonProperty(PropertyName = "rollingUpdate")] - public V1beta1RollingUpdateDaemonSet RollingUpdate { get; set; } - - /// - /// Gets or sets type of daemon set update. Can be "RollingUpdate" or - /// "OnDelete". Default is OnDelete. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1alpha1Endpoint.cs b/src/KubernetesClient/generated/Models/V1beta1Endpoint.cs similarity index 82% rename from src/KubernetesClient/generated/Models/V1alpha1Endpoint.cs rename to src/KubernetesClient/generated/Models/V1beta1Endpoint.cs index ca8d3d25c..432181072 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1Endpoint.cs +++ b/src/KubernetesClient/generated/Models/V1beta1Endpoint.cs @@ -15,26 +15,24 @@ namespace k8s.Models /// /// Endpoint represents a single logical "backend" implementing a service. /// - public partial class V1alpha1Endpoint + public partial class V1beta1Endpoint { /// - /// Initializes a new instance of the V1alpha1Endpoint class. + /// Initializes a new instance of the V1beta1Endpoint class. /// - public V1alpha1Endpoint() + public V1beta1Endpoint() { CustomInit(); } /// - /// Initializes a new instance of the V1alpha1Endpoint class. + /// Initializes a new instance of the V1beta1Endpoint class. /// /// addresses of this endpoint. The contents of /// this field are interpreted according to the corresponding - /// EndpointSlice addressType field. This allows for cases like - /// dual-stack (IPv4 and IPv6) networking. Consumers (e.g. kube-proxy) - /// must handle different types of addresses in the context of their - /// own capabilities. This must contain at least one address but no - /// more than 100. + /// EndpointSlice addressType field. Consumers must handle different + /// types of addresses in the context of their own capabilities. This + /// must contain at least one address but no more than 100. /// conditions contains information about the /// current status of the endpoint. /// hostname of this endpoint. This field may be @@ -62,7 +60,7 @@ public V1alpha1Endpoint() /// where the /// endpoint is located. This should match the corresponding node /// label. - public V1alpha1Endpoint(IList addresses, V1alpha1EndpointConditions conditions = default(V1alpha1EndpointConditions), string hostname = default(string), V1ObjectReference targetRef = default(V1ObjectReference), IDictionary topology = default(IDictionary)) + public V1beta1Endpoint(IList addresses, V1beta1EndpointConditions conditions = default(V1beta1EndpointConditions), string hostname = default(string), V1ObjectReference targetRef = default(V1ObjectReference), IDictionary topology = default(IDictionary)) { Addresses = addresses; Conditions = conditions; @@ -80,10 +78,9 @@ public V1alpha1Endpoint() /// /// Gets or sets addresses of this endpoint. The contents of this field /// are interpreted according to the corresponding EndpointSlice - /// addressType field. This allows for cases like dual-stack (IPv4 and - /// IPv6) networking. Consumers (e.g. kube-proxy) must handle different - /// types of addresses in the context of their own capabilities. This - /// must contain at least one address but no more than 100. + /// addressType field. Consumers must handle different types of + /// addresses in the context of their own capabilities. This must + /// contain at least one address but no more than 100. /// [JsonProperty(PropertyName = "addresses")] public IList Addresses { get; set; } @@ -93,7 +90,7 @@ public V1alpha1Endpoint() /// status of the endpoint. /// [JsonProperty(PropertyName = "conditions")] - public V1alpha1EndpointConditions Conditions { get; set; } + public V1beta1EndpointConditions Conditions { get; set; } /// /// Gets or sets hostname of this endpoint. This field may be used by diff --git a/src/KubernetesClient/generated/Models/V1alpha1EndpointConditions.cs b/src/KubernetesClient/generated/Models/V1beta1EndpointConditions.cs similarity index 79% rename from src/KubernetesClient/generated/Models/V1alpha1EndpointConditions.cs rename to src/KubernetesClient/generated/Models/V1beta1EndpointConditions.cs index 6d5c9b6d2..c0d66609c 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1EndpointConditions.cs +++ b/src/KubernetesClient/generated/Models/V1beta1EndpointConditions.cs @@ -12,24 +12,24 @@ namespace k8s.Models /// /// EndpointConditions represents the current condition of an endpoint. /// - public partial class V1alpha1EndpointConditions + public partial class V1beta1EndpointConditions { /// - /// Initializes a new instance of the V1alpha1EndpointConditions class. + /// Initializes a new instance of the V1beta1EndpointConditions class. /// - public V1alpha1EndpointConditions() + public V1beta1EndpointConditions() { CustomInit(); } /// - /// Initializes a new instance of the V1alpha1EndpointConditions class. + /// Initializes a new instance of the V1beta1EndpointConditions class. /// /// ready indicates that this endpoint is prepared /// to receive traffic, according to whatever system is managing the /// endpoint. A nil value indicates an unknown state. In most cases /// consumers should interpret this unknown state as ready. - public V1alpha1EndpointConditions(bool? ready = default(bool?)) + public V1beta1EndpointConditions(bool? ready = default(bool?)) { Ready = ready; CustomInit(); diff --git a/src/KubernetesClient/generated/Models/V1alpha1EndpointPort.cs b/src/KubernetesClient/generated/Models/V1beta1EndpointPort.cs similarity index 53% rename from src/KubernetesClient/generated/Models/V1alpha1EndpointPort.cs rename to src/KubernetesClient/generated/Models/V1beta1EndpointPort.cs index 6c28be685..ea933dc73 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1EndpointPort.cs +++ b/src/KubernetesClient/generated/Models/V1beta1EndpointPort.cs @@ -12,34 +12,41 @@ namespace k8s.Models /// /// EndpointPort represents a Port used by an EndpointSlice /// - public partial class V1alpha1EndpointPort + public partial class V1beta1EndpointPort { /// - /// Initializes a new instance of the V1alpha1EndpointPort class. + /// Initializes a new instance of the V1beta1EndpointPort class. /// - public V1alpha1EndpointPort() + public V1beta1EndpointPort() { CustomInit(); } /// - /// Initializes a new instance of the V1alpha1EndpointPort class. + /// Initializes a new instance of the V1beta1EndpointPort class. /// + /// The application protocol for this port. + /// This field follows standard Kubernetes label syntax. Un-prefixed + /// names are reserved for IANA standard service names (as per RFC-6335 + /// and http://www.iana.org/assignments/service-names). Non-standard + /// protocols should use prefixed names such as + /// mycompany.com/my-custom-protocol. /// The name of this port. All ports in an /// EndpointSlice must have a unique name. If the EndpointSlice is /// dervied from a Kubernetes service, this corresponds to the /// Service.ports[].name. Name must either be an empty string or pass - /// IANA_SVC_NAME validation: * must be no more than 15 characters long - /// * may contain only [-a-z0-9] * must contain at least one letter - /// [a-z] * it must not start or end with a hyphen, nor contain - /// adjacent hyphens Default is empty string. + /// DNS_LABEL validation: * must be no more than 63 characters long. * + /// must consist of lower case alphanumeric characters or '-'. * must + /// start and end with an alphanumeric character. Default is empty + /// string. /// The port number of the endpoint. If this is not /// specified, ports are not restricted and must be interpreted in the /// context of the specific consumer. /// The IP protocol for this port. Must be UDP, /// TCP, or SCTP. Default is TCP. - public V1alpha1EndpointPort(string name = default(string), int? port = default(int?), string protocol = default(string)) + public V1beta1EndpointPort(string appProtocol = default(string), string name = default(string), int? port = default(int?), string protocol = default(string)) { + AppProtocol = appProtocol; Name = name; Port = port; Protocol = protocol; @@ -51,15 +58,25 @@ public V1alpha1EndpointPort() /// partial void CustomInit(); + /// + /// Gets or sets the application protocol for this port. This field + /// follows standard Kubernetes label syntax. Un-prefixed names are + /// reserved for IANA standard service names (as per RFC-6335 and + /// http://www.iana.org/assignments/service-names). Non-standard + /// protocols should use prefixed names such as + /// mycompany.com/my-custom-protocol. + /// + [JsonProperty(PropertyName = "appProtocol")] + public string AppProtocol { get; set; } + /// /// Gets or sets the name of this port. All ports in an EndpointSlice /// must have a unique name. If the EndpointSlice is dervied from a /// Kubernetes service, this corresponds to the Service.ports[].name. - /// Name must either be an empty string or pass IANA_SVC_NAME - /// validation: * must be no more than 15 characters long * may contain - /// only [-a-z0-9] * must contain at least one letter [a-z] * it must - /// not start or end with a hyphen, nor contain adjacent hyphens - /// Default is empty string. + /// Name must either be an empty string or pass DNS_LABEL validation: * + /// must be no more than 63 characters long. * must consist of lower + /// case alphanumeric characters or '-'. * must start and end with an + /// alphanumeric character. Default is empty string. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/KubernetesClient/generated/Models/V1alpha1EndpointSlice.cs b/src/KubernetesClient/generated/Models/V1beta1EndpointSlice.cs similarity index 79% rename from src/KubernetesClient/generated/Models/V1alpha1EndpointSlice.cs rename to src/KubernetesClient/generated/Models/V1beta1EndpointSlice.cs index 2e4c4b71d..89915a1fa 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1EndpointSlice.cs +++ b/src/KubernetesClient/generated/Models/V1beta1EndpointSlice.cs @@ -18,25 +18,28 @@ namespace k8s.Models /// objects, selected by labels, which must be joined to produce the full /// set of endpoints. /// - public partial class V1alpha1EndpointSlice + public partial class V1beta1EndpointSlice { /// - /// Initializes a new instance of the V1alpha1EndpointSlice class. + /// Initializes a new instance of the V1beta1EndpointSlice class. /// - public V1alpha1EndpointSlice() + public V1beta1EndpointSlice() { CustomInit(); } /// - /// Initializes a new instance of the V1alpha1EndpointSlice class. + /// Initializes a new instance of the V1beta1EndpointSlice class. /// + /// addressType specifies the type of address + /// carried by this EndpointSlice. All addresses in this slice must be + /// the same type. This field is immutable after creation. The + /// following address types are currently supported: * IPv4: Represents + /// an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: + /// Represents a Fully Qualified Domain Name. /// endpoints is a list of unique endpoints in /// this slice. Each slice may include a maximum of 1000 /// endpoints. - /// addressType specifies the type of address - /// carried by this EndpointSlice. All addresses in this slice must be - /// the same type. Default is IP /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -54,7 +57,7 @@ public V1alpha1EndpointSlice() /// defined ports. When a port is defined with a nil port value, it /// indicates "all ports". Each slice may include a maximum of 100 /// ports. - public V1alpha1EndpointSlice(IList endpoints, string addressType = default(string), string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList ports = default(IList)) + public V1beta1EndpointSlice(string addressType, IList endpoints, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList ports = default(IList)) { AddressType = addressType; ApiVersion = apiVersion; @@ -73,7 +76,10 @@ public V1alpha1EndpointSlice() /// /// Gets or sets addressType specifies the type of address carried by /// this EndpointSlice. All addresses in this slice must be the same - /// type. Default is IP + /// type. This field is immutable after creation. The following address + /// types are currently supported: * IPv4: Represents an IPv4 Address. + /// * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully + /// Qualified Domain Name. /// [JsonProperty(PropertyName = "addressType")] public string AddressType { get; set; } @@ -93,7 +99,7 @@ public V1alpha1EndpointSlice() /// Each slice may include a maximum of 1000 endpoints. /// [JsonProperty(PropertyName = "endpoints")] - public IList Endpoints { get; set; } + public IList Endpoints { get; set; } /// /// Gets or sets kind is a string value representing the REST resource @@ -119,7 +125,7 @@ public V1alpha1EndpointSlice() /// ports". Each slice may include a maximum of 100 ports. /// [JsonProperty(PropertyName = "ports")] - public IList Ports { get; set; } + public IList Ports { get; set; } /// /// Validate the object. @@ -129,6 +135,10 @@ public V1alpha1EndpointSlice() /// public virtual void Validate() { + if (AddressType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AddressType"); + } if (Endpoints == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Endpoints"); diff --git a/src/KubernetesClient/generated/Models/V1alpha1EndpointSliceList.cs b/src/KubernetesClient/generated/Models/V1beta1EndpointSliceList.cs similarity index 86% rename from src/KubernetesClient/generated/Models/V1alpha1EndpointSliceList.cs rename to src/KubernetesClient/generated/Models/V1beta1EndpointSliceList.cs index e7d36ffc7..3e59ab862 100644 --- a/src/KubernetesClient/generated/Models/V1alpha1EndpointSliceList.cs +++ b/src/KubernetesClient/generated/Models/V1beta1EndpointSliceList.cs @@ -15,18 +15,18 @@ namespace k8s.Models /// /// EndpointSliceList represents a list of endpoint slices /// - public partial class V1alpha1EndpointSliceList + public partial class V1beta1EndpointSliceList { /// - /// Initializes a new instance of the V1alpha1EndpointSliceList class. + /// Initializes a new instance of the V1beta1EndpointSliceList class. /// - public V1alpha1EndpointSliceList() + public V1beta1EndpointSliceList() { CustomInit(); } /// - /// Initializes a new instance of the V1alpha1EndpointSliceList class. + /// Initializes a new instance of the V1beta1EndpointSliceList class. /// /// List of endpoint slices /// APIVersion defines the versioned schema of @@ -40,7 +40,7 @@ public V1alpha1EndpointSliceList() /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds /// Standard list metadata. - public V1alpha1EndpointSliceList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + public V1beta1EndpointSliceList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; Items = items; @@ -68,7 +68,7 @@ public V1alpha1EndpointSliceList() /// Gets or sets list of endpoint slices /// [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } + public IList Items { get; set; } /// /// Gets or sets kind is a string value representing the REST resource diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs b/src/KubernetesClient/generated/Models/V1beta1FSGroupStrategyOptions.cs similarity index 75% rename from src/KubernetesClient/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs rename to src/KubernetesClient/generated/Models/V1beta1FSGroupStrategyOptions.cs index 23fba2d98..3212a784f 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/V1beta1FSGroupStrategyOptions.cs @@ -15,27 +15,27 @@ namespace k8s.Models /// FSGroupStrategyOptions defines the strategy type and options used to /// create the strategy. /// - public partial class Policyv1beta1FSGroupStrategyOptions + public partial class V1beta1FSGroupStrategyOptions { /// - /// Initializes a new instance of the - /// Policyv1beta1FSGroupStrategyOptions class. + /// Initializes a new instance of the V1beta1FSGroupStrategyOptions + /// class. /// - public Policyv1beta1FSGroupStrategyOptions() + public V1beta1FSGroupStrategyOptions() { CustomInit(); } /// - /// Initializes a new instance of the - /// Policyv1beta1FSGroupStrategyOptions class. + /// Initializes a new instance of the V1beta1FSGroupStrategyOptions + /// class. /// /// 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. Required for MustRunAs. /// rule is the strategy that will dictate what /// FSGroup is used in the SecurityContext. - public Policyv1beta1FSGroupStrategyOptions(IList ranges = default(IList), string rule = default(string)) + public V1beta1FSGroupStrategyOptions(IList ranges = default(IList), string rule = default(string)) { Ranges = ranges; Rule = rule; @@ -53,7 +53,7 @@ public Policyv1beta1FSGroupStrategyOptions() /// with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } + public IList Ranges { get; set; } /// /// Gets or sets rule is the strategy that will dictate what FSGroup is diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1HostPortRange.cs b/src/KubernetesClient/generated/Models/V1beta1HostPortRange.cs similarity index 81% rename from src/KubernetesClient/generated/Models/Policyv1beta1HostPortRange.cs rename to src/KubernetesClient/generated/Models/V1beta1HostPortRange.cs index 76449c9d3..0314ffe28 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1HostPortRange.cs +++ b/src/KubernetesClient/generated/Models/V1beta1HostPortRange.cs @@ -14,22 +14,22 @@ namespace k8s.Models /// policy for pods to use. It requires both the start and end to be /// defined. /// - public partial class Policyv1beta1HostPortRange + public partial class V1beta1HostPortRange { /// - /// Initializes a new instance of the Policyv1beta1HostPortRange class. + /// Initializes a new instance of the V1beta1HostPortRange class. /// - public Policyv1beta1HostPortRange() + public V1beta1HostPortRange() { CustomInit(); } /// - /// Initializes a new instance of the Policyv1beta1HostPortRange class. + /// Initializes a new instance of the V1beta1HostPortRange class. /// /// max is the end of the range, inclusive. /// min is the start of the range, inclusive. - public Policyv1beta1HostPortRange(int max, int min) + public V1beta1HostPortRange(int max, int min) { Max = max; Min = min; diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1IDRange.cs b/src/KubernetesClient/generated/Models/V1beta1IDRange.cs similarity index 82% rename from src/KubernetesClient/generated/Models/Policyv1beta1IDRange.cs rename to src/KubernetesClient/generated/Models/V1beta1IDRange.cs index 469148217..d643245a2 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1IDRange.cs +++ b/src/KubernetesClient/generated/Models/V1beta1IDRange.cs @@ -12,22 +12,22 @@ namespace k8s.Models /// /// IDRange provides a min/max of an allowed range of IDs. /// - public partial class Policyv1beta1IDRange + public partial class V1beta1IDRange { /// - /// Initializes a new instance of the Policyv1beta1IDRange class. + /// Initializes a new instance of the V1beta1IDRange class. /// - public Policyv1beta1IDRange() + public V1beta1IDRange() { CustomInit(); } /// - /// Initializes a new instance of the Policyv1beta1IDRange class. + /// Initializes a new instance of the V1beta1IDRange class. /// /// max is the end of the range, inclusive. /// min is the start of the range, inclusive. - public Policyv1beta1IDRange(long max, long min) + public V1beta1IDRange(long max, long min) { Max = max; Min = min; diff --git a/src/KubernetesClient/generated/Models/V1beta1IPBlock.cs b/src/KubernetesClient/generated/Models/V1beta1IPBlock.cs deleted file mode 100644 index 08ea1b334..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1IPBlock.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DEPRECATED 1.9 - This group version of IPBlock is deprecated by - /// networking/v1/IPBlock. 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 partial class V1beta1IPBlock - { - /// - /// Initializes a new instance of the V1beta1IPBlock class. - /// - public V1beta1IPBlock() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1IPBlock class. - /// - /// CIDR is a string representing the IP Block Valid - /// examples are "192.168.1.1/24" - /// 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 V1beta1IPBlock(string cidr, IList except = default(IList)) - { - Cidr = cidr; - Except = except; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets CIDR is a string representing the IP Block Valid - /// examples are "192.168.1.1/24" - /// - [JsonProperty(PropertyName = "cidr")] - public string Cidr { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "except")] - public IList Except { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Cidr == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Cidr"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicy.cs b/src/KubernetesClient/generated/Models/V1beta1IngressClass.cs similarity index 70% rename from src/KubernetesClient/generated/Models/V1beta1NetworkPolicy.cs rename to src/KubernetesClient/generated/Models/V1beta1IngressClass.cs index 59ac6ec59..293ec6809 100644 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicy.cs +++ b/src/KubernetesClient/generated/Models/V1beta1IngressClass.cs @@ -10,22 +10,25 @@ namespace k8s.Models using System.Linq; /// - /// DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by - /// networking/v1/NetworkPolicy. NetworkPolicy describes what network - /// traffic is allowed for a set of Pods + /// IngressClass represents the class of the Ingress, referenced by the + /// Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` + /// annotation can be used to indicate that an IngressClass should be + /// considered default. When a single IngressClass resource has this + /// annotation set to true, new Ingress resources without a class specified + /// will be assigned this default class. /// - public partial class V1beta1NetworkPolicy + public partial class V1beta1IngressClass { /// - /// Initializes a new instance of the V1beta1NetworkPolicy class. + /// Initializes a new instance of the V1beta1IngressClass class. /// - public V1beta1NetworkPolicy() + public V1beta1IngressClass() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1NetworkPolicy class. + /// Initializes a new instance of the V1beta1IngressClass class. /// /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized @@ -39,9 +42,10 @@ public V1beta1NetworkPolicy() /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds /// Standard object's metadata. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// Specification of the desired behavior for this - /// NetworkPolicy. - public V1beta1NetworkPolicy(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1NetworkPolicySpec spec = default(V1beta1NetworkPolicySpec)) + /// Spec is the desired state of the IngressClass. + /// More info: + /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + public V1beta1IngressClass(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1IngressClassSpec spec = default(V1beta1IngressClassSpec)) { ApiVersion = apiVersion; Kind = kind; @@ -83,11 +87,12 @@ public V1beta1NetworkPolicy() public V1ObjectMeta Metadata { get; set; } /// - /// Gets or sets specification of the desired behavior for this - /// NetworkPolicy. + /// Gets or sets spec is the desired state of the IngressClass. More + /// info: + /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status /// [JsonProperty(PropertyName = "spec")] - public V1beta1NetworkPolicySpec Spec { get; set; } + public V1beta1IngressClassSpec Spec { get; set; } /// /// Validate the object. diff --git a/src/KubernetesClient/generated/Models/V1beta2DeploymentList.cs b/src/KubernetesClient/generated/Models/V1beta1IngressClassList.cs similarity index 82% rename from src/KubernetesClient/generated/Models/V1beta2DeploymentList.cs rename to src/KubernetesClient/generated/Models/V1beta1IngressClassList.cs index 3e600ac65..ad8011901 100644 --- a/src/KubernetesClient/generated/Models/V1beta2DeploymentList.cs +++ b/src/KubernetesClient/generated/Models/V1beta1IngressClassList.cs @@ -13,22 +13,22 @@ namespace k8s.Models using System.Linq; /// - /// DeploymentList is a list of Deployments. + /// IngressClassList is a collection of IngressClasses. /// - public partial class V1beta2DeploymentList + public partial class V1beta1IngressClassList { /// - /// Initializes a new instance of the V1beta2DeploymentList class. + /// Initializes a new instance of the V1beta1IngressClassList class. /// - public V1beta2DeploymentList() + public V1beta1IngressClassList() { CustomInit(); } /// - /// Initializes a new instance of the V1beta2DeploymentList class. + /// Initializes a new instance of the V1beta1IngressClassList class. /// - /// Items is the list of Deployments. + /// Items is the list of IngressClasses. /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized /// schemas to the latest internal value, and may reject unrecognized @@ -40,7 +40,7 @@ public V1beta2DeploymentList() /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds /// Standard list metadata. - public V1beta2DeploymentList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + public V1beta1IngressClassList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; Items = items; @@ -65,10 +65,10 @@ public V1beta2DeploymentList() public string ApiVersion { get; set; } /// - /// Gets or sets items is the list of Deployments. + /// Gets or sets items is the list of IngressClasses. /// [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } + public IList Items { get; set; } /// /// Gets or sets kind is a string value representing the REST resource diff --git a/src/KubernetesClient/generated/Models/V1beta1IngressClassSpec.cs b/src/KubernetesClient/generated/Models/V1beta1IngressClassSpec.cs new file mode 100644 index 000000000..31a4c2c0d --- /dev/null +++ b/src/KubernetesClient/generated/Models/V1beta1IngressClassSpec.cs @@ -0,0 +1,85 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// IngressClassSpec provides information about the class of an Ingress. + /// + public partial class V1beta1IngressClassSpec + { + /// + /// Initializes a new instance of the V1beta1IngressClassSpec class. + /// + public V1beta1IngressClassSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1IngressClassSpec class. + /// + /// Controller refers to the name of the + /// controller that should handle this class. This allows for different + /// "flavors" that are controlled by the same controller. For example, + /// you may have different Parameters for the same implementing + /// controller. This should be specified as a domain-prefixed path no + /// more than 250 characters in length, e.g. + /// "acme.io/ingress-controller". This field is immutable. + /// Parameters is a link to a custom resource + /// containing additional configuration for the controller. This is + /// optional if the controller does not require extra + /// parameters. + public V1beta1IngressClassSpec(string controller = default(string), V1TypedLocalObjectReference parameters = default(V1TypedLocalObjectReference)) + { + Controller = controller; + Parameters = parameters; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets controller refers to the name of the controller that + /// should handle this class. This allows for different "flavors" that + /// are controlled by the same controller. For example, you may have + /// different Parameters for the same implementing controller. This + /// should be specified as a domain-prefixed path no more than 250 + /// characters in length, e.g. "acme.io/ingress-controller". This field + /// is immutable. + /// + [JsonProperty(PropertyName = "controller")] + public string Controller { get; set; } + + /// + /// Gets or sets parameters is a link to a custom resource containing + /// additional configuration for the controller. This is optional if + /// the controller does not require extra parameters. + /// + [JsonProperty(PropertyName = "parameters")] + public V1TypedLocalObjectReference Parameters { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Parameters != null) + { + Parameters.Validate(); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaProps.cs b/src/KubernetesClient/generated/Models/V1beta1JSONSchemaProps.cs index 880636bb0..389f1c85d 100644 --- a/src/KubernetesClient/generated/Models/V1beta1JSONSchemaProps.cs +++ b/src/KubernetesClient/generated/Models/V1beta1JSONSchemaProps.cs @@ -42,6 +42,42 @@ public V1beta1JSONSchemaProps() /// JSON represents any valid JSON value. These /// types are supported: bool, int64, float64, string, []interface{}, /// map[string]interface{} and nil. + /// format is an OpenAPI v3 format string. Unknown + /// formats are ignored. The following formats are validated: + /// + /// - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - + /// uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an + /// email address as parsed by Golang net/mail.ParseAddress - hostname: + /// a valid representation for an Internet host name, as defined by RFC + /// 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang + /// net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - + /// cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address + /// as parsed by Golang net.ParseMAC - uuid: an UUID that allows + /// uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ + /// - uuid3: an UUID3 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ + /// - uuid4: an UUID4 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ + /// - uuid5: an UUID5 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ + /// - isbn: an ISBN10 or ISBN13 number string like "0321751043" or + /// "978-0321751041" - isbn10: an ISBN10 number string like + /// "0321751043" - isbn13: an ISBN13 number string like + /// "978-0321751041" - creditcard: a credit card number defined by the + /// regex + /// ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ + /// with any non digit characters mixed in - ssn: a U.S. social + /// security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - + /// hexcolor: an hexadecimal color code like "#FFFFFF: following the + /// regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color + /// code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary + /// data - password: any kind of string - date: a date string like + /// "2006-01-02" as defined by full-date in RFC3339 - duration: a + /// duration string like "22 ns" as parsed by Golang time.ParseDuration + /// or compatible with Scala duration format - datetime: a date time + /// string like "2014-12-15T19:30:20.000Z" as defined by date-time in + /// RFC3339. /// JSONSchemaPropsOrArray represents a value that /// can either be a JSONSchemaProps or an array of JSONSchemaProps. /// Mainly here for serialization purposes. @@ -74,7 +110,11 @@ public V1beta1JSONSchemaProps() /// This tag MUST only be used on lists that have the /// "x-kubernetes-list-type" extension set to "map". Also, the values /// specified for this attribute must be a scalar typed field of the - /// child structure (no nesting is supported). + /// child structure (no nesting is supported). + /// + /// The properties specified must either be required or have a default + /// value, to ensure those properties are present for all list + /// items. /// x-kubernetes-list-type annotates /// an array to further describe its topology. This extension must only /// be used on lists and may have 3 possible values: @@ -85,13 +125,27 @@ public V1beta1JSONSchemaProps() /// 2) `set`: /// Sets are lists that must not have multiple items with the same /// value. Each - /// value must be a scalar (or another atomic type). + /// value must be a scalar, an object with x-kubernetes-map-type + /// `atomic` or an + /// array with x-kubernetes-list-type `atomic`. /// 3) `map`: /// These lists are like maps in that their elements have a non-index /// key /// used to identify them. Order is preserved upon merge. The map tag /// must only be used on a list with elements of type object. /// Defaults to atomic for arrays. + /// x-kubernetes-map-type annotates an + /// object to further describe its topology. This extension must only + /// be used when type is object and may have 2 possible values: + /// + /// 1) `granular`: + /// These maps are actual maps (key-value pairs) and each fields are + /// independent + /// from each other (they can each be manipulated by separate actors). + /// This is + /// the default behaviour for all maps. + /// 2) `atomic`: the list is treated as a single entity, like a scalar. + /// Atomic maps will be entirely replaced when updated. /// x-kubernetes-preserve-unknown-fields /// stops the API server decoding step from pruning fields which are @@ -100,7 +154,7 @@ public V1beta1JSONSchemaProps() /// nested properties or additionalProperties are specified in the /// schema. This can either be true or undefined. False is /// forbidden. - public V1beta1JSONSchemaProps(string refProperty = default(string), string schema = default(string), object additionalItems = default(object), object additionalProperties = default(object), IList allOf = default(IList), IList anyOf = default(IList), object defaultProperty = default(object), IDictionary definitions = default(IDictionary), IDictionary dependencies = default(IDictionary), string description = default(string), IList enumProperty = default(IList), object example = default(object), bool? exclusiveMaximum = default(bool?), bool? exclusiveMinimum = default(bool?), V1beta1ExternalDocumentation externalDocs = default(V1beta1ExternalDocumentation), string format = default(string), string id = default(string), object items = default(object), long? maxItems = default(long?), long? maxLength = default(long?), long? maxProperties = default(long?), double? maximum = default(double?), long? minItems = default(long?), long? minLength = default(long?), long? minProperties = default(long?), double? minimum = default(double?), double? multipleOf = default(double?), V1beta1JSONSchemaProps not = default(V1beta1JSONSchemaProps), bool? nullable = default(bool?), IList oneOf = default(IList), string pattern = default(string), IDictionary patternProperties = default(IDictionary), IDictionary properties = default(IDictionary), IList required = default(IList), string title = default(string), string type = default(string), bool? uniqueItems = default(bool?), bool? xKubernetesEmbeddedResource = default(bool?), bool? xKubernetesIntOrString = default(bool?), IList xKubernetesListMapKeys = default(IList), string xKubernetesListType = default(string), bool? xKubernetesPreserveUnknownFields = default(bool?)) + public V1beta1JSONSchemaProps(string refProperty = default(string), string schema = default(string), object additionalItems = default(object), object additionalProperties = default(object), IList allOf = default(IList), IList anyOf = default(IList), object defaultProperty = default(object), IDictionary definitions = default(IDictionary), IDictionary dependencies = default(IDictionary), string description = default(string), IList enumProperty = default(IList), object example = default(object), bool? exclusiveMaximum = default(bool?), bool? exclusiveMinimum = default(bool?), V1beta1ExternalDocumentation externalDocs = default(V1beta1ExternalDocumentation), string format = default(string), string id = default(string), object items = default(object), long? maxItems = default(long?), long? maxLength = default(long?), long? maxProperties = default(long?), double? maximum = default(double?), long? minItems = default(long?), long? minLength = default(long?), long? minProperties = default(long?), double? minimum = default(double?), double? multipleOf = default(double?), V1beta1JSONSchemaProps not = default(V1beta1JSONSchemaProps), bool? nullable = default(bool?), IList oneOf = default(IList), string pattern = default(string), IDictionary patternProperties = default(IDictionary), IDictionary properties = default(IDictionary), IList required = default(IList), string title = default(string), string type = default(string), bool? uniqueItems = default(bool?), bool? xKubernetesEmbeddedResource = default(bool?), bool? xKubernetesIntOrString = default(bool?), IList xKubernetesListMapKeys = default(IList), string xKubernetesListType = default(string), string xKubernetesMapType = default(string), bool? xKubernetesPreserveUnknownFields = default(bool?)) { RefProperty = refProperty; Schema = schema; @@ -143,6 +197,7 @@ public V1beta1JSONSchemaProps() XKubernetesIntOrString = xKubernetesIntOrString; XKubernetesListMapKeys = xKubernetesListMapKeys; XKubernetesListType = xKubernetesListType; + XKubernetesMapType = xKubernetesMapType; XKubernetesPreserveUnknownFields = xKubernetesPreserveUnknownFields; CustomInit(); } @@ -240,6 +295,42 @@ public V1beta1JSONSchemaProps() public V1beta1ExternalDocumentation ExternalDocs { get; set; } /// + /// Gets or sets format is an OpenAPI v3 format string. Unknown formats + /// are ignored. The following formats are validated: + /// + /// - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - + /// uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an + /// email address as parsed by Golang net/mail.ParseAddress - hostname: + /// a valid representation for an Internet host name, as defined by RFC + /// 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang + /// net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - + /// cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address + /// as parsed by Golang net.ParseMAC - uuid: an UUID that allows + /// uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ + /// - uuid3: an UUID3 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ + /// - uuid4: an UUID4 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ + /// - uuid5: an UUID5 that allows uppercase defined by the regex + /// (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ + /// - isbn: an ISBN10 or ISBN13 number string like "0321751043" or + /// "978-0321751041" - isbn10: an ISBN10 number string like + /// "0321751043" - isbn13: an ISBN13 number string like + /// "978-0321751041" - creditcard: a credit card number defined by the + /// regex + /// ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ + /// with any non digit characters mixed in - ssn: a U.S. social + /// security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - + /// hexcolor: an hexadecimal color code like "#FFFFFF: following the + /// regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color + /// code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary + /// data - password: any kind of string - date: a date string like + /// "2006-01-02" as defined by full-date in RFC3339 - duration: a + /// duration string like "22 ns" as parsed by Golang time.ParseDuration + /// or compatible with Scala duration format - datetime: a date time + /// string like "2014-12-15T19:30:20.000Z" as defined by date-time in + /// RFC3339. /// [JsonProperty(PropertyName = "format")] public string Format { get; set; } @@ -391,6 +482,9 @@ public V1beta1JSONSchemaProps() /// "x-kubernetes-list-type" extension set to "map". Also, the values /// specified for this attribute must be a scalar typed field of the /// child structure (no nesting is supported). + /// + /// The properties specified must either be required or have a default + /// value, to ensure those properties are present for all list items. /// [JsonProperty(PropertyName = "x-kubernetes-list-map-keys")] public IList XKubernetesListMapKeys { get; set; } @@ -406,7 +500,9 @@ public V1beta1JSONSchemaProps() /// 2) `set`: /// Sets are lists that must not have multiple items with the same /// value. Each - /// value must be a scalar (or another atomic type). + /// value must be a scalar, an object with x-kubernetes-map-type + /// `atomic` or an + /// array with x-kubernetes-list-type `atomic`. /// 3) `map`: /// These lists are like maps in that their elements have a non-index /// key @@ -417,6 +513,23 @@ public V1beta1JSONSchemaProps() [JsonProperty(PropertyName = "x-kubernetes-list-type")] public string XKubernetesListType { get; set; } + /// + /// Gets or sets x-kubernetes-map-type annotates an object to further + /// describe its topology. This extension must only be used when type + /// is object and may have 2 possible values: + /// + /// 1) `granular`: + /// These maps are actual maps (key-value pairs) and each fields are + /// independent + /// from each other (they can each be manipulated by separate actors). + /// This is + /// the default behaviour for all maps. + /// 2) `atomic`: the list is treated as a single entity, like a scalar. + /// Atomic maps will be entirely replaced when updated. + /// + [JsonProperty(PropertyName = "x-kubernetes-map-type")] + public string XKubernetesMapType { get; set; } + /// /// Gets or sets x-kubernetes-preserve-unknown-fields stops the API /// server decoding step from pruning fields which are not specified in diff --git a/src/KubernetesClient/generated/Models/V1beta1MutatingWebhook.cs b/src/KubernetesClient/generated/Models/V1beta1MutatingWebhook.cs index 3b8cd8637..7c8057394 100644 --- a/src/KubernetesClient/generated/Models/V1beta1MutatingWebhook.cs +++ b/src/KubernetesClient/generated/Models/V1beta1MutatingWebhook.cs @@ -154,7 +154,7 @@ public V1beta1MutatingWebhook() /// ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never /// called on admission requests for ValidatingWebhookConfiguration and /// MutatingWebhookConfiguration objects. - /// SideEffects states whether this webhookk + /// SideEffects states whether this webhook /// has side effects. Acceptable values are: Unknown, None, Some, /// NoneOnDryRun Webhooks with side effects MUST implement a /// reconciliation system, since a request may be rejected by a future @@ -355,7 +355,7 @@ public V1beta1MutatingWebhook() public IList Rules { get; set; } /// - /// Gets or sets sideEffects states whether this webhookk has side + /// Gets or sets sideEffects states whether this webhook has side /// effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun /// Webhooks with side effects MUST implement a reconciliation system, /// since a request may be rejected by a future step in the admission diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyEgressRule.cs b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyEgressRule.cs deleted file mode 100644 index be730a10b..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyEgressRule.cs +++ /dev/null @@ -1,85 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is - /// deprecated by networking/v1/NetworkPolicyEgressRule. - /// 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 partial class V1beta1NetworkPolicyEgressRule - { - /// - /// Initializes a new instance of the V1beta1NetworkPolicyEgressRule - /// class. - /// - public V1beta1NetworkPolicyEgressRule() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1NetworkPolicyEgressRule - /// class. - /// - /// 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. - /// 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 V1beta1NetworkPolicyEgressRule(IList ports = default(IList), IList to = default(IList)) - { - Ports = ports; - To = to; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "ports")] - public IList Ports { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "to")] - public IList To { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyIngressRule.cs b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyIngressRule.cs deleted file mode 100644 index d85fcb559..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyIngressRule.cs +++ /dev/null @@ -1,85 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is - /// deprecated by networking/v1/NetworkPolicyIngressRule. This - /// NetworkPolicyIngressRule matches traffic if and only if the traffic - /// matches both ports AND from. - /// - public partial class V1beta1NetworkPolicyIngressRule - { - /// - /// Initializes a new instance of the V1beta1NetworkPolicyIngressRule - /// class. - /// - public V1beta1NetworkPolicyIngressRule() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1NetworkPolicyIngressRule - /// class. - /// - /// 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 one item, - /// this rule allows traffic only if the traffic matches at least one - /// item in the from 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. - public V1beta1NetworkPolicyIngressRule(IList fromProperty = default(IList), IList ports = default(IList)) - { - FromProperty = fromProperty; - Ports = ports; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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 one item, this rule - /// allows traffic only if the traffic matches at least one item in the - /// from list. - /// - [JsonProperty(PropertyName = "from")] - public IList FromProperty { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "ports")] - public IList Ports { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyList.cs b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyList.cs deleted file mode 100644 index 2bf02f4c5..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyList.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated - /// by networking/v1/NetworkPolicyList. Network Policy List is a list of - /// NetworkPolicy objects. - /// - public partial class V1beta1NetworkPolicyList - { - /// - /// Initializes a new instance of the V1beta1NetworkPolicyList class. - /// - public V1beta1NetworkPolicyList() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1NetworkPolicyList class. - /// - /// Items is a list of schema objects. - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard list metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public V1beta1NetworkPolicyList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) - { - ApiVersion = apiVersion; - Items = items; - Kind = kind; - Metadata = metadata; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets items is a list of schema objects. - /// - [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard list metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// - [JsonProperty(PropertyName = "metadata")] - public V1ListMeta Metadata { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Items == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Items"); - } - if (Items != null) - { - foreach (var element in Items) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPeer.cs b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPeer.cs deleted file mode 100644 index 6e94d4ec3..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPeer.cs +++ /dev/null @@ -1,108 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated - /// by networking/v1/NetworkPolicyPeer. - /// - public partial class V1beta1NetworkPolicyPeer - { - /// - /// Initializes a new instance of the V1beta1NetworkPolicyPeer class. - /// - public V1beta1NetworkPolicyPeer() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1NetworkPolicyPeer class. - /// - /// IPBlock defines policy on a particular - /// IPBlock. If this field is set then neither of the other fields can - /// be. - /// Selects Namespaces using - /// cluster-scoped labels. This field follows standard label selector - /// semantics; if present but empty, it selects all namespaces. - /// - /// If PodSelector is also set, then the NetworkPolicyPeer as a whole - /// selects the Pods matching PodSelector in the Namespaces selected by - /// NamespaceSelector. Otherwise it selects all Pods in the Namespaces - /// selected by NamespaceSelector. - /// This is a label selector which selects - /// Pods. This field follows standard label selector semantics; if - /// present but empty, it selects all pods. - /// - /// If NamespaceSelector is also set, then the NetworkPolicyPeer as a - /// whole selects the Pods matching PodSelector in the Namespaces - /// selected by NamespaceSelector. Otherwise it selects the Pods - /// matching PodSelector in the policy's own Namespace. - public V1beta1NetworkPolicyPeer(V1beta1IPBlock ipBlock = default(V1beta1IPBlock), V1LabelSelector namespaceSelector = default(V1LabelSelector), V1LabelSelector podSelector = default(V1LabelSelector)) - { - IpBlock = ipBlock; - NamespaceSelector = namespaceSelector; - PodSelector = podSelector; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets iPBlock defines policy on a particular IPBlock. If - /// this field is set then neither of the other fields can be. - /// - [JsonProperty(PropertyName = "ipBlock")] - public V1beta1IPBlock IpBlock { get; set; } - - /// - /// Gets or sets selects Namespaces using cluster-scoped labels. This - /// field follows standard label selector semantics; if present but - /// empty, it selects all namespaces. - /// - /// If PodSelector is also set, then the NetworkPolicyPeer as a whole - /// selects the Pods matching PodSelector in the Namespaces selected by - /// NamespaceSelector. Otherwise it selects all Pods in the Namespaces - /// selected by NamespaceSelector. - /// - [JsonProperty(PropertyName = "namespaceSelector")] - public V1LabelSelector NamespaceSelector { get; set; } - - /// - /// Gets or sets this is a label selector which selects Pods. This - /// field follows standard label selector semantics; if present but - /// empty, it selects all pods. - /// - /// If NamespaceSelector is also set, then the NetworkPolicyPeer as a - /// whole selects the Pods matching PodSelector in the Namespaces - /// selected by NamespaceSelector. Otherwise it selects the Pods - /// matching PodSelector in the policy's own Namespace. - /// - [JsonProperty(PropertyName = "podSelector")] - public V1LabelSelector PodSelector { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (IpBlock != null) - { - IpBlock.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPort.cs b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPort.cs deleted file mode 100644 index 7108db16c..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicyPort.cs +++ /dev/null @@ -1,66 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated - /// by networking/v1/NetworkPolicyPort. - /// - public partial class V1beta1NetworkPolicyPort - { - /// - /// Initializes a new instance of the V1beta1NetworkPolicyPort class. - /// - public V1beta1NetworkPolicyPort() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1NetworkPolicyPort class. - /// - /// 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. - /// Optional. The protocol (TCP, UDP, or SCTP) - /// which traffic must match. If not specified, this field defaults to - /// TCP. - public V1beta1NetworkPolicyPort(IntstrIntOrString port = default(IntstrIntOrString), string protocol = default(string)) - { - Port = port; - Protocol = protocol; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "port")] - public IntstrIntOrString Port { get; set; } - - /// - /// Gets or sets optional. The protocol (TCP, UDP, or SCTP) which - /// traffic must match. If not specified, this field defaults to TCP. - /// - [JsonProperty(PropertyName = "protocol")] - public string Protocol { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicySpec.cs b/src/KubernetesClient/generated/Models/V1beta1NetworkPolicySpec.cs deleted file mode 100644 index 3af9f5c68..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1NetworkPolicySpec.cs +++ /dev/null @@ -1,152 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated - /// by networking/v1/NetworkPolicySpec. - /// - public partial class V1beta1NetworkPolicySpec - { - /// - /// Initializes a new instance of the V1beta1NetworkPolicySpec class. - /// - public V1beta1NetworkPolicySpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1NetworkPolicySpec class. - /// - /// 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. - /// 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 - /// 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). - /// 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 V1beta1NetworkPolicySpec(V1LabelSelector podSelector, IList egress = default(IList), IList ingress = default(IList), IList policyTypes = default(IList)) - { - Egress = egress; - Ingress = ingress; - PodSelector = podSelector; - PolicyTypes = policyTypes; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "egress")] - public IList Egress { get; set; } - - /// - /// Gets or sets 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). - /// - [JsonProperty(PropertyName = "ingress")] - public IList Ingress { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "podSelector")] - public V1LabelSelector PodSelector { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "policyTypes")] - public IList PolicyTypes { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (PodSelector == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "PodSelector"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1PodDisruptionBudgetStatus.cs b/src/KubernetesClient/generated/Models/V1beta1PodDisruptionBudgetStatus.cs index 20e7ea3f0..03c0d77f6 100644 --- a/src/KubernetesClient/generated/Models/V1beta1PodDisruptionBudgetStatus.cs +++ b/src/KubernetesClient/generated/Models/V1beta1PodDisruptionBudgetStatus.cs @@ -52,9 +52,9 @@ public V1beta1PodDisruptionBudgetStatus() /// number of entries in the map may indicate problems with pod /// deletions. /// 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. + /// when updating this PDB status. DisruptionsAllowed and other status + /// information is valid only if observedGeneration equals to PDB's + /// object generation. public V1beta1PodDisruptionBudgetStatus(int currentHealthy, int desiredHealthy, int disruptionsAllowed, int expectedPods, IDictionary disruptedPods = default(IDictionary), long? observedGeneration = default(long?)) { CurrentHealthy = currentHealthy; @@ -115,7 +115,7 @@ public V1beta1PodDisruptionBudgetStatus() /// /// Gets or sets most recent generation observed when updating this PDB - /// status. PodDisruptionsAllowed and other status informatio is valid + /// status. DisruptionsAllowed and other status information is valid /// only if observedGeneration equals to PDB's object generation. /// [JsonProperty(PropertyName = "observedGeneration")] diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicy.cs b/src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicy.cs similarity index 84% rename from src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicy.cs rename to src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicy.cs index 7a5a197ac..9f33a221c 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicy.cs +++ b/src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicy.cs @@ -13,20 +13,18 @@ namespace k8s.Models /// PodSecurityPolicy governs the ability to make requests that affect the /// Security Context that will be applied to a pod and container. /// - public partial class Policyv1beta1PodSecurityPolicy + public partial class V1beta1PodSecurityPolicy { /// - /// Initializes a new instance of the Policyv1beta1PodSecurityPolicy - /// class. + /// Initializes a new instance of the V1beta1PodSecurityPolicy class. /// - public Policyv1beta1PodSecurityPolicy() + public V1beta1PodSecurityPolicy() { CustomInit(); } /// - /// Initializes a new instance of the Policyv1beta1PodSecurityPolicy - /// class. + /// Initializes a new instance of the V1beta1PodSecurityPolicy class. /// /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized @@ -41,7 +39,7 @@ public Policyv1beta1PodSecurityPolicy() /// Standard object's metadata. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata /// spec defines the policy enforced. - public Policyv1beta1PodSecurityPolicy(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Policyv1beta1PodSecurityPolicySpec spec = default(Policyv1beta1PodSecurityPolicySpec)) + public V1beta1PodSecurityPolicy(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1PodSecurityPolicySpec spec = default(V1beta1PodSecurityPolicySpec)) { ApiVersion = apiVersion; Kind = kind; @@ -86,7 +84,7 @@ public Policyv1beta1PodSecurityPolicy() /// Gets or sets spec defines the policy enforced. /// [JsonProperty(PropertyName = "spec")] - public Policyv1beta1PodSecurityPolicySpec Spec { get; set; } + public V1beta1PodSecurityPolicySpec Spec { get; set; } /// /// Validate the object. diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicyList.cs b/src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicyList.cs similarity index 85% rename from src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicyList.cs rename to src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicyList.cs index 9ca59d5d9..7436ba5b5 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicyList.cs +++ b/src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicyList.cs @@ -15,20 +15,20 @@ namespace k8s.Models /// /// PodSecurityPolicyList is a list of PodSecurityPolicy objects. /// - public partial class Policyv1beta1PodSecurityPolicyList + public partial class V1beta1PodSecurityPolicyList { /// - /// Initializes a new instance of the - /// Policyv1beta1PodSecurityPolicyList class. + /// Initializes a new instance of the V1beta1PodSecurityPolicyList + /// class. /// - public Policyv1beta1PodSecurityPolicyList() + public V1beta1PodSecurityPolicyList() { CustomInit(); } /// - /// Initializes a new instance of the - /// Policyv1beta1PodSecurityPolicyList class. + /// Initializes a new instance of the V1beta1PodSecurityPolicyList + /// class. /// /// items is a list of schema objects. /// APIVersion defines the versioned schema of @@ -43,7 +43,7 @@ public Policyv1beta1PodSecurityPolicyList() /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds /// Standard list metadata. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public Policyv1beta1PodSecurityPolicyList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + public V1beta1PodSecurityPolicyList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; Items = items; @@ -71,7 +71,7 @@ public Policyv1beta1PodSecurityPolicyList() /// Gets or sets items is a list of schema objects. /// [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } + public IList Items { get; set; } /// /// Gets or sets kind is a string value representing the REST resource diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs b/src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicySpec.cs similarity index 86% rename from src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs rename to src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicySpec.cs index 1d967f280..8b6c2f52d 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs +++ b/src/KubernetesClient/generated/Models/V1beta1PodSecurityPolicySpec.cs @@ -15,20 +15,20 @@ namespace k8s.Models /// /// PodSecurityPolicySpec defines the policy enforced. /// - public partial class Policyv1beta1PodSecurityPolicySpec + public partial class V1beta1PodSecurityPolicySpec { /// - /// Initializes a new instance of the - /// Policyv1beta1PodSecurityPolicySpec class. + /// Initializes a new instance of the V1beta1PodSecurityPolicySpec + /// class. /// - public Policyv1beta1PodSecurityPolicySpec() + public V1beta1PodSecurityPolicySpec() { CustomInit(); } /// - /// Initializes a new instance of the - /// Policyv1beta1PodSecurityPolicySpec class. + /// Initializes a new instance of the V1beta1PodSecurityPolicySpec + /// class. /// /// fsGroup is the strategy that will dictate /// what fs group is used by the SecurityContext. @@ -123,7 +123,7 @@ public Policyv1beta1PodSecurityPolicySpec() /// volumes is a white list of allowed volume /// plugins. Empty indicates that no volumes may be used. To allow all /// volumes you may use '*'. - public Policyv1beta1PodSecurityPolicySpec(Policyv1beta1FSGroupStrategyOptions fsGroup, Policyv1beta1RunAsUserStrategyOptions runAsUser, Policyv1beta1SELinuxStrategyOptions seLinux, Policyv1beta1SupplementalGroupsStrategyOptions supplementalGroups, bool? allowPrivilegeEscalation = default(bool?), IList allowedCSIDrivers = default(IList), IList allowedCapabilities = default(IList), IList allowedFlexVolumes = default(IList), IList allowedHostPaths = default(IList), IList allowedProcMountTypes = default(IList), IList allowedUnsafeSysctls = default(IList), IList defaultAddCapabilities = default(IList), bool? defaultAllowPrivilegeEscalation = default(bool?), IList forbiddenSysctls = default(IList), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), IList hostPorts = default(IList), bool? privileged = default(bool?), bool? readOnlyRootFilesystem = default(bool?), IList requiredDropCapabilities = default(IList), Policyv1beta1RunAsGroupStrategyOptions runAsGroup = default(Policyv1beta1RunAsGroupStrategyOptions), Policyv1beta1RuntimeClassStrategyOptions runtimeClass = default(Policyv1beta1RuntimeClassStrategyOptions), IList volumes = default(IList)) + public V1beta1PodSecurityPolicySpec(V1beta1FSGroupStrategyOptions fsGroup, V1beta1RunAsUserStrategyOptions runAsUser, V1beta1SELinuxStrategyOptions seLinux, V1beta1SupplementalGroupsStrategyOptions supplementalGroups, bool? allowPrivilegeEscalation = default(bool?), IList allowedCSIDrivers = default(IList), IList allowedCapabilities = default(IList), IList allowedFlexVolumes = default(IList), IList allowedHostPaths = default(IList), IList allowedProcMountTypes = default(IList), IList allowedUnsafeSysctls = default(IList), IList defaultAddCapabilities = default(IList), bool? defaultAllowPrivilegeEscalation = default(bool?), IList forbiddenSysctls = default(IList), bool? hostIPC = default(bool?), bool? hostNetwork = default(bool?), bool? hostPID = default(bool?), IList hostPorts = default(IList), bool? privileged = default(bool?), bool? readOnlyRootFilesystem = default(bool?), IList requiredDropCapabilities = default(IList), V1beta1RunAsGroupStrategyOptions runAsGroup = default(V1beta1RunAsGroupStrategyOptions), V1beta1RuntimeClassStrategyOptions runtimeClass = default(V1beta1RuntimeClassStrategyOptions), IList volumes = default(IList)) { AllowPrivilegeEscalation = allowPrivilegeEscalation; AllowedCSIDrivers = allowedCSIDrivers; @@ -173,7 +173,7 @@ public Policyv1beta1PodSecurityPolicySpec() /// the API server enables the CSIInlineVolume feature gate. /// [JsonProperty(PropertyName = "allowedCSIDrivers")] - public IList AllowedCSIDrivers { get; set; } + public IList AllowedCSIDrivers { get; set; } /// /// Gets or sets allowedCapabilities is a list of capabilities that can @@ -192,14 +192,14 @@ public Policyv1beta1PodSecurityPolicySpec() /// Flexvolumes is allowed in the "volumes" field. /// [JsonProperty(PropertyName = "allowedFlexVolumes")] - public IList AllowedFlexVolumes { get; set; } + public IList AllowedFlexVolumes { get; set; } /// /// Gets or sets allowedHostPaths is a white list of allowed host /// paths. Empty indicates that all host paths may be used. /// [JsonProperty(PropertyName = "allowedHostPaths")] - public IList AllowedHostPaths { get; set; } + public IList AllowedHostPaths { get; set; } /// /// Gets or sets allowedProcMountTypes is a whitelist of allowed @@ -260,7 +260,7 @@ public Policyv1beta1PodSecurityPolicySpec() /// group is used by the SecurityContext. /// [JsonProperty(PropertyName = "fsGroup")] - public Policyv1beta1FSGroupStrategyOptions FsGroup { get; set; } + public V1beta1FSGroupStrategyOptions FsGroup { get; set; } /// /// Gets or sets hostIPC determines if the policy allows the use of @@ -288,7 +288,7 @@ public Policyv1beta1PodSecurityPolicySpec() /// allowed to be exposed. /// [JsonProperty(PropertyName = "hostPorts")] - public IList HostPorts { get; set; } + public IList HostPorts { get; set; } /// /// Gets or sets privileged determines if a pod can request to be run @@ -323,14 +323,14 @@ public Policyv1beta1PodSecurityPolicySpec() /// requires the RunAsGroup feature gate to be enabled. /// [JsonProperty(PropertyName = "runAsGroup")] - public Policyv1beta1RunAsGroupStrategyOptions RunAsGroup { get; set; } + public V1beta1RunAsGroupStrategyOptions RunAsGroup { get; set; } /// /// Gets or sets runAsUser is the strategy that will dictate the /// allowable RunAsUser values that may be set. /// [JsonProperty(PropertyName = "runAsUser")] - public Policyv1beta1RunAsUserStrategyOptions RunAsUser { get; set; } + public V1beta1RunAsUserStrategyOptions RunAsUser { get; set; } /// /// Gets or sets runtimeClass is the strategy that will dictate the @@ -339,21 +339,21 @@ public Policyv1beta1PodSecurityPolicySpec() /// field depends on the RuntimeClass feature gate being enabled. /// [JsonProperty(PropertyName = "runtimeClass")] - public Policyv1beta1RuntimeClassStrategyOptions RuntimeClass { get; set; } + public V1beta1RuntimeClassStrategyOptions RuntimeClass { get; set; } /// /// Gets or sets seLinux is the strategy that will dictate the /// allowable labels that may be set. /// [JsonProperty(PropertyName = "seLinux")] - public Policyv1beta1SELinuxStrategyOptions SeLinux { get; set; } + public V1beta1SELinuxStrategyOptions SeLinux { get; set; } /// /// Gets or sets supplementalGroups is the strategy that will dictate /// what supplemental groups are used by the SecurityContext. /// [JsonProperty(PropertyName = "supplementalGroups")] - public Policyv1beta1SupplementalGroupsStrategyOptions SupplementalGroups { get; set; } + public V1beta1SupplementalGroupsStrategyOptions SupplementalGroups { get; set; } /// /// Gets or sets volumes is a white list of allowed volume plugins. diff --git a/src/KubernetesClient/generated/Models/V1beta1ReplicaSet.cs b/src/KubernetesClient/generated/Models/V1beta1ReplicaSet.cs deleted file mode 100644 index c997bc86f..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1ReplicaSet.cs +++ /dev/null @@ -1,131 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED - This group version of ReplicaSet is deprecated by - /// apps/v1beta2/ReplicaSet. See the release notes for more information. - /// ReplicaSet ensures that a specified number of pod replicas are running - /// at any given time. - /// - public partial class V1beta1ReplicaSet - { - /// - /// Initializes a new instance of the V1beta1ReplicaSet class. - /// - public V1beta1ReplicaSet() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1ReplicaSet class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// 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/sig-architecture/api-conventions.md#metadata - /// Spec defines the specification of the desired - /// behavior of the ReplicaSet. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#spec-and-status - public V1beta1ReplicaSet(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1ReplicaSetSpec spec = default(V1beta1ReplicaSetSpec), V1beta1ReplicaSetStatus status = default(V1beta1ReplicaSetStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets 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/sig-architecture/api-conventions.md#metadata - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets spec defines the specification of the desired behavior - /// of the ReplicaSet. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - /// - [JsonProperty(PropertyName = "spec")] - public V1beta1ReplicaSetSpec Spec { get; set; } - - /// - /// Gets or sets 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/sig-architecture/api-conventions.md#spec-and-status - /// - [JsonProperty(PropertyName = "status")] - public V1beta1ReplicaSetStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Spec != null) - { - Spec.Validate(); - } - if (Status != null) - { - Status.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1ReplicaSetCondition.cs b/src/KubernetesClient/generated/Models/V1beta1ReplicaSetCondition.cs deleted file mode 100644 index 41c25a833..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1ReplicaSetCondition.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// ReplicaSetCondition describes the state of a replica set at a certain - /// point. - /// - public partial class V1beta1ReplicaSetCondition - { - /// - /// Initializes a new instance of the V1beta1ReplicaSetCondition class. - /// - public V1beta1ReplicaSetCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1ReplicaSetCondition class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of replica set condition. - /// The last time the condition - /// transitioned from one status to another. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public V1beta1ReplicaSetCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the last time the condition transitioned from one - /// status to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of replica set condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1ReplicaSetList.cs b/src/KubernetesClient/generated/Models/V1beta1ReplicaSetList.cs deleted file mode 100644 index 175d78331..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1ReplicaSetList.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// ReplicaSetList is a collection of ReplicaSets. - /// - public partial class V1beta1ReplicaSetList - { - /// - /// Initializes a new instance of the V1beta1ReplicaSetList class. - /// - public V1beta1ReplicaSetList() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1ReplicaSetList class. - /// - /// List of ReplicaSets. More info: - /// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard list metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - public V1beta1ReplicaSetList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) - { - ApiVersion = apiVersion; - Items = items; - Kind = kind; - Metadata = metadata; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets list of ReplicaSets. More info: - /// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller - /// - [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard list metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "metadata")] - public V1ListMeta Metadata { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Items == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Items"); - } - if (Items != null) - { - foreach (var element in Items) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1ReplicaSetSpec.cs b/src/KubernetesClient/generated/Models/V1beta1ReplicaSetSpec.cs deleted file mode 100644 index d2e040b98..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1ReplicaSetSpec.cs +++ /dev/null @@ -1,110 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// ReplicaSetSpec is the specification of a ReplicaSet. - /// - public partial class V1beta1ReplicaSetSpec - { - /// - /// Initializes a new instance of the V1beta1ReplicaSetSpec class. - /// - public V1beta1ReplicaSetSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1ReplicaSetSpec class. - /// - /// 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) - /// 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 - /// 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 - /// 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 V1beta1ReplicaSetSpec(int? minReadySeconds = default(int?), int? replicas = default(int?), V1LabelSelector selector = default(V1LabelSelector), V1PodTemplateSpec template = default(V1PodTemplateSpec)) - { - MinReadySeconds = minReadySeconds; - Replicas = replicas; - Selector = selector; - Template = template; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "minReadySeconds")] - public int? MinReadySeconds { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Template != null) - { - Template.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1ReplicaSetStatus.cs b/src/KubernetesClient/generated/Models/V1beta1ReplicaSetStatus.cs deleted file mode 100644 index e27f3ca9e..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1ReplicaSetStatus.cs +++ /dev/null @@ -1,122 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// ReplicaSetStatus represents the current status of a ReplicaSet. - /// - public partial class V1beta1ReplicaSetStatus - { - /// - /// Initializes a new instance of the V1beta1ReplicaSetStatus class. - /// - public V1beta1ReplicaSetStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1ReplicaSetStatus class. - /// - /// Replicas is the most recently oberved number - /// of replicas. More info: - /// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - /// The number of available replicas - /// (ready for at least minReadySeconds) for this replica set. - /// Represents the latest available - /// observations of a replica set's current state. - /// The number of pods that have - /// labels matching the labels of the pod template of the - /// replicaset. - /// ObservedGeneration reflects the - /// generation of the most recently observed ReplicaSet. - /// The number of ready replicas for this - /// replica set. - public V1beta1ReplicaSetStatus(int replicas, int? availableReplicas = default(int?), IList conditions = default(IList), int? fullyLabeledReplicas = default(int?), long? observedGeneration = default(long?), int? readyReplicas = default(int?)) - { - AvailableReplicas = availableReplicas; - Conditions = conditions; - FullyLabeledReplicas = fullyLabeledReplicas; - ObservedGeneration = observedGeneration; - ReadyReplicas = readyReplicas; - Replicas = replicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the number of available replicas (ready for at least - /// minReadySeconds) for this replica set. - /// - [JsonProperty(PropertyName = "availableReplicas")] - public int? AvailableReplicas { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// replica set's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets the number of pods that have labels matching the - /// labels of the pod template of the replicaset. - /// - [JsonProperty(PropertyName = "fullyLabeledReplicas")] - public int? FullyLabeledReplicas { get; set; } - - /// - /// Gets or sets observedGeneration reflects the generation of the most - /// recently observed ReplicaSet. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets the number of ready replicas for this replica set. - /// - [JsonProperty(PropertyName = "readyReplicas")] - public int? ReadyReplicas { get; set; } - - /// - /// Gets or sets replicas is the most recently oberved number of - /// replicas. More info: - /// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - /// - [JsonProperty(PropertyName = "replicas")] - public int Replicas { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Conditions != null) - { - foreach (var element in Conditions) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1Role.cs b/src/KubernetesClient/generated/Models/V1beta1Role.cs index ad7481280..fe06e6f1f 100644 --- a/src/KubernetesClient/generated/Models/V1beta1Role.cs +++ b/src/KubernetesClient/generated/Models/V1beta1Role.cs @@ -13,7 +13,9 @@ namespace k8s.Models /// /// Role is a namespaced, logical grouping of PolicyRules that can be - /// referenced as a unit by a RoleBinding. + /// referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of + /// rbac.authorization.k8s.io/v1 Role, and will no longer be served in + /// v1.20. /// public partial class V1beta1Role { diff --git a/src/KubernetesClient/generated/Models/V1beta1RoleBinding.cs b/src/KubernetesClient/generated/Models/V1beta1RoleBinding.cs index efd5f0c5c..835ce19a3 100644 --- a/src/KubernetesClient/generated/Models/V1beta1RoleBinding.cs +++ b/src/KubernetesClient/generated/Models/V1beta1RoleBinding.cs @@ -17,7 +17,9 @@ namespace k8s.Models /// 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. + /// namespace only have effect in that namespace. Deprecated in v1.17 in + /// favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer + /// be served in v1.20. /// public partial class V1beta1RoleBinding { diff --git a/src/KubernetesClient/generated/Models/V1beta1RoleBindingList.cs b/src/KubernetesClient/generated/Models/V1beta1RoleBindingList.cs index d0477a013..6562fe206 100644 --- a/src/KubernetesClient/generated/Models/V1beta1RoleBindingList.cs +++ b/src/KubernetesClient/generated/Models/V1beta1RoleBindingList.cs @@ -13,7 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// RoleBindingList is a collection of RoleBindings + /// RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in + /// favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no + /// longer be served in v1.20. /// public partial class V1beta1RoleBindingList { diff --git a/src/KubernetesClient/generated/Models/V1beta1RoleList.cs b/src/KubernetesClient/generated/Models/V1beta1RoleList.cs index 35408f2db..7931153a7 100644 --- a/src/KubernetesClient/generated/Models/V1beta1RoleList.cs +++ b/src/KubernetesClient/generated/Models/V1beta1RoleList.cs @@ -13,7 +13,9 @@ namespace k8s.Models using System.Linq; /// - /// RoleList is a collection of Roles + /// RoleList is a collection of Roles Deprecated in v1.17 in favor of + /// rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in + /// v1.20. /// public partial class V1beta1RoleList { diff --git a/src/KubernetesClient/generated/Models/V1beta1RollingUpdateDaemonSet.cs b/src/KubernetesClient/generated/Models/V1beta1RollingUpdateDaemonSet.cs deleted file mode 100644 index d1c4a5d1c..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1RollingUpdateDaemonSet.cs +++ /dev/null @@ -1,75 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Spec to control the desired behavior of daemon set rolling update. - /// - public partial class V1beta1RollingUpdateDaemonSet - { - /// - /// Initializes a new instance of the V1beta1RollingUpdateDaemonSet - /// class. - /// - public V1beta1RollingUpdateDaemonSet() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1RollingUpdateDaemonSet - /// class. - /// - /// 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 V1beta1RollingUpdateDaemonSet(IntstrIntOrString maxUnavailable = default(IntstrIntOrString)) - { - MaxUnavailable = maxUnavailable; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "maxUnavailable")] - public IntstrIntOrString MaxUnavailable { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1RollingUpdateStatefulSetStrategy.cs b/src/KubernetesClient/generated/Models/V1beta1RollingUpdateStatefulSetStrategy.cs deleted file mode 100644 index 6b4c04f31..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1RollingUpdateStatefulSetStrategy.cs +++ /dev/null @@ -1,52 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// RollingUpdateStatefulSetStrategy is used to communicate parameter for - /// RollingUpdateStatefulSetStrategyType. - /// - public partial class V1beta1RollingUpdateStatefulSetStrategy - { - /// - /// Initializes a new instance of the - /// V1beta1RollingUpdateStatefulSetStrategy class. - /// - public V1beta1RollingUpdateStatefulSetStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// V1beta1RollingUpdateStatefulSetStrategy class. - /// - /// Partition indicates the ordinal at which - /// the StatefulSet should be partitioned. - public V1beta1RollingUpdateStatefulSetStrategy(int? partition = default(int?)) - { - Partition = partition; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets partition indicates the ordinal at which the - /// StatefulSet should be partitioned. - /// - [JsonProperty(PropertyName = "partition")] - public int? Partition { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1RunAsGroupStrategyOptions.cs b/src/KubernetesClient/generated/Models/V1beta1RunAsGroupStrategyOptions.cs similarity index 80% rename from src/KubernetesClient/generated/Models/Policyv1beta1RunAsGroupStrategyOptions.cs rename to src/KubernetesClient/generated/Models/V1beta1RunAsGroupStrategyOptions.cs index fa81ddf97..3968ccc32 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1RunAsGroupStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/V1beta1RunAsGroupStrategyOptions.cs @@ -16,20 +16,20 @@ namespace k8s.Models /// RunAsGroupStrategyOptions defines the strategy type and any options /// used to create the strategy. /// - public partial class Policyv1beta1RunAsGroupStrategyOptions + public partial class V1beta1RunAsGroupStrategyOptions { /// - /// Initializes a new instance of the - /// Policyv1beta1RunAsGroupStrategyOptions class. + /// Initializes a new instance of the V1beta1RunAsGroupStrategyOptions + /// class. /// - public Policyv1beta1RunAsGroupStrategyOptions() + public V1beta1RunAsGroupStrategyOptions() { CustomInit(); } /// - /// Initializes a new instance of the - /// Policyv1beta1RunAsGroupStrategyOptions class. + /// Initializes a new instance of the V1beta1RunAsGroupStrategyOptions + /// class. /// /// rule is the strategy that will dictate the /// allowable RunAsGroup values that may be set. @@ -37,7 +37,7 @@ public Policyv1beta1RunAsGroupStrategyOptions() /// be used. If you would like to force a single gid then supply a /// single range with the same start and end. Required for /// MustRunAs. - public Policyv1beta1RunAsGroupStrategyOptions(string rule, IList ranges = default(IList)) + public V1beta1RunAsGroupStrategyOptions(string rule, IList ranges = default(IList)) { Ranges = ranges; Rule = rule; @@ -55,7 +55,7 @@ public Policyv1beta1RunAsGroupStrategyOptions() /// range with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } + public IList Ranges { get; set; } /// /// Gets or sets rule is the strategy that will dictate the allowable diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs b/src/KubernetesClient/generated/Models/V1beta1RunAsUserStrategyOptions.cs similarity index 80% rename from src/KubernetesClient/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs rename to src/KubernetesClient/generated/Models/V1beta1RunAsUserStrategyOptions.cs index 53bc748e8..85bd5051c 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/V1beta1RunAsUserStrategyOptions.cs @@ -16,20 +16,20 @@ namespace k8s.Models /// RunAsUserStrategyOptions defines the strategy type and any options used /// to create the strategy. /// - public partial class Policyv1beta1RunAsUserStrategyOptions + public partial class V1beta1RunAsUserStrategyOptions { /// - /// Initializes a new instance of the - /// Policyv1beta1RunAsUserStrategyOptions class. + /// Initializes a new instance of the V1beta1RunAsUserStrategyOptions + /// class. /// - public Policyv1beta1RunAsUserStrategyOptions() + public V1beta1RunAsUserStrategyOptions() { CustomInit(); } /// - /// Initializes a new instance of the - /// Policyv1beta1RunAsUserStrategyOptions class. + /// Initializes a new instance of the V1beta1RunAsUserStrategyOptions + /// class. /// /// rule is the strategy that will dictate the /// allowable RunAsUser values that may be set. @@ -37,7 +37,7 @@ public Policyv1beta1RunAsUserStrategyOptions() /// be used. If you would like to force a single uid then supply a /// single range with the same start and end. Required for /// MustRunAs. - public Policyv1beta1RunAsUserStrategyOptions(string rule, IList ranges = default(IList)) + public V1beta1RunAsUserStrategyOptions(string rule, IList ranges = default(IList)) { Ranges = ranges; Rule = rule; @@ -55,7 +55,7 @@ public Policyv1beta1RunAsUserStrategyOptions() /// range with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } + public IList Ranges { get; set; } /// /// Gets or sets rule is the strategy that will dictate the allowable diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1RuntimeClassStrategyOptions.cs b/src/KubernetesClient/generated/Models/V1beta1RuntimeClassStrategyOptions.cs similarity index 86% rename from src/KubernetesClient/generated/Models/Policyv1beta1RuntimeClassStrategyOptions.cs rename to src/KubernetesClient/generated/Models/V1beta1RuntimeClassStrategyOptions.cs index f6e54ab16..08939fe56 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1RuntimeClassStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/V1beta1RuntimeClassStrategyOptions.cs @@ -16,20 +16,20 @@ namespace k8s.Models /// RuntimeClassStrategyOptions define the strategy that will dictate the /// allowable RuntimeClasses for a pod. /// - public partial class Policyv1beta1RuntimeClassStrategyOptions + public partial class V1beta1RuntimeClassStrategyOptions { /// /// Initializes a new instance of the - /// Policyv1beta1RuntimeClassStrategyOptions class. + /// V1beta1RuntimeClassStrategyOptions class. /// - public Policyv1beta1RuntimeClassStrategyOptions() + public V1beta1RuntimeClassStrategyOptions() { CustomInit(); } /// /// Initializes a new instance of the - /// Policyv1beta1RuntimeClassStrategyOptions class. + /// V1beta1RuntimeClassStrategyOptions class. /// /// allowedRuntimeClassNames is /// a whitelist of RuntimeClass names that may be specified on a pod. A @@ -40,7 +40,7 @@ public Policyv1beta1RuntimeClassStrategyOptions() /// the default RuntimeClassName to set on the pod. The default MUST be /// allowed by the allowedRuntimeClassNames list. A value of nil does /// not mutate the Pod. - public Policyv1beta1RuntimeClassStrategyOptions(IList allowedRuntimeClassNames, string defaultRuntimeClassName = default(string)) + public V1beta1RuntimeClassStrategyOptions(IList allowedRuntimeClassNames, string defaultRuntimeClassName = default(string)) { AllowedRuntimeClassNames = allowedRuntimeClassNames; DefaultRuntimeClassName = defaultRuntimeClassName; diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs b/src/KubernetesClient/generated/Models/V1beta1SELinuxStrategyOptions.cs similarity index 81% rename from src/KubernetesClient/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs rename to src/KubernetesClient/generated/Models/V1beta1SELinuxStrategyOptions.cs index aa10683cb..534315443 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/V1beta1SELinuxStrategyOptions.cs @@ -14,27 +14,27 @@ namespace k8s.Models /// SELinuxStrategyOptions defines the strategy type and any options used /// to create the strategy. /// - public partial class Policyv1beta1SELinuxStrategyOptions + public partial class V1beta1SELinuxStrategyOptions { /// - /// Initializes a new instance of the - /// Policyv1beta1SELinuxStrategyOptions class. + /// Initializes a new instance of the V1beta1SELinuxStrategyOptions + /// class. /// - public Policyv1beta1SELinuxStrategyOptions() + public V1beta1SELinuxStrategyOptions() { CustomInit(); } /// - /// Initializes a new instance of the - /// Policyv1beta1SELinuxStrategyOptions class. + /// Initializes a new instance of the V1beta1SELinuxStrategyOptions + /// class. /// /// rule is the strategy that will dictate the /// allowable labels that may be set. /// seLinuxOptions required to run as; /// required for MustRunAs More info: /// https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ - public Policyv1beta1SELinuxStrategyOptions(string rule, V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions)) + public V1beta1SELinuxStrategyOptions(string rule, V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions)) { Rule = rule; SeLinuxOptions = seLinuxOptions; diff --git a/src/KubernetesClient/generated/Models/V1beta1StatefulSet.cs b/src/KubernetesClient/generated/Models/V1beta1StatefulSet.cs deleted file mode 100644 index 0bb05714f..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1StatefulSet.cs +++ /dev/null @@ -1,122 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// 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 partial class V1beta1StatefulSet - { - /// - /// Initializes a new instance of the V1beta1StatefulSet class. - /// - public V1beta1StatefulSet() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1StatefulSet class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Spec defines the desired identities of pods in - /// this set. - /// Status is the current status of Pods in this - /// StatefulSet. This data may be out of date by some window of - /// time. - public V1beta1StatefulSet(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1StatefulSetSpec spec = default(V1beta1StatefulSetSpec), V1beta1StatefulSetStatus status = default(V1beta1StatefulSetStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets spec defines the desired identities of pods in this - /// set. - /// - [JsonProperty(PropertyName = "spec")] - public V1beta1StatefulSetSpec Spec { get; set; } - - /// - /// Gets or sets status is the current status of Pods in this - /// StatefulSet. This data may be out of date by some window of time. - /// - [JsonProperty(PropertyName = "status")] - public V1beta1StatefulSetStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Spec != null) - { - Spec.Validate(); - } - if (Status != null) - { - Status.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1StatefulSetCondition.cs b/src/KubernetesClient/generated/Models/V1beta1StatefulSetCondition.cs deleted file mode 100644 index e5b9e8a05..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1StatefulSetCondition.cs +++ /dev/null @@ -1,106 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// StatefulSetCondition describes the state of a statefulset at a certain - /// point. - /// - public partial class V1beta1StatefulSetCondition - { - /// - /// Initializes a new instance of the V1beta1StatefulSetCondition - /// class. - /// - public V1beta1StatefulSetCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1StatefulSetCondition - /// class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of statefulset condition. - /// Last time the condition - /// transitioned from one status to another. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public V1beta1StatefulSetCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets last time the condition transitioned from one status - /// to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of statefulset condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1StatefulSetSpec.cs b/src/KubernetesClient/generated/Models/V1beta1StatefulSetSpec.cs deleted file mode 100644 index dc278fc62..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1StatefulSetSpec.cs +++ /dev/null @@ -1,208 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A StatefulSetSpec is the specification of a StatefulSet. - /// - public partial class V1beta1StatefulSetSpec - { - /// - /// Initializes a new instance of the V1beta1StatefulSetSpec class. - /// - public V1beta1StatefulSetSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1StatefulSetSpec class. - /// - /// 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 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. - /// 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. - /// 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. - /// 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. - /// 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 - /// updateStrategy indicates the - /// StatefulSetUpdateStrategy that will be employed to update Pods in - /// the StatefulSet when a revision is made to Template. - /// 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 V1beta1StatefulSetSpec(string serviceName, V1PodTemplateSpec template, string podManagementPolicy = default(string), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), V1LabelSelector selector = default(V1LabelSelector), V1beta1StatefulSetUpdateStrategy updateStrategy = default(V1beta1StatefulSetUpdateStrategy), IList volumeClaimTemplates = default(IList)) - { - PodManagementPolicy = podManagementPolicy; - Replicas = replicas; - RevisionHistoryLimit = revisionHistoryLimit; - Selector = selector; - ServiceName = serviceName; - Template = template; - UpdateStrategy = updateStrategy; - VolumeClaimTemplates = volumeClaimTemplates; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "podManagementPolicy")] - public string PodManagementPolicy { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "revisionHistoryLimit")] - public int? RevisionHistoryLimit { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "serviceName")] - public string ServiceName { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Gets or sets updateStrategy indicates the StatefulSetUpdateStrategy - /// that will be employed to update Pods in the StatefulSet when a - /// revision is made to Template. - /// - [JsonProperty(PropertyName = "updateStrategy")] - public V1beta1StatefulSetUpdateStrategy UpdateStrategy { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "volumeClaimTemplates")] - public IList VolumeClaimTemplates { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (ServiceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ServiceName"); - } - if (Template == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Template"); - } - if (Template != null) - { - Template.Validate(); - } - if (VolumeClaimTemplates != null) - { - foreach (var element in VolumeClaimTemplates) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1StatefulSetStatus.cs b/src/KubernetesClient/generated/Models/V1beta1StatefulSetStatus.cs deleted file mode 100644 index a77fca903..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1StatefulSetStatus.cs +++ /dev/null @@ -1,166 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// StatefulSetStatus represents the current state of a StatefulSet. - /// - public partial class V1beta1StatefulSetStatus - { - /// - /// Initializes a new instance of the V1beta1StatefulSetStatus class. - /// - public V1beta1StatefulSetStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1StatefulSetStatus class. - /// - /// replicas is the number of Pods created by - /// the StatefulSet controller. - /// 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. - /// Represents the latest available - /// observations of a statefulset's current state. - /// currentReplicas is the number of Pods - /// created by the StatefulSet controller from the StatefulSet version - /// indicated by currentRevision. - /// currentRevision, if not empty, - /// indicates the version of the StatefulSet used to generate Pods in - /// the sequence [0,currentReplicas). - /// 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. - /// readyReplicas is the number of Pods - /// created by the StatefulSet controller that have a Ready - /// Condition. - /// updateRevision, if not empty, - /// indicates the version of the StatefulSet used to generate Pods in - /// the sequence [replicas-updatedReplicas,replicas) - /// updatedReplicas is the number of Pods - /// created by the StatefulSet controller from the StatefulSet version - /// indicated by updateRevision. - public V1beta1StatefulSetStatus(int replicas, int? collisionCount = default(int?), IList conditions = default(IList), int? currentReplicas = default(int?), string currentRevision = default(string), long? observedGeneration = default(long?), int? readyReplicas = default(int?), string updateRevision = default(string), int? updatedReplicas = default(int?)) - { - CollisionCount = collisionCount; - Conditions = conditions; - CurrentReplicas = currentReplicas; - CurrentRevision = currentRevision; - ObservedGeneration = observedGeneration; - ReadyReplicas = readyReplicas; - Replicas = replicas; - UpdateRevision = updateRevision; - UpdatedReplicas = updatedReplicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "collisionCount")] - public int? CollisionCount { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// statefulset's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets currentReplicas is the number of Pods created by the - /// StatefulSet controller from the StatefulSet version indicated by - /// currentRevision. - /// - [JsonProperty(PropertyName = "currentReplicas")] - public int? CurrentReplicas { get; set; } - - /// - /// Gets or sets currentRevision, if not empty, indicates the version - /// of the StatefulSet used to generate Pods in the sequence - /// [0,currentReplicas). - /// - [JsonProperty(PropertyName = "currentRevision")] - public string CurrentRevision { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets readyReplicas is the number of Pods created by the - /// StatefulSet controller that have a Ready Condition. - /// - [JsonProperty(PropertyName = "readyReplicas")] - public int? ReadyReplicas { get; set; } - - /// - /// Gets or sets replicas is the number of Pods created by the - /// StatefulSet controller. - /// - [JsonProperty(PropertyName = "replicas")] - public int Replicas { get; set; } - - /// - /// Gets or sets updateRevision, if not empty, indicates the version of - /// the StatefulSet used to generate Pods in the sequence - /// [replicas-updatedReplicas,replicas) - /// - [JsonProperty(PropertyName = "updateRevision")] - public string UpdateRevision { get; set; } - - /// - /// Gets or sets updatedReplicas is the number of Pods created by the - /// StatefulSet controller from the StatefulSet version indicated by - /// updateRevision. - /// - [JsonProperty(PropertyName = "updatedReplicas")] - public int? UpdatedReplicas { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Conditions != null) - { - foreach (var element in Conditions) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta1StatefulSetUpdateStrategy.cs b/src/KubernetesClient/generated/Models/V1beta1StatefulSetUpdateStrategy.cs deleted file mode 100644 index 73dbaa631..000000000 --- a/src/KubernetesClient/generated/Models/V1beta1StatefulSetUpdateStrategy.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// 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 partial class V1beta1StatefulSetUpdateStrategy - { - /// - /// Initializes a new instance of the V1beta1StatefulSetUpdateStrategy - /// class. - /// - public V1beta1StatefulSetUpdateStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta1StatefulSetUpdateStrategy - /// class. - /// - /// RollingUpdate is used to communicate - /// parameters when Type is - /// RollingUpdateStatefulSetStrategyType. - /// Type indicates the type of the - /// StatefulSetUpdateStrategy. - public V1beta1StatefulSetUpdateStrategy(V1beta1RollingUpdateStatefulSetStrategy rollingUpdate = default(V1beta1RollingUpdateStatefulSetStrategy), string type = default(string)) - { - RollingUpdate = rollingUpdate; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets rollingUpdate is used to communicate parameters when - /// Type is RollingUpdateStatefulSetStrategyType. - /// - [JsonProperty(PropertyName = "rollingUpdate")] - public V1beta1RollingUpdateStatefulSetStrategy RollingUpdate { get; set; } - - /// - /// Gets or sets type indicates the type of the - /// StatefulSetUpdateStrategy. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs b/src/KubernetesClient/generated/Models/V1beta1SupplementalGroupsStrategyOptions.cs similarity index 78% rename from src/KubernetesClient/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs rename to src/KubernetesClient/generated/Models/V1beta1SupplementalGroupsStrategyOptions.cs index 22777fc8a..9acfc9076 100644 --- a/src/KubernetesClient/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs +++ b/src/KubernetesClient/generated/Models/V1beta1SupplementalGroupsStrategyOptions.cs @@ -15,20 +15,20 @@ namespace k8s.Models /// SupplementalGroupsStrategyOptions defines the strategy type and options /// used to create the strategy. /// - public partial class Policyv1beta1SupplementalGroupsStrategyOptions + public partial class V1beta1SupplementalGroupsStrategyOptions { /// /// Initializes a new instance of the - /// Policyv1beta1SupplementalGroupsStrategyOptions class. + /// V1beta1SupplementalGroupsStrategyOptions class. /// - public Policyv1beta1SupplementalGroupsStrategyOptions() + public V1beta1SupplementalGroupsStrategyOptions() { CustomInit(); } /// /// Initializes a new instance of the - /// Policyv1beta1SupplementalGroupsStrategyOptions class. + /// V1beta1SupplementalGroupsStrategyOptions class. /// /// ranges are the allowed ranges of supplemental /// groups. If you would like to force a single supplemental group @@ -36,7 +36,7 @@ public Policyv1beta1SupplementalGroupsStrategyOptions() /// for MustRunAs. /// rule is the strategy that will dictate what /// supplemental groups is used in the SecurityContext. - public Policyv1beta1SupplementalGroupsStrategyOptions(IList ranges = default(IList), string rule = default(string)) + public V1beta1SupplementalGroupsStrategyOptions(IList ranges = default(IList), string rule = default(string)) { Ranges = ranges; Rule = rule; @@ -54,7 +54,7 @@ public Policyv1beta1SupplementalGroupsStrategyOptions() /// a single range with the same start and end. Required for MustRunAs. /// [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } + public IList Ranges { get; set; } /// /// Gets or sets rule is the strategy that will dictate what diff --git a/src/KubernetesClient/generated/Models/V1beta1ValidatingWebhook.cs b/src/KubernetesClient/generated/Models/V1beta1ValidatingWebhook.cs index 8ebfcc1bc..0410c7191 100644 --- a/src/KubernetesClient/generated/Models/V1beta1ValidatingWebhook.cs +++ b/src/KubernetesClient/generated/Models/V1beta1ValidatingWebhook.cs @@ -132,7 +132,7 @@ public V1beta1ValidatingWebhook() /// ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never /// called on admission requests for ValidatingWebhookConfiguration and /// MutatingWebhookConfiguration objects. - /// SideEffects states whether this webhookk + /// SideEffects states whether this webhook /// has side effects. Acceptable values are: Unknown, None, Some, /// NoneOnDryRun Webhooks with side effects MUST implement a /// reconciliation system, since a request may be rejected by a future @@ -306,7 +306,7 @@ public V1beta1ValidatingWebhook() public IList Rules { get; set; } /// - /// Gets or sets sideEffects states whether this webhookk has side + /// Gets or sets sideEffects states whether this webhook has side /// effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun /// Webhooks with side effects MUST implement a reconciliation system, /// since a request may be rejected by a future step in the admission diff --git a/src/KubernetesClient/generated/Models/V1beta2ControllerRevision.cs b/src/KubernetesClient/generated/Models/V1beta2ControllerRevision.cs deleted file mode 100644 index 3419153f9..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ControllerRevision.cs +++ /dev/null @@ -1,121 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED - This group version of ControllerRevision is deprecated by - /// apps/v1/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 partial class V1beta2ControllerRevision - { - /// - /// Initializes a new instance of the V1beta2ControllerRevision class. - /// - public V1beta2ControllerRevision() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ControllerRevision class. - /// - /// Revision indicates the revision of the state - /// represented by Data. - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Data is the serialized representation of the - /// state. - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public V1beta2ControllerRevision(long revision, string apiVersion = default(string), object data = default(object), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) - { - ApiVersion = apiVersion; - Data = data; - Kind = kind; - Metadata = metadata; - Revision = revision; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets data is the serialized representation of the state. - /// - [JsonProperty(PropertyName = "data")] - public object Data { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets revision indicates the revision of the state - /// represented by Data. - /// - [JsonProperty(PropertyName = "revision")] - public long Revision { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2ControllerRevisionList.cs b/src/KubernetesClient/generated/Models/V1beta2ControllerRevisionList.cs deleted file mode 100644 index fef96935a..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ControllerRevisionList.cs +++ /dev/null @@ -1,119 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// ControllerRevisionList is a resource containing a list of - /// ControllerRevision objects. - /// - public partial class V1beta2ControllerRevisionList - { - /// - /// Initializes a new instance of the V1beta2ControllerRevisionList - /// class. - /// - public V1beta2ControllerRevisionList() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ControllerRevisionList - /// class. - /// - /// Items is the list of - /// ControllerRevisions - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - public V1beta2ControllerRevisionList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) - { - ApiVersion = apiVersion; - Items = items; - Kind = kind; - Metadata = metadata; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets items is the list of ControllerRevisions - /// - [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets more info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// - [JsonProperty(PropertyName = "metadata")] - public V1ListMeta Metadata { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Items == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Items"); - } - if (Items != null) - { - foreach (var element in Items) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DaemonSet.cs b/src/KubernetesClient/generated/Models/V1beta2DaemonSet.cs deleted file mode 100644 index c283dae5e..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DaemonSet.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED - This group version of DaemonSet is deprecated by - /// apps/v1/DaemonSet. See the release notes for more information. - /// DaemonSet represents the configuration of a daemon set. - /// - public partial class V1beta2DaemonSet - { - /// - /// Initializes a new instance of the V1beta2DaemonSet class. - /// - public V1beta2DaemonSet() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DaemonSet class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// The desired behavior of this daemon set. More - /// info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#spec-and-status - public V1beta2DaemonSet(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta2DaemonSetSpec spec = default(V1beta2DaemonSetSpec), V1beta2DaemonSetStatus status = default(V1beta2DaemonSetStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object's metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets the desired behavior of this daemon set. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - /// - [JsonProperty(PropertyName = "spec")] - public V1beta2DaemonSetSpec Spec { get; set; } - - /// - /// Gets or sets 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/sig-architecture/api-conventions.md#spec-and-status - /// - [JsonProperty(PropertyName = "status")] - public V1beta2DaemonSetStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Spec != null) - { - Spec.Validate(); - } - if (Status != null) - { - Status.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DaemonSetCondition.cs b/src/KubernetesClient/generated/Models/V1beta2DaemonSetCondition.cs deleted file mode 100644 index ba993c2fe..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DaemonSetCondition.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DaemonSetCondition describes the state of a DaemonSet at a certain - /// point. - /// - public partial class V1beta2DaemonSetCondition - { - /// - /// Initializes a new instance of the V1beta2DaemonSetCondition class. - /// - public V1beta2DaemonSetCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DaemonSetCondition class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of DaemonSet condition. - /// Last time the condition - /// transitioned from one status to another. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public V1beta2DaemonSetCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets last time the condition transitioned from one status - /// to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of DaemonSet condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DaemonSetSpec.cs b/src/KubernetesClient/generated/Models/V1beta2DaemonSetSpec.cs deleted file mode 100644 index 5528e2fd1..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DaemonSetSpec.cs +++ /dev/null @@ -1,128 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DaemonSetSpec is the specification of a daemon set. - /// - public partial class V1beta2DaemonSetSpec - { - /// - /// Initializes a new instance of the V1beta2DaemonSetSpec class. - /// - public V1beta2DaemonSetSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DaemonSetSpec class. - /// - /// A label query over pods that are managed by - /// the daemon set. Must match in order to be controlled. It must match - /// the pod template's labels. More info: - /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - /// 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 - /// 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). - /// 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. - /// An update strategy to replace existing - /// DaemonSet pods with new pods. - public V1beta2DaemonSetSpec(V1LabelSelector selector, V1PodTemplateSpec template, int? minReadySeconds = default(int?), int? revisionHistoryLimit = default(int?), V1beta2DaemonSetUpdateStrategy updateStrategy = default(V1beta2DaemonSetUpdateStrategy)) - { - MinReadySeconds = minReadySeconds; - RevisionHistoryLimit = revisionHistoryLimit; - Selector = selector; - Template = template; - UpdateStrategy = updateStrategy; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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). - /// - [JsonProperty(PropertyName = "minReadySeconds")] - public int? MinReadySeconds { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "revisionHistoryLimit")] - public int? RevisionHistoryLimit { get; set; } - - /// - /// Gets or sets a label query over pods that are managed by the daemon - /// set. Must match in order to be controlled. It must match the pod - /// template's labels. More info: - /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Gets or sets an update strategy to replace existing DaemonSet pods - /// with new pods. - /// - [JsonProperty(PropertyName = "updateStrategy")] - public V1beta2DaemonSetUpdateStrategy UpdateStrategy { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Selector == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Selector"); - } - if (Template == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Template"); - } - if (Template != null) - { - Template.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DaemonSetStatus.cs b/src/KubernetesClient/generated/Models/V1beta2DaemonSetStatus.cs deleted file mode 100644 index e998245ee..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DaemonSetStatus.cs +++ /dev/null @@ -1,180 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DaemonSetStatus represents the current status of a daemon set. - /// - public partial class V1beta2DaemonSetStatus - { - /// - /// Initializes a new instance of the V1beta2DaemonSetStatus class. - /// - public V1beta2DaemonSetStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DaemonSetStatus class. - /// - /// 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/ - /// 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/ - /// 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/ - /// The number of nodes that should be - /// running the daemon pod and have one or more of the daemon pod - /// running and ready. - /// 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. - /// Represents the latest available - /// observations of a DaemonSet's current state. - /// 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) - /// 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) - /// The most recent generation - /// observed by the daemon set controller. - /// The total number of nodes that - /// are running updated daemon pod - public V1beta2DaemonSetStatus(int currentNumberScheduled, int desiredNumberScheduled, int numberMisscheduled, int numberReady, int? collisionCount = default(int?), IList conditions = default(IList), int? numberAvailable = default(int?), int? numberUnavailable = default(int?), long? observedGeneration = default(long?), int? updatedNumberScheduled = default(int?)) - { - CollisionCount = collisionCount; - Conditions = conditions; - CurrentNumberScheduled = currentNumberScheduled; - DesiredNumberScheduled = desiredNumberScheduled; - NumberAvailable = numberAvailable; - NumberMisscheduled = numberMisscheduled; - NumberReady = numberReady; - NumberUnavailable = numberUnavailable; - ObservedGeneration = observedGeneration; - UpdatedNumberScheduled = updatedNumberScheduled; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "collisionCount")] - public int? CollisionCount { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// DaemonSet's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets 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/ - /// - [JsonProperty(PropertyName = "currentNumberScheduled")] - public int CurrentNumberScheduled { get; set; } - - /// - /// Gets or sets 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/ - /// - [JsonProperty(PropertyName = "desiredNumberScheduled")] - public int DesiredNumberScheduled { get; set; } - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "numberAvailable")] - public int? NumberAvailable { get; set; } - - /// - /// Gets or sets 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/ - /// - [JsonProperty(PropertyName = "numberMisscheduled")] - public int NumberMisscheduled { get; set; } - - /// - /// Gets or sets the number of nodes that should be running the daemon - /// pod and have one or more of the daemon pod running and ready. - /// - [JsonProperty(PropertyName = "numberReady")] - public int NumberReady { get; set; } - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "numberUnavailable")] - public int? NumberUnavailable { get; set; } - - /// - /// Gets or sets the most recent generation observed by the daemon set - /// controller. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets the total number of nodes that are running updated - /// daemon pod - /// - [JsonProperty(PropertyName = "updatedNumberScheduled")] - public int? UpdatedNumberScheduled { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Conditions != null) - { - foreach (var element in Conditions) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DaemonSetUpdateStrategy.cs b/src/KubernetesClient/generated/Models/V1beta2DaemonSetUpdateStrategy.cs deleted file mode 100644 index 792675cba..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DaemonSetUpdateStrategy.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DaemonSetUpdateStrategy is a struct used to control the update strategy - /// for a DaemonSet. - /// - public partial class V1beta2DaemonSetUpdateStrategy - { - /// - /// Initializes a new instance of the V1beta2DaemonSetUpdateStrategy - /// class. - /// - public V1beta2DaemonSetUpdateStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DaemonSetUpdateStrategy - /// class. - /// - /// Rolling update config params. Present - /// only if type = "RollingUpdate". - /// Type of daemon set update. Can be - /// "RollingUpdate" or "OnDelete". Default is RollingUpdate. - public V1beta2DaemonSetUpdateStrategy(V1beta2RollingUpdateDaemonSet rollingUpdate = default(V1beta2RollingUpdateDaemonSet), string type = default(string)) - { - RollingUpdate = rollingUpdate; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets rolling update config params. Present only if type = - /// "RollingUpdate". - /// - [JsonProperty(PropertyName = "rollingUpdate")] - public V1beta2RollingUpdateDaemonSet RollingUpdate { get; set; } - - /// - /// Gets or sets type of daemon set update. Can be "RollingUpdate" or - /// "OnDelete". Default is RollingUpdate. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2Deployment.cs b/src/KubernetesClient/generated/Models/V1beta2Deployment.cs deleted file mode 100644 index ea0b78d3b..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2Deployment.cs +++ /dev/null @@ -1,113 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED - This group version of Deployment is deprecated by - /// apps/v1/Deployment. See the release notes for more information. - /// Deployment enables declarative updates for Pods and ReplicaSets. - /// - public partial class V1beta2Deployment - { - /// - /// Initializes a new instance of the V1beta2Deployment class. - /// - public V1beta2Deployment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2Deployment class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object metadata. - /// Specification of the desired behavior of the - /// Deployment. - /// Most recently observed status of the - /// Deployment. - public V1beta2Deployment(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta2DeploymentSpec spec = default(V1beta2DeploymentSpec), V1beta2DeploymentStatus status = default(V1beta2DeploymentStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object metadata. - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets specification of the desired behavior of the - /// Deployment. - /// - [JsonProperty(PropertyName = "spec")] - public V1beta2DeploymentSpec Spec { get; set; } - - /// - /// Gets or sets most recently observed status of the Deployment. - /// - [JsonProperty(PropertyName = "status")] - public V1beta2DeploymentStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Spec != null) - { - Spec.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DeploymentCondition.cs b/src/KubernetesClient/generated/Models/V1beta2DeploymentCondition.cs deleted file mode 100644 index 5834408ce..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DeploymentCondition.cs +++ /dev/null @@ -1,113 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentCondition describes the state of a deployment at a certain - /// point. - /// - public partial class V1beta2DeploymentCondition - { - /// - /// Initializes a new instance of the V1beta2DeploymentCondition class. - /// - public V1beta2DeploymentCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DeploymentCondition class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of deployment condition. - /// Last time the condition - /// transitioned from one status to another. - /// The last time this condition was - /// updated. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public V1beta2DeploymentCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), System.DateTime? lastUpdateTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - LastUpdateTime = lastUpdateTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets last time the condition transitioned from one status - /// to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets the last time this condition was updated. - /// - [JsonProperty(PropertyName = "lastUpdateTime")] - public System.DateTime? LastUpdateTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of deployment condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DeploymentSpec.cs b/src/KubernetesClient/generated/Models/V1beta2DeploymentSpec.cs deleted file mode 100644 index a54a9026b..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DeploymentSpec.cs +++ /dev/null @@ -1,159 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentSpec is the specification of the desired behavior of the - /// Deployment. - /// - public partial class V1beta2DeploymentSpec - { - /// - /// Initializes a new instance of the V1beta2DeploymentSpec class. - /// - public V1beta2DeploymentSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DeploymentSpec class. - /// - /// Label selector for pods. Existing - /// ReplicaSets whose pods are selected by this will be the ones - /// affected by this deployment. It must match the pod template's - /// labels. - /// Template describes the pods that will be - /// created. - /// 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) - /// Indicates that the deployment is - /// paused. - /// 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. - /// Number of desired pods. This is a pointer to - /// distinguish between explicit zero and not specified. Defaults to - /// 1. - /// 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. - /// The deployment strategy to use to replace - /// existing pods with new ones. - public V1beta2DeploymentSpec(V1LabelSelector selector, V1PodTemplateSpec template, int? minReadySeconds = default(int?), bool? paused = default(bool?), int? progressDeadlineSeconds = default(int?), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), V1beta2DeploymentStrategy strategy = default(V1beta2DeploymentStrategy)) - { - MinReadySeconds = minReadySeconds; - Paused = paused; - ProgressDeadlineSeconds = progressDeadlineSeconds; - Replicas = replicas; - RevisionHistoryLimit = revisionHistoryLimit; - Selector = selector; - Strategy = strategy; - Template = template; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "minReadySeconds")] - public int? MinReadySeconds { get; set; } - - /// - /// Gets or sets indicates that the deployment is paused. - /// - [JsonProperty(PropertyName = "paused")] - public bool? Paused { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "progressDeadlineSeconds")] - public int? ProgressDeadlineSeconds { get; set; } - - /// - /// Gets or sets number of desired pods. This is a pointer to - /// distinguish between explicit zero and not specified. Defaults to 1. - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "revisionHistoryLimit")] - public int? RevisionHistoryLimit { get; set; } - - /// - /// Gets or sets label selector for pods. Existing ReplicaSets whose - /// pods are selected by this will be the ones affected by this - /// deployment. It must match the pod template's labels. - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets the deployment strategy to use to replace existing - /// pods with new ones. - /// - [JsonProperty(PropertyName = "strategy")] - public V1beta2DeploymentStrategy Strategy { get; set; } - - /// - /// Gets or sets template describes the pods that will be created. - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Selector == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Selector"); - } - if (Template == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Template"); - } - if (Template != null) - { - Template.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DeploymentStatus.cs b/src/KubernetesClient/generated/Models/V1beta2DeploymentStatus.cs deleted file mode 100644 index d8833a3d2..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DeploymentStatus.cs +++ /dev/null @@ -1,133 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// DeploymentStatus is the most recently observed status of the - /// Deployment. - /// - public partial class V1beta2DeploymentStatus - { - /// - /// Initializes a new instance of the V1beta2DeploymentStatus class. - /// - public V1beta2DeploymentStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DeploymentStatus class. - /// - /// Total number of available pods - /// (ready for at least minReadySeconds) targeted by this - /// deployment. - /// 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. - /// Represents the latest available - /// observations of a deployment's current state. - /// The generation observed by the - /// deployment controller. - /// Total number of ready pods targeted by - /// this deployment. - /// Total number of non-terminated pods targeted - /// by this deployment (their labels match the selector). - /// 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. - /// Total number of non-terminated pods - /// targeted by this deployment that have the desired template - /// spec. - public V1beta2DeploymentStatus(int? availableReplicas = default(int?), int? collisionCount = default(int?), IList conditions = default(IList), long? observedGeneration = default(long?), int? readyReplicas = default(int?), int? replicas = default(int?), int? unavailableReplicas = default(int?), int? updatedReplicas = default(int?)) - { - AvailableReplicas = availableReplicas; - CollisionCount = collisionCount; - Conditions = conditions; - ObservedGeneration = observedGeneration; - ReadyReplicas = readyReplicas; - Replicas = replicas; - UnavailableReplicas = unavailableReplicas; - UpdatedReplicas = updatedReplicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets total number of available pods (ready for at least - /// minReadySeconds) targeted by this deployment. - /// - [JsonProperty(PropertyName = "availableReplicas")] - public int? AvailableReplicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "collisionCount")] - public int? CollisionCount { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// deployment's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets the generation observed by the deployment controller. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets total number of ready pods targeted by this - /// deployment. - /// - [JsonProperty(PropertyName = "readyReplicas")] - public int? ReadyReplicas { get; set; } - - /// - /// Gets or sets total number of non-terminated pods targeted by this - /// deployment (their labels match the selector). - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "unavailableReplicas")] - public int? UnavailableReplicas { get; set; } - - /// - /// Gets or sets total number of non-terminated pods targeted by this - /// deployment that have the desired template spec. - /// - [JsonProperty(PropertyName = "updatedReplicas")] - public int? UpdatedReplicas { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2DeploymentStrategy.cs b/src/KubernetesClient/generated/Models/V1beta2DeploymentStrategy.cs deleted file mode 100644 index 47733373e..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2DeploymentStrategy.cs +++ /dev/null @@ -1,60 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DeploymentStrategy describes how to replace existing pods with new - /// ones. - /// - public partial class V1beta2DeploymentStrategy - { - /// - /// Initializes a new instance of the V1beta2DeploymentStrategy class. - /// - public V1beta2DeploymentStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2DeploymentStrategy class. - /// - /// Rolling update config params. Present - /// only if DeploymentStrategyType = RollingUpdate. - /// Type of deployment. Can be "Recreate" or - /// "RollingUpdate". Default is RollingUpdate. - public V1beta2DeploymentStrategy(V1beta2RollingUpdateDeployment rollingUpdate = default(V1beta2RollingUpdateDeployment), string type = default(string)) - { - RollingUpdate = rollingUpdate; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets rolling update config params. Present only if - /// DeploymentStrategyType = RollingUpdate. - /// - [JsonProperty(PropertyName = "rollingUpdate")] - public V1beta2RollingUpdateDeployment RollingUpdate { get; set; } - - /// - /// Gets or sets type of deployment. Can be "Recreate" or - /// "RollingUpdate". Default is RollingUpdate. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2ReplicaSet.cs b/src/KubernetesClient/generated/Models/V1beta2ReplicaSet.cs deleted file mode 100644 index d69b4233a..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ReplicaSet.cs +++ /dev/null @@ -1,131 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// DEPRECATED - This group version of ReplicaSet is deprecated by - /// apps/v1/ReplicaSet. See the release notes for more information. - /// ReplicaSet ensures that a specified number of pod replicas are running - /// at any given time. - /// - public partial class V1beta2ReplicaSet - { - /// - /// Initializes a new instance of the V1beta2ReplicaSet class. - /// - public V1beta2ReplicaSet() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ReplicaSet class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// 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/sig-architecture/api-conventions.md#metadata - /// Spec defines the specification of the desired - /// behavior of the ReplicaSet. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#spec-and-status - public V1beta2ReplicaSet(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta2ReplicaSetSpec spec = default(V1beta2ReplicaSetSpec), V1beta2ReplicaSetStatus status = default(V1beta2ReplicaSetStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets 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/sig-architecture/api-conventions.md#metadata - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets spec defines the specification of the desired behavior - /// of the ReplicaSet. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - /// - [JsonProperty(PropertyName = "spec")] - public V1beta2ReplicaSetSpec Spec { get; set; } - - /// - /// Gets or sets 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/sig-architecture/api-conventions.md#spec-and-status - /// - [JsonProperty(PropertyName = "status")] - public V1beta2ReplicaSetStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Spec != null) - { - Spec.Validate(); - } - if (Status != null) - { - Status.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2ReplicaSetCondition.cs b/src/KubernetesClient/generated/Models/V1beta2ReplicaSetCondition.cs deleted file mode 100644 index a892dd4a7..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ReplicaSetCondition.cs +++ /dev/null @@ -1,104 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// ReplicaSetCondition describes the state of a replica set at a certain - /// point. - /// - public partial class V1beta2ReplicaSetCondition - { - /// - /// Initializes a new instance of the V1beta2ReplicaSetCondition class. - /// - public V1beta2ReplicaSetCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ReplicaSetCondition class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of replica set condition. - /// The last time the condition - /// transitioned from one status to another. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public V1beta2ReplicaSetCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the last time the condition transitioned from one - /// status to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of replica set condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2ReplicaSetList.cs b/src/KubernetesClient/generated/Models/V1beta2ReplicaSetList.cs deleted file mode 100644 index fa38c5c36..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ReplicaSetList.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// ReplicaSetList is a collection of ReplicaSets. - /// - public partial class V1beta2ReplicaSetList - { - /// - /// Initializes a new instance of the V1beta2ReplicaSetList class. - /// - public V1beta2ReplicaSetList() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ReplicaSetList class. - /// - /// List of ReplicaSets. More info: - /// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard list metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - public V1beta2ReplicaSetList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) - { - ApiVersion = apiVersion; - Items = items; - Kind = kind; - Metadata = metadata; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets list of ReplicaSets. More info: - /// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller - /// - [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard list metadata. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "metadata")] - public V1ListMeta Metadata { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Items == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Items"); - } - if (Items != null) - { - foreach (var element in Items) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2ReplicaSetSpec.cs b/src/KubernetesClient/generated/Models/V1beta2ReplicaSetSpec.cs deleted file mode 100644 index 2fcc5a106..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ReplicaSetSpec.cs +++ /dev/null @@ -1,114 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// ReplicaSetSpec is the specification of a ReplicaSet. - /// - public partial class V1beta2ReplicaSetSpec - { - /// - /// Initializes a new instance of the V1beta2ReplicaSetSpec class. - /// - public V1beta2ReplicaSetSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ReplicaSetSpec class. - /// - /// Selector is a label query over pods that - /// should match the replica count. Label keys and values that must - /// match in order to be controlled by this replica set. It must match - /// the pod template's labels. More info: - /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - /// 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) - /// 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 - /// 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 V1beta2ReplicaSetSpec(V1LabelSelector selector, int? minReadySeconds = default(int?), int? replicas = default(int?), V1PodTemplateSpec template = default(V1PodTemplateSpec)) - { - MinReadySeconds = minReadySeconds; - Replicas = replicas; - Selector = selector; - Template = template; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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) - /// - [JsonProperty(PropertyName = "minReadySeconds")] - public int? MinReadySeconds { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets selector is a label query over pods that should match - /// the replica count. Label keys and values that must match in order - /// to be controlled by this replica set. It must match the pod - /// template's labels. More info: - /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Selector == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Selector"); - } - if (Template != null) - { - Template.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2ReplicaSetStatus.cs b/src/KubernetesClient/generated/Models/V1beta2ReplicaSetStatus.cs deleted file mode 100644 index 64f4b1676..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ReplicaSetStatus.cs +++ /dev/null @@ -1,122 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// ReplicaSetStatus represents the current status of a ReplicaSet. - /// - public partial class V1beta2ReplicaSetStatus - { - /// - /// Initializes a new instance of the V1beta2ReplicaSetStatus class. - /// - public V1beta2ReplicaSetStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ReplicaSetStatus class. - /// - /// Replicas is the most recently oberved number - /// of replicas. More info: - /// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - /// The number of available replicas - /// (ready for at least minReadySeconds) for this replica set. - /// Represents the latest available - /// observations of a replica set's current state. - /// The number of pods that have - /// labels matching the labels of the pod template of the - /// replicaset. - /// ObservedGeneration reflects the - /// generation of the most recently observed ReplicaSet. - /// The number of ready replicas for this - /// replica set. - public V1beta2ReplicaSetStatus(int replicas, int? availableReplicas = default(int?), IList conditions = default(IList), int? fullyLabeledReplicas = default(int?), long? observedGeneration = default(long?), int? readyReplicas = default(int?)) - { - AvailableReplicas = availableReplicas; - Conditions = conditions; - FullyLabeledReplicas = fullyLabeledReplicas; - ObservedGeneration = observedGeneration; - ReadyReplicas = readyReplicas; - Replicas = replicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the number of available replicas (ready for at least - /// minReadySeconds) for this replica set. - /// - [JsonProperty(PropertyName = "availableReplicas")] - public int? AvailableReplicas { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// replica set's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets the number of pods that have labels matching the - /// labels of the pod template of the replicaset. - /// - [JsonProperty(PropertyName = "fullyLabeledReplicas")] - public int? FullyLabeledReplicas { get; set; } - - /// - /// Gets or sets observedGeneration reflects the generation of the most - /// recently observed ReplicaSet. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets the number of ready replicas for this replica set. - /// - [JsonProperty(PropertyName = "readyReplicas")] - public int? ReadyReplicas { get; set; } - - /// - /// Gets or sets replicas is the most recently oberved number of - /// replicas. More info: - /// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - /// - [JsonProperty(PropertyName = "replicas")] - public int Replicas { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Conditions != null) - { - foreach (var element in Conditions) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDaemonSet.cs b/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDaemonSet.cs deleted file mode 100644 index 42a28e674..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDaemonSet.cs +++ /dev/null @@ -1,75 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Spec to control the desired behavior of daemon set rolling update. - /// - public partial class V1beta2RollingUpdateDaemonSet - { - /// - /// Initializes a new instance of the V1beta2RollingUpdateDaemonSet - /// class. - /// - public V1beta2RollingUpdateDaemonSet() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2RollingUpdateDaemonSet - /// class. - /// - /// 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 V1beta2RollingUpdateDaemonSet(IntstrIntOrString maxUnavailable = default(IntstrIntOrString)) - { - MaxUnavailable = maxUnavailable; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "maxUnavailable")] - public IntstrIntOrString MaxUnavailable { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDeployment.cs b/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDeployment.cs deleted file mode 100644 index 2feb39728..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2RollingUpdateDeployment.cs +++ /dev/null @@ -1,96 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Spec to control the desired behavior of rolling update. - /// - public partial class V1beta2RollingUpdateDeployment - { - /// - /// Initializes a new instance of the V1beta2RollingUpdateDeployment - /// class. - /// - public V1beta2RollingUpdateDeployment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2RollingUpdateDeployment - /// class. - /// - /// 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 ReplicaSet 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 ReplicaSet can be scaled up further, - /// ensuring that total number of pods running at any time during the - /// update is at most 130% of desired pods. - /// 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 ReplicaSet can be scaled down to 70% of desired pods - /// immediately when the rolling update starts. Once new pods are - /// ready, old ReplicaSet can be scaled down further, followed by - /// scaling up the new ReplicaSet, ensuring that the total number of - /// pods available at all times during the update is at least 70% of - /// desired pods. - public V1beta2RollingUpdateDeployment(IntstrIntOrString maxSurge = default(IntstrIntOrString), IntstrIntOrString maxUnavailable = default(IntstrIntOrString)) - { - MaxSurge = maxSurge; - MaxUnavailable = maxUnavailable; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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 ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number - /// of pods running at any time during the update is at most 130% of - /// desired pods. - /// - [JsonProperty(PropertyName = "maxSurge")] - public IntstrIntOrString MaxSurge { get; set; } - - /// - /// Gets or sets 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 - /// ReplicaSet can be scaled down to 70% of desired pods immediately - /// when the rolling update starts. Once new pods are ready, old - /// ReplicaSet can be scaled down further, followed by scaling up the - /// new ReplicaSet, ensuring that the total number of pods available at - /// all times during the update is at least 70% of desired pods. - /// - [JsonProperty(PropertyName = "maxUnavailable")] - public IntstrIntOrString MaxUnavailable { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2RollingUpdateStatefulSetStrategy.cs b/src/KubernetesClient/generated/Models/V1beta2RollingUpdateStatefulSetStrategy.cs deleted file mode 100644 index 756611728..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2RollingUpdateStatefulSetStrategy.cs +++ /dev/null @@ -1,52 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// RollingUpdateStatefulSetStrategy is used to communicate parameter for - /// RollingUpdateStatefulSetStrategyType. - /// - public partial class V1beta2RollingUpdateStatefulSetStrategy - { - /// - /// Initializes a new instance of the - /// V1beta2RollingUpdateStatefulSetStrategy class. - /// - public V1beta2RollingUpdateStatefulSetStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// V1beta2RollingUpdateStatefulSetStrategy class. - /// - /// Partition indicates the ordinal at which - /// the StatefulSet should be partitioned. Default value is 0. - public V1beta2RollingUpdateStatefulSetStrategy(int? partition = default(int?)) - { - Partition = partition; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets partition indicates the ordinal at which the - /// StatefulSet should be partitioned. Default value is 0. - /// - [JsonProperty(PropertyName = "partition")] - public int? Partition { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2Scale.cs b/src/KubernetesClient/generated/Models/V1beta2Scale.cs deleted file mode 100644 index 75387e512..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2Scale.cs +++ /dev/null @@ -1,116 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Scale represents a scaling request for a resource. - /// - public partial class V1beta2Scale - { - /// - /// Initializes a new instance of the V1beta2Scale class. - /// - public V1beta2Scale() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2Scale class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// Standard object metadata; More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - /// defines the behavior of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// current status of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// Read-only. - public V1beta2Scale(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta2ScaleSpec spec = default(V1beta2ScaleSpec), V1beta2ScaleStatus status = default(V1beta2ScaleStatus)) - { - ApiVersion = apiVersion; - Kind = kind; - Metadata = metadata; - Spec = spec; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// Gets or sets standard object metadata; More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - /// - [JsonProperty(PropertyName = "metadata")] - public V1ObjectMeta Metadata { get; set; } - - /// - /// Gets or sets defines the behavior of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// - [JsonProperty(PropertyName = "spec")] - public V1beta2ScaleSpec Spec { get; set; } - - /// - /// Gets or sets current status of the scale. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - /// Read-only. - /// - [JsonProperty(PropertyName = "status")] - public V1beta2ScaleStatus Status { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status != null) - { - Status.Validate(); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2ScaleSpec.cs b/src/KubernetesClient/generated/Models/V1beta2ScaleSpec.cs deleted file mode 100644 index 24ad2ab15..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ScaleSpec.cs +++ /dev/null @@ -1,48 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// ScaleSpec describes the attributes of a scale subresource - /// - public partial class V1beta2ScaleSpec - { - /// - /// Initializes a new instance of the V1beta2ScaleSpec class. - /// - public V1beta2ScaleSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ScaleSpec class. - /// - /// desired number of instances for the scaled - /// object. - public V1beta2ScaleSpec(int? replicas = default(int?)) - { - Replicas = replicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets desired number of instances for the scaled object. - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2ScaleStatus.cs b/src/KubernetesClient/generated/Models/V1beta2ScaleStatus.cs deleted file mode 100644 index 2da547c90..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2ScaleStatus.cs +++ /dev/null @@ -1,94 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// ScaleStatus represents the current status of a scale subresource. - /// - public partial class V1beta2ScaleStatus - { - /// - /// Initializes a new instance of the V1beta2ScaleStatus class. - /// - public V1beta2ScaleStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2ScaleStatus class. - /// - /// actual number of observed instances of the - /// scaled object. - /// label query over pods that should match the - /// replicas count. 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 - public V1beta2ScaleStatus(int replicas, IDictionary selector = default(IDictionary), string targetSelector = default(string)) - { - Replicas = replicas; - Selector = selector; - TargetSelector = targetSelector; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets actual number of observed instances of the scaled - /// object. - /// - [JsonProperty(PropertyName = "replicas")] - public int Replicas { get; set; } - - /// - /// Gets or sets label query over pods that should match the replicas - /// count. More info: - /// http://kubernetes.io/docs/user-guide/labels#label-selectors - /// - [JsonProperty(PropertyName = "selector")] - public IDictionary Selector { get; set; } - - /// - /// Gets or sets 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 - /// - [JsonProperty(PropertyName = "targetSelector")] - public string TargetSelector { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2StatefulSetCondition.cs b/src/KubernetesClient/generated/Models/V1beta2StatefulSetCondition.cs deleted file mode 100644 index 090d424c2..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2StatefulSetCondition.cs +++ /dev/null @@ -1,106 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// StatefulSetCondition describes the state of a statefulset at a certain - /// point. - /// - public partial class V1beta2StatefulSetCondition - { - /// - /// Initializes a new instance of the V1beta2StatefulSetCondition - /// class. - /// - public V1beta2StatefulSetCondition() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2StatefulSetCondition - /// class. - /// - /// Status of the condition, one of True, False, - /// Unknown. - /// Type of statefulset condition. - /// Last time the condition - /// transitioned from one status to another. - /// A human readable message indicating details - /// about the transition. - /// The reason for the condition's last - /// transition. - public V1beta2StatefulSetCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), string message = default(string), string reason = default(string)) - { - LastTransitionTime = lastTransitionTime; - Message = message; - Reason = reason; - Status = status; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets last time the condition transitioned from one status - /// to another. - /// - [JsonProperty(PropertyName = "lastTransitionTime")] - public System.DateTime? LastTransitionTime { get; set; } - - /// - /// Gets or sets a human readable message indicating details about the - /// transition. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the reason for the condition's last transition. - /// - [JsonProperty(PropertyName = "reason")] - public string Reason { get; set; } - - /// - /// Gets or sets status of the condition, one of True, False, Unknown. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets type of statefulset condition. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } - if (Type == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Type"); - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2StatefulSetList.cs b/src/KubernetesClient/generated/Models/V1beta2StatefulSetList.cs deleted file mode 100644 index b40b13d09..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2StatefulSetList.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// StatefulSetList is a collection of StatefulSets. - /// - public partial class V1beta2StatefulSetList - { - /// - /// Initializes a new instance of the V1beta2StatefulSetList class. - /// - public V1beta2StatefulSetList() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2StatefulSetList class. - /// - /// APIVersion defines the versioned schema of - /// this representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// Kind is a string value representing the REST - /// resource this object represents. Servers may infer this from the - /// endpoint the client submits requests to. Cannot be updated. In - /// CamelCase. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - public V1beta2StatefulSetList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) - { - ApiVersion = apiVersion; - Items = items; - Kind = kind; - Metadata = metadata; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets aPIVersion defines the versioned schema of this - /// representation of an object. Servers should convert recognized - /// schemas to the latest internal value, and may reject unrecognized - /// values. More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - /// - [JsonProperty(PropertyName = "apiVersion")] - public string ApiVersion { get; set; } - - /// - /// - [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } - - /// - /// Gets or sets kind is a string value representing the REST resource - /// this object represents. Servers may infer this from the endpoint - /// the client submits requests to. Cannot be updated. In CamelCase. - /// More info: - /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; set; } - - /// - /// - [JsonProperty(PropertyName = "metadata")] - public V1ListMeta Metadata { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Items == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Items"); - } - if (Items != null) - { - foreach (var element in Items) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2StatefulSetSpec.cs b/src/KubernetesClient/generated/Models/V1beta2StatefulSetSpec.cs deleted file mode 100644 index 6862116d4..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2StatefulSetSpec.cs +++ /dev/null @@ -1,212 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A StatefulSetSpec is the specification of a StatefulSet. - /// - public partial class V1beta2StatefulSetSpec - { - /// - /// Initializes a new instance of the V1beta2StatefulSetSpec class. - /// - public V1beta2StatefulSetSpec() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2StatefulSetSpec class. - /// - /// selector is a label query over pods that - /// should match the replica count. It must match the pod template's - /// labels. More info: - /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - /// 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 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. - /// 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. - /// 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. - /// 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. - /// updateStrategy indicates the - /// StatefulSetUpdateStrategy that will be employed to update Pods in - /// the StatefulSet when a revision is made to Template. - /// 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 V1beta2StatefulSetSpec(V1LabelSelector selector, string serviceName, V1PodTemplateSpec template, string podManagementPolicy = default(string), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), V1beta2StatefulSetUpdateStrategy updateStrategy = default(V1beta2StatefulSetUpdateStrategy), IList volumeClaimTemplates = default(IList)) - { - PodManagementPolicy = podManagementPolicy; - Replicas = replicas; - RevisionHistoryLimit = revisionHistoryLimit; - Selector = selector; - ServiceName = serviceName; - Template = template; - UpdateStrategy = updateStrategy; - VolumeClaimTemplates = volumeClaimTemplates; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "podManagementPolicy")] - public string PodManagementPolicy { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "replicas")] - public int? Replicas { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "revisionHistoryLimit")] - public int? RevisionHistoryLimit { get; set; } - - /// - /// Gets or sets selector is a label query over pods that should match - /// the replica count. It must match the pod template's labels. More - /// info: - /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - /// - [JsonProperty(PropertyName = "selector")] - public V1LabelSelector Selector { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "serviceName")] - public string ServiceName { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "template")] - public V1PodTemplateSpec Template { get; set; } - - /// - /// Gets or sets updateStrategy indicates the StatefulSetUpdateStrategy - /// that will be employed to update Pods in the StatefulSet when a - /// revision is made to Template. - /// - [JsonProperty(PropertyName = "updateStrategy")] - public V1beta2StatefulSetUpdateStrategy UpdateStrategy { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "volumeClaimTemplates")] - public IList VolumeClaimTemplates { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Selector == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Selector"); - } - if (ServiceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ServiceName"); - } - if (Template == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Template"); - } - if (Template != null) - { - Template.Validate(); - } - if (VolumeClaimTemplates != null) - { - foreach (var element in VolumeClaimTemplates) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2StatefulSetStatus.cs b/src/KubernetesClient/generated/Models/V1beta2StatefulSetStatus.cs deleted file mode 100644 index fcd3130e6..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2StatefulSetStatus.cs +++ /dev/null @@ -1,166 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// StatefulSetStatus represents the current state of a StatefulSet. - /// - public partial class V1beta2StatefulSetStatus - { - /// - /// Initializes a new instance of the V1beta2StatefulSetStatus class. - /// - public V1beta2StatefulSetStatus() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2StatefulSetStatus class. - /// - /// replicas is the number of Pods created by - /// the StatefulSet controller. - /// 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. - /// Represents the latest available - /// observations of a statefulset's current state. - /// currentReplicas is the number of Pods - /// created by the StatefulSet controller from the StatefulSet version - /// indicated by currentRevision. - /// currentRevision, if not empty, - /// indicates the version of the StatefulSet used to generate Pods in - /// the sequence [0,currentReplicas). - /// 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. - /// readyReplicas is the number of Pods - /// created by the StatefulSet controller that have a Ready - /// Condition. - /// updateRevision, if not empty, - /// indicates the version of the StatefulSet used to generate Pods in - /// the sequence [replicas-updatedReplicas,replicas) - /// updatedReplicas is the number of Pods - /// created by the StatefulSet controller from the StatefulSet version - /// indicated by updateRevision. - public V1beta2StatefulSetStatus(int replicas, int? collisionCount = default(int?), IList conditions = default(IList), int? currentReplicas = default(int?), string currentRevision = default(string), long? observedGeneration = default(long?), int? readyReplicas = default(int?), string updateRevision = default(string), int? updatedReplicas = default(int?)) - { - CollisionCount = collisionCount; - Conditions = conditions; - CurrentReplicas = currentReplicas; - CurrentRevision = currentRevision; - ObservedGeneration = observedGeneration; - ReadyReplicas = readyReplicas; - Replicas = replicas; - UpdateRevision = updateRevision; - UpdatedReplicas = updatedReplicas; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "collisionCount")] - public int? CollisionCount { get; set; } - - /// - /// Gets or sets represents the latest available observations of a - /// statefulset's current state. - /// - [JsonProperty(PropertyName = "conditions")] - public IList Conditions { get; set; } - - /// - /// Gets or sets currentReplicas is the number of Pods created by the - /// StatefulSet controller from the StatefulSet version indicated by - /// currentRevision. - /// - [JsonProperty(PropertyName = "currentReplicas")] - public int? CurrentReplicas { get; set; } - - /// - /// Gets or sets currentRevision, if not empty, indicates the version - /// of the StatefulSet used to generate Pods in the sequence - /// [0,currentReplicas). - /// - [JsonProperty(PropertyName = "currentRevision")] - public string CurrentRevision { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "observedGeneration")] - public long? ObservedGeneration { get; set; } - - /// - /// Gets or sets readyReplicas is the number of Pods created by the - /// StatefulSet controller that have a Ready Condition. - /// - [JsonProperty(PropertyName = "readyReplicas")] - public int? ReadyReplicas { get; set; } - - /// - /// Gets or sets replicas is the number of Pods created by the - /// StatefulSet controller. - /// - [JsonProperty(PropertyName = "replicas")] - public int Replicas { get; set; } - - /// - /// Gets or sets updateRevision, if not empty, indicates the version of - /// the StatefulSet used to generate Pods in the sequence - /// [replicas-updatedReplicas,replicas) - /// - [JsonProperty(PropertyName = "updateRevision")] - public string UpdateRevision { get; set; } - - /// - /// Gets or sets updatedReplicas is the number of Pods created by the - /// StatefulSet controller from the StatefulSet version indicated by - /// updateRevision. - /// - [JsonProperty(PropertyName = "updatedReplicas")] - public int? UpdatedReplicas { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Conditions != null) - { - foreach (var element in Conditions) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/src/KubernetesClient/generated/Models/V1beta2StatefulSetUpdateStrategy.cs b/src/KubernetesClient/generated/Models/V1beta2StatefulSetUpdateStrategy.cs deleted file mode 100644 index 0aed7a116..000000000 --- a/src/KubernetesClient/generated/Models/V1beta2StatefulSetUpdateStrategy.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace k8s.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// 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 partial class V1beta2StatefulSetUpdateStrategy - { - /// - /// Initializes a new instance of the V1beta2StatefulSetUpdateStrategy - /// class. - /// - public V1beta2StatefulSetUpdateStrategy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the V1beta2StatefulSetUpdateStrategy - /// class. - /// - /// RollingUpdate is used to communicate - /// parameters when Type is - /// RollingUpdateStatefulSetStrategyType. - /// Type indicates the type of the - /// StatefulSetUpdateStrategy. Default is RollingUpdate. - public V1beta2StatefulSetUpdateStrategy(V1beta2RollingUpdateStatefulSetStrategy rollingUpdate = default(V1beta2RollingUpdateStatefulSetStrategy), string type = default(string)) - { - RollingUpdate = rollingUpdate; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets rollingUpdate is used to communicate parameters when - /// Type is RollingUpdateStatefulSetStrategyType. - /// - [JsonProperty(PropertyName = "rollingUpdate")] - public V1beta2RollingUpdateStatefulSetStrategy RollingUpdate { get; set; } - - /// - /// Gets or sets type indicates the type of the - /// StatefulSetUpdateStrategy. Default is RollingUpdate. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - } -} diff --git a/src/KubernetesClient/generated/Models/V2beta2HPAScalingPolicy.cs b/src/KubernetesClient/generated/Models/V2beta2HPAScalingPolicy.cs new file mode 100644 index 000000000..4ec283914 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2HPAScalingPolicy.cs @@ -0,0 +1,85 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// HPAScalingPolicy is a single policy which must hold true for a + /// specified past interval. + /// + public partial class V2beta2HPAScalingPolicy + { + /// + /// Initializes a new instance of the V2beta2HPAScalingPolicy class. + /// + public V2beta2HPAScalingPolicy() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2HPAScalingPolicy class. + /// + /// PeriodSeconds specifies the window of + /// time for which the policy should hold true. PeriodSeconds must be + /// greater than zero and less than or equal to 1800 (30 min). + /// Type is used to specify the scaling + /// policy. + /// Value contains the amount of change which is + /// permitted by the policy. It must be greater than zero + public V2beta2HPAScalingPolicy(int periodSeconds, string type, int value) + { + PeriodSeconds = periodSeconds; + Type = type; + Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets periodSeconds specifies the window of time for which + /// the policy should hold true. PeriodSeconds must be greater than + /// zero and less than or equal to 1800 (30 min). + /// + [JsonProperty(PropertyName = "periodSeconds")] + public int PeriodSeconds { get; set; } + + /// + /// Gets or sets type is used to specify the scaling policy. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Gets or sets value contains the amount of change which is permitted + /// by the policy. It must be greater than zero + /// + [JsonProperty(PropertyName = "value")] + public int Value { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + } + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2HPAScalingRules.cs b/src/KubernetesClient/generated/Models/V2beta2HPAScalingRules.cs new file mode 100644 index 000000000..e67ed9ca2 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2HPAScalingRules.cs @@ -0,0 +1,91 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// HPAScalingRules configures the scaling behavior for one direction. + /// These Rules are applied after calculating DesiredReplicas from metrics + /// for the HPA. They can limit the scaling velocity by specifying scaling + /// policies. They can prevent flapping by specifying the stabilization + /// window, so that the number of replicas is not set instantly, instead, + /// the safest value from the stabilization window is chosen. + /// + public partial class V2beta2HPAScalingRules + { + /// + /// Initializes a new instance of the V2beta2HPAScalingRules class. + /// + public V2beta2HPAScalingRules() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta2HPAScalingRules class. + /// + /// policies is a list of potential scaling + /// polices which can be used during scaling. At least one policy must + /// be specified, otherwise the HPAScalingRules will be discarded as + /// invalid + /// selectPolicy is used to specify which + /// policy should be used. If not set, the default value + /// MaxPolicySelect is used. + /// StabilizationWindowSeconds + /// is the number of seconds for which past recommendations should be + /// considered while scaling up or scaling down. + /// StabilizationWindowSeconds must be greater than or equal to zero + /// and less than or equal to 3600 (one hour). If not set, use the + /// default values: - For scale up: 0 (i.e. no stabilization is done). + /// - For scale down: 300 (i.e. the stabilization window is 300 seconds + /// long). + public V2beta2HPAScalingRules(IList policies = default(IList), string selectPolicy = default(string), int? stabilizationWindowSeconds = default(int?)) + { + Policies = policies; + SelectPolicy = selectPolicy; + StabilizationWindowSeconds = stabilizationWindowSeconds; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets policies is a list of potential scaling polices which + /// can be used during scaling. At least one policy must be specified, + /// otherwise the HPAScalingRules will be discarded as invalid + /// + [JsonProperty(PropertyName = "policies")] + public IList Policies { get; set; } + + /// + /// Gets or sets selectPolicy is used to specify which policy should be + /// used. If not set, the default value MaxPolicySelect is used. + /// + [JsonProperty(PropertyName = "selectPolicy")] + public string SelectPolicy { get; set; } + + /// + /// Gets or sets stabilizationWindowSeconds is the number of seconds + /// for which past recommendations should be considered while scaling + /// up or scaling down. StabilizationWindowSeconds must be greater than + /// or equal to zero and less than or equal to 3600 (one hour). If not + /// set, use the default values: - For scale up: 0 (i.e. no + /// stabilization is done). - For scale down: 300 (i.e. the + /// stabilization window is 300 seconds long). + /// + [JsonProperty(PropertyName = "stabilizationWindowSeconds")] + public int? StabilizationWindowSeconds { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerBehavior.cs b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerBehavior.cs new file mode 100644 index 000000000..0ae5940a7 --- /dev/null +++ b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerBehavior.cs @@ -0,0 +1,73 @@ +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace k8s.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// HorizontalPodAutoscalerBehavior configures the scaling behavior of the + /// target in both Up and Down directions (scaleUp and scaleDown fields + /// respectively). + /// + public partial class V2beta2HorizontalPodAutoscalerBehavior + { + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerBehavior class. + /// + public V2beta2HorizontalPodAutoscalerBehavior() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V2beta2HorizontalPodAutoscalerBehavior class. + /// + /// scaleDown is scaling policy for scaling + /// Down. If not set, the default value is to allow to scale down to + /// minReplicas pods, with a 300 second stabilization window (i.e., the + /// highest recommendation for the last 300sec is used). + /// scaleUp is scaling policy for scaling Up. If + /// not set, the default value is the higher of: + /// * increase no more than 4 pods per 60 seconds + /// * double the number of pods per 60 seconds + /// No stabilization is used. + public V2beta2HorizontalPodAutoscalerBehavior(V2beta2HPAScalingRules scaleDown = default(V2beta2HPAScalingRules), V2beta2HPAScalingRules scaleUp = default(V2beta2HPAScalingRules)) + { + ScaleDown = scaleDown; + ScaleUp = scaleUp; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets scaleDown is scaling policy for scaling Down. If not + /// set, the default value is to allow to scale down to minReplicas + /// pods, with a 300 second stabilization window (i.e., the highest + /// recommendation for the last 300sec is used). + /// + [JsonProperty(PropertyName = "scaleDown")] + public V2beta2HPAScalingRules ScaleDown { get; set; } + + /// + /// Gets or sets scaleUp is scaling policy for scaling Up. If not set, + /// the default value is the higher of: + /// * increase no more than 4 pods per 60 seconds + /// * double the number of pods per 60 seconds + /// No stabilization is used. + /// + [JsonProperty(PropertyName = "scaleUp")] + public V2beta2HPAScalingRules ScaleUp { get; set; } + + } +} diff --git a/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerSpec.cs b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerSpec.cs index 94affa7cf..18e61b1b2 100644 --- a/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerSpec.cs +++ b/src/KubernetesClient/generated/Models/V2beta2HorizontalPodAutoscalerSpec.cs @@ -38,6 +38,10 @@ public V2beta2HorizontalPodAutoscalerSpec() /// resource to scale, and is used to the pods for which metrics should /// be collected, as well as to actually change the replica /// count. + /// behavior configures the scaling behavior of + /// the target in both Up and Down directions (scaleUp and scaleDown + /// fields respectively). If not set, the default HPAScalingRules for + /// scale up and scale down are used. /// 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 @@ -53,8 +57,9 @@ public V2beta2HorizontalPodAutoscalerSpec() /// feature gate HPAScaleToZero is enabled and at least one Object or /// External metric is configured. Scaling is active as long as at /// least one metric value is available. - public V2beta2HorizontalPodAutoscalerSpec(int maxReplicas, V2beta2CrossVersionObjectReference scaleTargetRef, IList metrics = default(IList), int? minReplicas = default(int?)) + public V2beta2HorizontalPodAutoscalerSpec(int maxReplicas, V2beta2CrossVersionObjectReference scaleTargetRef, V2beta2HorizontalPodAutoscalerBehavior behavior = default(V2beta2HorizontalPodAutoscalerBehavior), IList metrics = default(IList), int? minReplicas = default(int?)) { + Behavior = behavior; MaxReplicas = maxReplicas; Metrics = metrics; MinReplicas = minReplicas; @@ -67,6 +72,15 @@ public V2beta2HorizontalPodAutoscalerSpec() /// partial void CustomInit(); + /// + /// Gets or sets behavior configures the scaling behavior of the target + /// in both Up and Down directions (scaleUp and scaleDown fields + /// respectively). If not set, the default HPAScalingRules for scale up + /// and scale down are used. + /// + [JsonProperty(PropertyName = "behavior")] + public V2beta2HorizontalPodAutoscalerBehavior Behavior { get; set; } + /// /// Gets or sets maxReplicas is the upper limit for the number of /// replicas to which the autoscaler can scale up. It cannot be less diff --git a/src/KubernetesClient/generated/swagger.json b/src/KubernetesClient/generated/swagger.json index 7a82b05d4..da7980b88 100644 --- a/src/KubernetesClient/generated/swagger.json +++ b/src/KubernetesClient/generated/swagger.json @@ -35,15 +35,33 @@ } ] }, - "extensions.v1beta1.ScaleSpec": { - "description": "describes the attributes of a scale subresource", + "v2beta2.MetricSpec": { + "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", - "type": "integer" + "external": { + "$ref": "#/definitions/v2beta2.ExternalMetricSource", + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." + }, + "object": { + "$ref": "#/definitions/v2beta2.ObjectMetricSource", + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "$ref": "#/definitions/v2beta2.PodsMetricSource", + "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." + }, + "resource": { + "$ref": "#/definitions/v2beta2.ResourceMetricSource", + "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." + }, + "type": { + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", + "type": "string" } }, + "required": [ + "type" + ], "type": "object" }, "v1.FlockerVolumeSource": { @@ -96,17 +114,6 @@ } ] }, - "apps.v1beta1.RollbackConfig": { - "description": "DEPRECATED.", - "properties": { - "revision": { - "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "format": "int64", - "type": "integer" - } - }, - "type": "object" - }, "v1.SecretReference": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", "properties": { @@ -278,39 +285,6 @@ ], "type": "object" }, - "v1beta2.DaemonSet": { - "description": "DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/v1beta2.DaemonSetSpec", - "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/v1beta2.DaemonSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } - ] - }, "v1.AggregationRule": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { @@ -352,6 +326,29 @@ ], "type": "object" }, + "v1beta1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "$ref": "#/definitions/v1beta1.VolumeAttachmentSource", + "description": "Source represents the volume that should be attached." + } + }, + "required": [ + "attacher", + "source", + "nodeName" + ], + "type": "object" + }, "v1beta1.PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { @@ -384,6 +381,29 @@ } ] }, + "v1beta1.EndpointPort": { + "description": "EndpointPort represents a Port used by an EndpointSlice", + "properties": { + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.", + "type": "string" + }, + "name": { + "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", + "type": "string" + }, + "port": { + "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", + "format": "int32", + "type": "integer" + }, + "protocol": { + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", + "type": "string" + } + }, + "type": "object" + }, "v2beta2.ObjectMetricStatus": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { @@ -433,34 +453,39 @@ ], "type": "object" }, - "v1beta1.StatefulSetCondition": { - "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", + "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.", "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "items": { + "type": "string" + }, + "type": "array" }, - "message": { - "description": "A human readable message indicating details about the transition.", + "path": { + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", "type": "string" }, - "reason": { - "description": "The 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: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", + "secretFile": { + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "type": "string" }, - "type": { - "description": "Type of statefulset condition.", + "secretRef": { + "$ref": "#/definitions/v1.LocalObjectReference", + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "user": { + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "type": "string" } }, "required": [ - "type", - "status" + "monitors" ], "type": "object" }, @@ -485,29 +510,30 @@ ], "type": "object" }, - "v1beta1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", + "v1.StorageOSVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "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" }, - "denied": { - "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", "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.", + "secretRef": { + "$ref": "#/definitions/v1.LocalObjectReference", + "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." + }, + "volumeName": { + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", "type": "string" }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", + "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" } }, - "required": [ - "allowed" - ], "type": "object" }, "v1.PodList": { @@ -545,6 +571,42 @@ } ] }, + "v1alpha1.PriorityLevelConfigurationList": { + "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration 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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "`items` is a list of request-priorities.", + "items": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfigurationList", + "version": "v1alpha1" + } + ] + }, "v1beta1.SubjectAccessReviewSpec": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { @@ -584,53 +646,81 @@ }, "type": "object" }, - "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.", + "v1beta1.LeaseList": { + "description": "LeaseList is a list of Lease objects.", "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. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "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.", + "items": { + "description": "Items is a list of schema objects.", "items": { - "type": "string" + "$ref": "#/definitions/v1beta1.Lease" }, "type": "array" }, - "resources": { - "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseList", + "version": "v1beta1" + } + ] + }, + "v1.CustomResourceDefinitionNames": { + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", + "properties": { + "categories": { + "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", "items": { "type": "string" }, "type": "array" }, - "verbs": { - "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "kind": { + "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", + "type": "string" + }, + "listKind": { + "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", + "type": "string" + }, + "plural": { + "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", + "type": "string" + }, + "shortNames": { + "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", "items": { "type": "string" }, "type": "array" + }, + "singular": { + "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", + "type": "string" } }, "required": [ - "verbs" + "plural", + "kind" ], "type": "object" }, - "v1beta1.RollingUpdateDaemonSet": { - "description": "Spec to control the desired behavior of daemon set rolling update.", - "properties": { - "maxUnavailable": { - "$ref": "#/definitions/intstr.IntOrString", - "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": "object" - }, "v1alpha1.PriorityClass": { "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { @@ -788,26 +878,48 @@ } ] }, - "v1beta1.CustomResourceValidation": { - "description": "CustomResourceValidation is a list of validation methods for CustomResources.", + "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.", "properties": { - "openAPIV3Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps", - "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "items": { + "type": "string" + }, + "type": "array" + }, + "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://examples.k8s.io/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://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/v1.SecretReference", + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "user": { + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" } }, + "required": [ + "monitors" + ], "type": "object" }, - "v1beta2.DaemonSetUpdateStrategy": { - "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", + "v1beta1.CustomResourceValidation": { + "description": "CustomResourceValidation is a list of validation methods for CustomResources.", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/v1beta2.RollingUpdateDaemonSet", - "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." - }, - "type": { - "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.", - "type": "string" + "openAPIV3Schema": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps", + "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." } }, "type": "object" @@ -832,46 +944,6 @@ }, "type": "object" }, - "apps.v1beta1.DeploymentRollback": { - "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a 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: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Required: This must match the Name of a deployment.", - "type": "string" - }, - "rollbackTo": { - "$ref": "#/definitions/apps.v1beta1.RollbackConfig", - "description": "The config of this deployment rollback." - }, - "updatedAnnotations": { - "additionalProperties": { - "type": "string" - }, - "description": "The annotations to be updated to a deployment", - "type": "object" - } - }, - "required": [ - "name", - "rollbackTo" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DeploymentRollback", - "version": "v1beta1" - } - ] - }, "v2beta2.ObjectMetricSource": { "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { @@ -930,91 +1002,26 @@ ], "type": "object" }, - "apps.v1beta1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "v1beta1.HostPortRange": { + "description": "HostPortRange 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.", "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)", - "format": "int32", - "type": "integer" - }, - "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. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "max": { + "description": "max is the end of the range, inclusive.", "format": "int32", "type": "integer" }, - "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.", + "min": { + "description": "min is the start of the range, inclusive.", "format": "int32", "type": "integer" - }, - "rollbackTo": { - "$ref": "#/definitions/apps.v1beta1.RollbackConfig", - "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." - }, - "strategy": { - "$ref": "#/definitions/apps.v1beta1.DeploymentStrategy", - "description": "The deployment strategy to use to replace existing pods with new ones.", - "x-kubernetes-patch-strategy": "retainKeys" - }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "description": "Template describes the pods that will be created." } }, "required": [ - "template" + "min", + "max" ], "type": "object" }, - "v1beta1.NetworkPolicyList": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "NetworkPolicyList", - "version": "v1beta1" - } - ] - }, "v1beta1.APIServiceCondition": { "description": "APIServiceCondition describes the state of an APIService at a particular point", "properties": { @@ -1111,6 +1118,33 @@ } ] }, + "v1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "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.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, "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": { @@ -1179,37 +1213,8 @@ } ] }, - "v1.HorizontalPodAutoscalerSpec": { - "description": "specification of a horizontal pod autoscaler.", - "properties": { - "maxReplicas": { - "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "format": "int32", - "type": "integer" - }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", - "format": "int32", - "type": "integer" - }, - "scaleTargetRef": { - "$ref": "#/definitions/v1.CrossVersionObjectReference", - "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." - }, - "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.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "scaleTargetRef", - "maxReplicas" - ], - "type": "object" - }, "v1beta1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -1280,6 +1285,10 @@ "v1.ServicePort": { "description": "ServicePort contains information on service's port.", "properties": { + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate.", + "type": "string" + }, "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. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.", "type": "string" @@ -1308,19 +1317,6 @@ ], "type": "object" }, - "policy.v1beta1.AllowedCSIDriver": { - "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", - "properties": { - "name": { - "description": "Name is the registered name of the CSI driver", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, "v1.ReplicationControllerList": { "description": "ReplicationControllerList is a collection of replication controllers.", "properties": { @@ -1417,47 +1413,27 @@ }, "type": "object" }, - "v1.CustomResourceDefinitionSpec": { - "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", + "v1alpha1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a connection with the webhook", "properties": { - "conversion": { - "$ref": "#/definitions/v1.CustomResourceConversion", - "description": "conversion defines conversion settings for the CRD." - }, - "group": { - "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "format": "byte", "type": "string" }, - "names": { - "$ref": "#/definitions/v1.CustomResourceDefinitionNames", - "description": "names specify the resource and kind names for the custom resource." - }, - "preserveUnknownFields": { - "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", - "type": "boolean" + "service": { + "$ref": "#/definitions/v1alpha1.ServiceReference", + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, - "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", "type": "string" - }, - "versions": { - "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "items": { - "$ref": "#/definitions/v1.CustomResourceDefinitionVersion" - }, - "type": "array" } }, - "required": [ - "group", - "names", - "scope", - "versions" - ], "type": "object" }, "v1beta1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/definitions/v1beta1.AggregationRule", @@ -1534,7 +1510,7 @@ "type": "array" }, "sideEffects": { - "description": "SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", "type": "string" }, "timeoutSeconds": { @@ -1550,7 +1526,7 @@ "type": "object" }, "v1beta1.RoleList": { - "description": "RoleList is a collection of Roles", + "description": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -1620,35 +1596,69 @@ }, "type": "object" }, - "apps.v1beta1.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", + "v1.DeploymentStatus": { + "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/apps.v1beta1.RollingUpdateDeployment", - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", + "format": "int32", + "type": "integer" }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", - "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.", + "format": "int32", + "type": "integer" + }, + "conditions": { + "description": "Represents the latest available observations of a deployment's current state.", + "items": { + "$ref": "#/definitions/v1.DeploymentCondition" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "The generation observed by the deployment controller.", + "format": "int64", + "type": "integer" + }, + "readyReplicas": { + "description": "Total number of ready pods targeted by this deployment.", + "format": "int32", + "type": "integer" + }, + "replicas": { + "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", + "format": "int32", + "type": "integer" + }, + "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.", + "format": "int32", + "type": "integer" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "policy.v1beta1.SELinuxStrategyOptions": { - "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", + "v1alpha1.LimitedPriorityLevelConfiguration": { + "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?", "properties": { - "rule": { - "description": "rule is the strategy that will dictate the allowable labels that may be set.", - "type": "string" + "assuredConcurrencyShares": { + "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.", + "format": "int32", + "type": "integer" }, - "seLinuxOptions": { - "$ref": "#/definitions/v1.SELinuxOptions", - "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" + "limitResponse": { + "$ref": "#/definitions/v1alpha1.LimitResponse", + "description": "`limitResponse` indicates what to do with requests that can not be executed right now" } }, - "required": [ - "rule" - ], "type": "object" }, "v1.ManagedFieldsEntry": { @@ -1745,23 +1755,6 @@ ], "type": "object" }, - "policy.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. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/policy.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", - "type": "string" - } - }, - "type": "object" - }, "v1.SecretKeySelector": { "description": "SecretKeySelector selects a key of a Secret.", "properties": { @@ -1783,6 +1776,20 @@ ], "type": "object" }, + "v1.RollingUpdateDeployment": { + "description": "Spec to control the desired behavior of rolling update.", + "properties": { + "maxSurge": { + "$ref": "#/definitions/intstr.IntOrString", + "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 ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." + }, + "maxUnavailable": { + "$ref": "#/definitions/intstr.IntOrString", + "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 ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." + } + }, + "type": "object" + }, "v1alpha1.VolumeAttachmentList": { "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "properties": { @@ -1889,20 +1896,6 @@ } ] }, - "extensions.v1beta1.AllowedHostPath": { - "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", - "properties": { - "pathPrefix": { - "description": "pathPrefix 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" - }, - "readOnly": { - "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" - } - }, - "type": "object" - }, "v1.PodAntiAffinity": { "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "properties": { @@ -1923,47 +1916,40 @@ }, "type": "object" }, - "v1beta1.DaemonSetUpdateStrategy": { + "v1.ReplicaSetList": { + "description": "ReplicaSetList is a collection of ReplicaSets.", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/v1beta1.RollingUpdateDaemonSet", - "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." - }, - "type": { - "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" - } - }, - "type": "object" - }, - "v2beta2.MetricStatus": { - "description": "MetricStatus describes the last-read state of a single metric.", - "properties": { - "external": { - "$ref": "#/definitions/v2beta2.ExternalMetricStatus", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/v2beta2.ObjectMetricStatus", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, - "pods": { - "$ref": "#/definitions/v2beta2.PodsMetricStatus", - "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." - }, - "resource": { - "$ref": "#/definitions/v2beta2.ResourceMetricStatus", - "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." + "items": { + "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", + "items": { + "$ref": "#/definitions/v1.ReplicaSet" + }, + "type": "array" }, - "type": { - "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ - "type" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ReplicaSetList", + "version": "v1" + } + ] }, "v1.TokenRequestSpec": { "description": "TokenRequestSpec contains client provided parameters of a token request.", @@ -2007,38 +1993,6 @@ }, "type": "object" }, - "v1beta2.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", - "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).", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" - }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "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" - }, - "updateStrategy": { - "$ref": "#/definitions/v1beta2.DaemonSetUpdateStrategy", - "description": "An update strategy to replace existing DaemonSet pods with new pods." - } - }, - "required": [ - "selector", - "template" - ], - "type": "object" - }, "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": { @@ -2096,39 +2050,6 @@ }, "type": "object" }, - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "spec": { - "$ref": "#/definitions/v1beta2.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "#/definitions/v1beta2.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - ] - }, "v1.RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings", "properties": { @@ -2164,17 +2085,6 @@ } ] }, - "v1beta2.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource", - "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, "v1.SelfSubjectRulesReviewSpec": { "properties": { "namespace": { @@ -2229,37 +2139,6 @@ }, "type": "object" }, - "v1beta2.StatefulSetCondition": { - "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", - "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "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 statefulset condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, "v1.ReplicationControllerStatus": { "description": "ReplicationControllerStatus represents the current status of a replication controller.", "properties": { @@ -2338,113 +2217,6 @@ } ] }, - "v1.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": { - "$ref": "#/definitions/v1.RollingUpdateStatefulSetStrategy", - "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." - }, - "type": { - "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.", - "type": "string" - } - }, - "type": "object" - }, - "v1beta2.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", - "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", - "items": { - "$ref": "#/definitions/v1beta2.ReplicaSetCondition" - }, - "type": "array", - "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.", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", - "format": "int32", - "type": "integer" - }, - "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", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "extensions.v1beta1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", - "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)", - "format": "int32", - "type": "integer" - }, - "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 set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\".", - "format": "int32", - "type": "integer" - }, - "rollbackTo": { - "$ref": "#/definitions/extensions.v1beta1.RollbackConfig", - "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." - }, - "strategy": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentStrategy", - "description": "The deployment strategy to use to replace existing pods with new ones.", - "x-kubernetes-patch-strategy": "retainKeys" - }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "description": "Template describes the pods that will be created." - } - }, - "required": [ - "template" - ], - "type": "object" - }, "v1.ScaleStatus": { "description": "ScaleStatus represents the current status of a scale subresource.", "properties": { @@ -2466,6 +2238,10 @@ "v1.EndpointPort": { "description": "EndpointPort is a tuple that describes a single port.", "properties": { + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate.", + "type": "string" + }, "name": { "description": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.", "type": "string" @@ -2516,74 +2292,55 @@ ], "type": "object" }, - "v1beta1.CustomResourceDefinitionSpec": { - "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", + "v2alpha1.JobTemplateSpec": { + "description": "JobTemplateSpec describes the data a Job should have when created from a template", "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", - "items": { - "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" - }, - "type": "array" - }, - "conversion": { - "$ref": "#/definitions/v1beta1.CustomResourceConversion", - "description": "conversion defines conversion settings for the CRD." - }, - "group": { - "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", - "type": "string" - }, - "names": { - "$ref": "#/definitions/v1beta1.CustomResourceDefinitionNames", - "description": "names specify the resource and kind names for the custom resource." - }, - "preserveUnknownFields": { - "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", - "type": "boolean" - }, - "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", - "type": "string" - }, - "subresources": { - "$ref": "#/definitions/v1beta1.CustomResourceSubresources", - "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "validation": { - "$ref": "#/definitions/v1beta1.CustomResourceValidation", - "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." + "spec": { + "$ref": "#/definitions/v1.JobSpec", + "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object" + }, + "v1.ResourceQuotaSpec": { + "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", + "properties": { + "hard": { + "additionalProperties": { + "$ref": "#/definitions/resource.Quantity" + }, + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "type": "object" }, - "version": { - "description": "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.", - "type": "string" + "scopeSelector": { + "$ref": "#/definitions/v1.ScopeSelector", + "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched." }, - "versions": { - "description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "scopes": { + "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", "items": { - "$ref": "#/definitions/v1beta1.CustomResourceDefinitionVersion" + "type": "string" }, "type": "array" } }, - "required": [ - "group", - "names", - "scope" - ], "type": "object" }, - "apps.v1beta1.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", + "v1beta1.PodSecurityPolicyList": { + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of Deployments.", + "description": "items is a list of schema objects.", "items": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" }, "type": "array" }, @@ -2593,7 +2350,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata." + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -2602,76 +2359,12 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "DeploymentList", + "group": "policy", + "kind": "PodSecurityPolicyList", "version": "v1beta1" } ] }, - "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.", - "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" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "v2alpha1.JobTemplateSpec": { - "description": "JobTemplateSpec describes the data a Job should have when created from a template", - "properties": { - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/v1.JobSpec", - "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object" - }, - "v1.ResourceQuotaSpec": { - "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", - "properties": { - "hard": { - "additionalProperties": { - "$ref": "#/definitions/resource.Quantity" - }, - "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object" - }, - "scopeSelector": { - "$ref": "#/definitions/v1.ScopeSelector", - "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched." - }, - "scopes": { - "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "v1.CustomResourceDefinitionStatus": { "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "properties": { @@ -2694,10 +2387,6 @@ "type": "array" } }, - "required": [ - "acceptedNames", - "storedVersions" - ], "type": "object" }, "v1.DownwardAPIProjection": { @@ -2713,38 +2402,46 @@ }, "type": "object" }, - "v1.ResourceQuota": { - "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", + "v1.NodeSpec": { + "description": "NodeSpec describes the attributes that a node is created with.", "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/sig-architecture/api-conventions.md#resources", + "configSource": { + "$ref": "#/definitions/v1.NodeConfigSource", + "description": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field" + }, + "externalID": { + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", "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/sig-architecture/api-conventions.md#types-kinds", + "podCIDR": { + "description": "PodCIDR represents the pod IP range assigned to the node.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "podCIDRs": { + "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-patch-strategy": "merge" }, - "spec": { - "$ref": "#/definitions/v1.ResourceQuotaSpec", - "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "providerID": { + "description": "ID of the node assigned by the cloud provider in the format: ://", + "type": "string" }, - "status": { - "$ref": "#/definitions/v1.ResourceQuotaStatus", - "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "taints": { + "description": "If specified, the node's taints.", + "items": { + "$ref": "#/definitions/v1.Taint" + }, + "type": "array" + }, + "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" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - ] + "type": "object" }, "v1.SessionAffinityConfig": { "description": "SessionAffinityConfig represents the configurations of session affinity.", @@ -2823,53 +2520,6 @@ } ] }, - "v1beta1.StatefulSetSpec": { - "description": "A StatefulSetSpec is the specification of a StatefulSet.", - "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.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "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" - }, - "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": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "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." - }, - "updateStrategy": { - "$ref": "#/definitions/v1beta1.StatefulSetUpdateStrategy", - "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." - }, - "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": { - "$ref": "#/definitions/v1.PersistentVolumeClaim" - }, - "type": "array" - } - }, - "required": [ - "template", - "serviceName" - ], - "type": "object" - }, "apiextensions.v1.ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { @@ -2897,6 +2547,18 @@ ], "type": "object" }, + "v1.ExternalDocumentation": { + "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", + "properties": { + "description": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, "v1.ContainerStatus": { "description": "ContainerStatus contains details for the current status of this container.", "properties": { @@ -2980,7 +2642,7 @@ "type": "integer" }, "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.", + "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", "format": "int64", "type": "integer" } @@ -2993,6 +2655,26 @@ ], "type": "object" }, + "v1beta1.IDRange": { + "description": "IDRange provides a min/max of an allowed range of IDs.", + "properties": { + "max": { + "description": "max is the end of the range, inclusive.", + "format": "int64", + "type": "integer" + }, + "min": { + "description": "min is the start of the range, inclusive.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "min", + "max" + ], + "type": "object" + }, "v2beta2.HorizontalPodAutoscalerList": { "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", "properties": { @@ -3028,6 +2710,24 @@ } ] }, + "v1.CSINodeSpec": { + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", + "properties": { + "drivers": { + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", + "items": { + "$ref": "#/definitions/v1.CSINodeDriver" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "required": [ + "drivers" + ], + "type": "object" + }, "v1.APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "properties": { @@ -3109,6 +2809,19 @@ }, "type": "object" }, + "networking.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 RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the 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.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", + "type": "string" + }, + "http": { + "$ref": "#/definitions/networking.v1beta1.HTTPIngressRuleValue" + } + }, + "type": "object" + }, "networking.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 '#'.", "properties": { @@ -3135,79 +2848,6 @@ }, "type": "object" }, - "v1beta2.ControllerRevision": { - "description": "DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1/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.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "data": { - "description": "Data is the serialized representation of the state.", - "type": "object" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "revision": { - "description": "Revision indicates the revision of the state represented by Data.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "revision" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" - } - ] - }, - "v1beta1.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", - "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).", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "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" - }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "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" - }, - "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.", - "format": "int64", - "type": "integer" - }, - "updateStrategy": { - "$ref": "#/definitions/v1beta1.DaemonSetUpdateStrategy", - "description": "An update strategy to replace existing DaemonSet pods with new pods." - } - }, - "required": [ - "template" - ], - "type": "object" - }, "v1.AzureDiskVolumeSource": { "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", "properties": { @@ -3300,207 +2940,53 @@ ], "type": "object" }, - "v1.ConfigMap": { - "description": "ConfigMap holds configuration data for pods to consume.", + "v1.VolumeNodeAffinity": { + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", + "properties": { + "required": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "Required specifies hard node constraints that must be met." + } + }, + "type": "object" + }, + "v1.PersistentVolumeClaimList": { + "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim 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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "binaryData": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object" - }, - "data": { - "additionalProperties": { - "type": "string" + "items": { + "description": "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" }, - "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object" + "type": "array" }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "ConfigMap", + "kind": "PersistentVolumeClaimList", "version": "v1" } ] }, - "extensions.v1beta1.PodSecurityPolicy": { - "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicySpec", - "description": "spec defines the policy enforced." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - ] - }, - "v1beta2.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", - "properties": { - "maxSurge": { - "$ref": "#/definitions/intstr.IntOrString", - "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 ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." - }, - "maxUnavailable": { - "$ref": "#/definitions/intstr.IntOrString", - "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 ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." - } - }, - "type": "object" - }, - "v1.EnvVarSource": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", - "properties": { - "configMapKeyRef": { - "$ref": "#/definitions/v1.ConfigMapKeySelector", - "description": "Selects a key of a ConfigMap." - }, - "fieldRef": { - "$ref": "#/definitions/v1.ObjectFieldSelector", - "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP." - }, - "resourceFieldRef": { - "$ref": "#/definitions/v1.ResourceFieldSelector", - "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." - }, - "secretKeyRef": { - "$ref": "#/definitions/v1.SecretKeySelector", - "description": "Selects a key of a secret in the pod's namespace" - } - }, - "type": "object" - }, - "v1.PersistentVolumeClaimList": { - "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim 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/sig-architecture/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", - "items": { - "$ref": "#/definitions/v1.PersistentVolumeClaim" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "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.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "date-time", - "type": "string" - }, - "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/", - "items": { - "$ref": "#/definitions/v1.JobCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "failed": { - "description": "The number of pods which reached phase Failed.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "date-time", - "type": "string" - }, - "succeeded": { - "description": "The number of pods which reached phase Succeeded.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "v1alpha1.EndpointPort": { - "description": "EndpointPort represents a Port used by an EndpointSlice", - "properties": { - "name": { - "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass IANA_SVC_NAME validation: * must be no more than 15 characters long * may contain only [-a-z0-9] * must contain at least one letter [a-z] * it must not start or end with a hyphen, nor contain adjacent hyphens Default is empty string.", - "type": "string" - }, - "port": { - "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", - "type": "string" - } - }, - "type": "object" - }, - "v1.PersistentVolumeSpec": { - "description": "PersistentVolumeSpec is the specification of a persistent volume.", + "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", @@ -3624,7 +3110,7 @@ "description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" }, "volumeMode": { - "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.", + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.", "type": "string" }, "vsphereVolume": { @@ -3634,46 +3120,34 @@ }, "type": "object" }, - "v1beta1.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "v2beta1.HorizontalPodAutoscalerSpec": { + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", + "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.", "format": "int32", "type": "integer" }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", + "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.", "items": { - "$ref": "#/definitions/v1beta1.ReplicaSetCondition" + "$ref": "#/definitions/v2beta1.MetricSpec" }, - "type": "array", - "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.", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "format": "int64", - "type": "integer" + "type": "array" }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", "format": "int32", "type": "integer" }, - "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", - "format": "int32", - "type": "integer" + "scaleTargetRef": { + "$ref": "#/definitions/v2beta1.CrossVersionObjectReference", + "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." } }, "required": [ - "replicas" + "scaleTargetRef", + "maxReplicas" ], "type": "object" }, @@ -3716,54 +3190,6 @@ } ] }, - "v1beta2.StatefulSetSpec": { - "description": "A StatefulSetSpec is the specification of a StatefulSet.", - "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.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" - }, - "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": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "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." - }, - "updateStrategy": { - "$ref": "#/definitions/v1beta2.StatefulSetUpdateStrategy", - "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." - }, - "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": { - "$ref": "#/definitions/v1.PersistentVolumeClaim" - }, - "type": "array" - } - }, - "required": [ - "selector", - "template", - "serviceName" - ], - "type": "object" - }, "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>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.", "properties": { @@ -3824,38 +3250,38 @@ ], "type": "object" }, - "v1beta1.LeaseList": { - "description": "LeaseList is a list of Lease objects.", + "v1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/v1beta1.Lease" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/v1.SubjectAccessReviewSpec", + "description": "Spec holds information about the request being evaluated" + }, + "status": { + "$ref": "#/definitions/v1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "coordination.k8s.io", - "kind": "LeaseList", - "version": "v1beta1" + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" } ] }, @@ -4049,71 +3475,48 @@ } ] }, - "extensions.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. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.", + "v2beta2.MetricStatus": { + "description": "MetricStatus describes the last-read state of a single metric.", "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "external": { + "$ref": "#/definitions/v2beta2.ExternalMetricStatus", + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "object": { + "$ref": "#/definitions/v2beta2.ObjectMetricStatus", + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, - "spec": { - "$ref": "#/definitions/extensions.v1beta1.IngressSpec", - "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "pods": { + "$ref": "#/definitions/v2beta2.PodsMetricStatus", + "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." }, - "status": { - "$ref": "#/definitions/extensions.v1beta1.IngressStatus", - "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - ] - }, - "v1beta1.VolumeAttachmentSpec": { - "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", - "properties": { - "attacher": { - "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", - "type": "string" + "resource": { + "$ref": "#/definitions/v2beta2.ResourceMetricStatus", + "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." }, - "nodeName": { - "description": "The node that the volume should be attached to.", + "type": { + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", "type": "string" - }, - "source": { - "$ref": "#/definitions/v1beta1.VolumeAttachmentSource", - "description": "Source represents the volume that should be attached." } }, "required": [ - "attacher", - "source", - "nodeName" + "type" ], "type": "object" }, "extensions.v1beta1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", + "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/definitions/extensions.v1beta1.IngressBackend", "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "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.", + "description": "Path is 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 '/'. When unspecified, all paths from incoming requests are matched.", + "type": "string" + }, + "pathType": { + "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.", "type": "string" } }, @@ -4122,27 +3525,17 @@ ], "type": "object" }, - "v1beta1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", + "v1.NamespaceSpec": { + "description": "NamespaceSpec describes the attributes on a Namespace.", "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" + "finalizers": { + "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "apiGroup", - "kind", - "name" - ], "type": "object" }, "v1.LeaseList": { @@ -4214,45 +3607,45 @@ }, "type": "object" }, - "v1.ContainerStateWaiting": { - "description": "ContainerStateWaiting is a waiting state of a container.", + "v1alpha1.FlowSchemaCondition": { + "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { + "lastTransitionTime": { + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", + "format": "date-time", + "type": "string" + }, "message": { - "description": "Message regarding why the container is not yet running.", + "description": "`message` is a human-readable message indicating details about last transition.", "type": "string" }, "reason": { - "description": "(brief) reason the container is not yet running.", + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", + "type": "string" + }, + "type": { + "description": "`type` is the type of the condition. Required.", "type": "string" } }, "type": "object" }, - "v1beta2.ReplicaSetSpec": { - "description": "ReplicaSetSpec is the specification of a ReplicaSet.", + "v1.ContainerStateWaiting": { + "description": "ContainerStateWaiting is a waiting state of a container.", "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)", - "format": "int32", - "type": "integer" - }, - "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", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" + "message": { + "description": "Message regarding why the container is not yet running.", + "type": "string" }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "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" + "reason": { + "description": "(brief) reason the container is not yet running.", + "type": "string" } }, - "required": [ - "selector" - ], "type": "object" }, "v1.ConfigMapKeySelector": { @@ -4364,6 +3757,45 @@ }, "type": "object" }, + "v1.CustomResourceDefinitionSpec": { + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", + "properties": { + "conversion": { + "$ref": "#/definitions/v1.CustomResourceConversion", + "description": "conversion defines conversion settings for the CRD." + }, + "group": { + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", + "type": "string" + }, + "names": { + "$ref": "#/definitions/v1.CustomResourceDefinitionNames", + "description": "names specify the resource and kind names for the custom resource." + }, + "preserveUnknownFields": { + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", + "type": "boolean" + }, + "scope": { + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.", + "type": "string" + }, + "versions": { + "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "items": { + "$ref": "#/definitions/v1.CustomResourceDefinitionVersion" + }, + "type": "array" + } + }, + "required": [ + "group", + "names", + "scope", + "versions" + ], + "type": "object" + }, "v2beta1.HorizontalPodAutoscalerCondition": { "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { @@ -4402,6 +3834,10 @@ "$ref": "#/definitions/networking.v1beta1.IngressBackend", "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." }, + "ingressClassName": { + "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.", + "type": "string" + }, "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.", "items": { @@ -4419,38 +3855,22 @@ }, "type": "object" }, - "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.", + "v1beta1.SupplementalGroupsStrategyOptions": { + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "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. Required for MustRunAs.", + "items": { + "$ref": "#/definitions/v1beta1.IDRange" + }, + "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "rule": { + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata." - }, - "spec": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentSpec", - "description": "Specification of the desired behavior of the Deployment." - }, - "status": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentStatus", - "description": "Most recently observed status of the Deployment." } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - ] + "type": "object" }, "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.", @@ -4473,19 +3893,6 @@ }, "type": "object" }, - "extensions.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", - "properties": { - "driver": { - "description": "driver is the name of the Flexvolume driver.", - "type": "string" - } - }, - "required": [ - "driver" - ], - "type": "object" - }, "v1beta1.PodDisruptionBudgetList": { "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "properties": { @@ -4519,44 +3926,32 @@ } ] }, - "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.", + "v1beta1.AllowedHostPath": { + "description": "AllowedHostPath 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": { - "monitors": { - "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array" - }, - "path": { - "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "pathPrefix": { + "description": "pathPrefix 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" }, "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", "type": "boolean" - }, - "secretFile": { - "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - }, - "secretRef": { - "$ref": "#/definitions/v1.SecretReference", - "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" - }, - "user": { - "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" } }, - "required": [ - "monitors" - ], + "type": "object" + }, + "v1.PodIP": { + "description": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n IP: An IP address allocated to the pod. Routable at least within the cluster.", + "properties": { + "ip": { + "description": "ip is an IP address (IPv4 or IPv6) assigned to the pod", + "type": "string" + } + }, "type": "object" }, "v1alpha1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -4587,6 +3982,21 @@ } ] }, + "v1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", + "properties": { + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", + "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, "v1.Sysctl": { "description": "Sysctl defines a kernel parameter to be set", "properties": { @@ -4631,67 +4041,19 @@ ], "type": "object" }, - "v1.TopologySpreadConstraint": { - "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "v1alpha1.PriorityLevelConfigurationReference": { + "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { - "labelSelector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." - }, - "maxSkew": { - "description": "MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.", - "format": "int32", - "type": "integer" - }, - "topologyKey": { - "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", - "type": "string" - }, - "whenUnsatisfiable": { - "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", + "name": { + "description": "`name` is the name of the priority level configuration being referenced Required.", "type": "string" } }, "required": [ - "maxSkew", - "topologyKey", - "whenUnsatisfiable" + "name" ], "type": "object" }, - "v1beta1.ReplicaSet": { - "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.", - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "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/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/v1beta1.ReplicaSetSpec", - "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/v1beta1.ReplicaSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - ] - }, "v1alpha1.AuditSink": { "description": "AuditSink represents a cluster level audit sink", "properties": { @@ -4723,6 +4085,10 @@ "networking.v1beta1.IngressBackend": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { + "resource": { + "$ref": "#/definitions/v1.TypedLocalObjectReference", + "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." + }, "serviceName": { "description": "Specifies the name of the referenced service.", "type": "string" @@ -4732,10 +4098,6 @@ "description": "Specifies the port of the referenced service." } }, - "required": [ - "serviceName", - "servicePort" - ], "type": "object" }, "v1.ValidatingWebhook": { @@ -4797,147 +4159,6 @@ ], "type": "object" }, - "extensions.v1beta1.PodSecurityPolicySpec": { - "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", - "properties": { - "allowPrivilegeEscalation": { - "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" - }, - "allowedCSIDrivers": { - "description": "AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.AllowedCSIDriver" - }, - "type": "array" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedFlexVolumes": { - "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.AllowedFlexVolume" - }, - "type": "array" - }, - "allowedHostPaths": { - "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.AllowedHostPath" - }, - "type": "array" - }, - "allowedProcMountTypes": { - "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedUnsafeSysctls": { - "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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 capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", - "items": { - "type": "string" - }, - "type": "array" - }, - "defaultAllowPrivilegeEscalation": { - "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" - }, - "forbiddenSysctls": { - "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", - "items": { - "type": "string" - }, - "type": "array" - }, - "fsGroup": { - "$ref": "#/definitions/extensions.v1beta1.FSGroupStrategyOptions", - "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." - }, - "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.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.HostPortRange" - }, - "type": "array" - }, - "privileged": { - "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "runAsGroup": { - "$ref": "#/definitions/extensions.v1beta1.RunAsGroupStrategyOptions", - "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." - }, - "runAsUser": { - "$ref": "#/definitions/extensions.v1beta1.RunAsUserStrategyOptions", - "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." - }, - "runtimeClass": { - "$ref": "#/definitions/extensions.v1beta1.RuntimeClassStrategyOptions", - "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." - }, - "seLinux": { - "$ref": "#/definitions/extensions.v1beta1.SELinuxStrategyOptions", - "description": "seLinux is the strategy that will dictate the allowable labels that may be set." - }, - "supplementalGroups": { - "$ref": "#/definitions/extensions.v1beta1.SupplementalGroupsStrategyOptions", - "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." - }, - "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "seLinux", - "runAsUser", - "supplementalGroups", - "fsGroup" - ], - "type": "object" - }, "v1.SubjectAccessReviewStatus": { "description": "SubjectAccessReviewStatus", "properties": { @@ -4963,38 +4184,41 @@ ], "type": "object" }, - "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.", + "v1.OwnerReference": { + "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "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/sig-architecture/api-conventions.md#resources", + "description": "API version of the referent.", "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 is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/v1beta1.DaemonSetSpec", - "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "name": { + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" }, - "status": { - "$ref": "#/definitions/v1beta1.DaemonSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" + "uid": { + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", + "type": "string" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - ] + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "type": "object" }, "v2alpha1.CronJobStatus": { "description": "CronJobStatus represents the current state of a cron job.", @@ -5014,6 +4238,19 @@ }, "type": "object" }, + "v1beta1.AllowedCSIDriver": { + "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", + "properties": { + "name": { + "description": "Name is the registered name of the CSI driver", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "v1.PersistentVolumeClaim": { "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", "properties": { @@ -5068,40 +4305,26 @@ }, "type": "object" }, - "v1beta1.StorageClassList": { - "description": "StorageClassList is a collection of storage classes.", + "v1alpha1.QueuingConfiguration": { + "description": "QueuingConfiguration holds the configuration parameters for queuing", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of StorageClasses", - "items": { - "$ref": "#/definitions/v1beta1.StorageClass" - }, - "type": "array" + "handSize": { + "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", + "format": "int32", + "type": "integer" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "queueLengthLimit": { + "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", + "format": "int32", + "type": "integer" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "queues": { + "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", + "format": "int32", + "type": "integer" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClassList", - "version": "v1beta1" - } - ] + "type": "object" }, "v1beta1.CSINodeSpec": { "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", @@ -5271,65 +4494,29 @@ ], "type": "object" }, - "v1beta2.ReplicaSetCondition": { - "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", + "v2beta2.MetricTarget": { + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", "properties": { - "lastTransitionTime": { - "description": "The last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "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" + "averageUtilization": { + "description": "averageUtilization 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. Currently only valid for Resource metric source type", + "format": "int32", + "type": "integer" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "averageValue": { + "$ref": "#/definitions/resource.Quantity", + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" }, "type": { - "description": "Type of replica set condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "v1beta2.DaemonSetCondition": { - "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", - "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "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.", + "description": "type represents whether the metric type is Utilization, Value, or AverageValue", "type": "string" }, - "type": { - "description": "Type of DaemonSet condition.", - "type": "string" + "value": { + "$ref": "#/definitions/resource.Quantity", + "description": "value is the target value of the metric (as a quantity)." } }, "required": [ - "type", - "status" + "type" ], "type": "object" }, @@ -5388,7 +4575,7 @@ "type": "string" }, "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15.", + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", "type": "string" } }, @@ -5398,30 +4585,6 @@ ], "type": "object" }, - "extensions.v1beta1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", - "properties": { - "backend": { - "$ref": "#/definitions/extensions.v1beta1.IngressBackend", - "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." - }, - "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.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.IngressRule" - }, - "type": "array" - }, - "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.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.IngressTLS" - }, - "type": "array" - } - }, - "type": "object" - }, "v1.NamespaceList": { "description": "NamespaceList is a list of Namespaces.", "properties": { @@ -5624,7 +4787,7 @@ }, "startupProbe": { "$ref": "#/definitions/v1.Probe", - "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is an alpha feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "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.", @@ -5647,7 +4810,7 @@ "type": "boolean" }, "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", + "description": "volumeDevices is the list of block devices to be used by the container.", "items": { "$ref": "#/definitions/v1.VolumeDevice" }, @@ -5690,47 +4853,6 @@ ], "type": "object" }, - "v2alpha1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", - "properties": { - "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", - "type": "string" - }, - "failedJobsHistoryLimit": { - "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "format": "int32", - "type": "integer" - }, - "jobTemplate": { - "$ref": "#/definitions/v2alpha1.JobTemplateSpec", - "description": "Specifies the job that will be created when executing a CronJob." - }, - "schedule": { - "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "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.", - "format": "int64", - "type": "integer" - }, - "successfulJobsHistoryLimit": { - "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "format": "int32", - "type": "integer" - }, - "suspend": { - "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" - } - }, - "required": [ - "schedule", - "jobTemplate" - ], - "type": "object" - }, "v1.Status": { "description": "Status is a return value for calls that don't return other objects.", "properties": { @@ -5777,73 +4899,6 @@ } ] }, - "v1beta2.StatefulSet": { - "description": "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/v1beta2.StatefulSetSpec", - "description": "Spec defines the desired identities of pods in this set." - }, - "status": { - "$ref": "#/definitions/v1beta2.StatefulSetStatus", - "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - ] - }, - "v1beta1.ReplicaSetList": { - "description": "ReplicaSetList is a collection of 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", - "items": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "ReplicaSetList", - "version": "v1beta1" - } - ] - }, "v1.LocalObjectReference": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { @@ -5872,30 +4927,39 @@ }, "type": "object" }, - "v1beta2.ScaleStatus": { - "description": "ScaleStatus represents the current status of a scale subresource.", + "v1beta1.MutatingWebhookConfiguration": { + "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.", "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "format": "int32", - "type": "integer" - }, - "selector": { - "additionalProperties": { - "type": "string" - }, - "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object" + "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/sig-architecture/api-conventions.md#resources", + "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", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + }, + "webhooks": { + "description": "Webhooks is a list of webhooks and the affected resources and operations.", + "items": { + "$ref": "#/definitions/v1beta1.MutatingWebhook" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" } }, - "required": [ - "replicas" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" + } + ] }, "v1.DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", @@ -5947,6 +5011,10 @@ "extensions.v1beta1.IngressBackend": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { + "resource": { + "$ref": "#/definitions/v1.TypedLocalObjectReference", + "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." + }, "serviceName": { "description": "Specifies the name of the referenced service.", "type": "string" @@ -5956,10 +5024,6 @@ "description": "Specifies the port of the referenced service." } }, - "required": [ - "serviceName", - "servicePort" - ], "type": "object" }, "networking.v1beta1.Ingress": { @@ -6035,33 +5099,6 @@ ], "type": "object" }, - "v1.PodDNSConfig": { - "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", - "properties": { - "nameservers": { - "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "options": { - "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", - "items": { - "$ref": "#/definitions/v1.PodDNSConfigOption" - }, - "type": "array" - }, - "searches": { - "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "v2beta1.HorizontalPodAutoscalerStatus": { "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { @@ -6144,7 +5181,7 @@ ] }, "v1beta1.CSINode": { - "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", + "description": "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -6210,35 +5247,34 @@ } ] }, - "v1.CSIVolumeSource": { - "description": "Represents a source location of a volume to mount, managed by an external CSI driver", + "v1.DaemonSetCondition": { + "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", "properties": { - "driver": { - "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "format": "date-time", "type": "string" }, - "fsType": { - "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", + "message": { + "description": "A human readable message indicating details about the transition.", "type": "string" }, - "nodePublishSecretRef": { - "$ref": "#/definitions/v1.LocalObjectReference", - "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed." + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" }, - "readOnly": { - "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", - "type": "boolean" + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" }, - "volumeAttributes": { - "additionalProperties": { - "type": "string" - }, - "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", - "type": "object" + "type": { + "description": "Type of DaemonSet condition.", + "type": "string" } }, "required": [ - "driver" + "type", + "status" ], "type": "object" }, @@ -6262,41 +5298,6 @@ }, "type": "object" }, - "v1.ReplicaSetList": { - "description": "ReplicaSetList is a collection of 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", - "items": { - "$ref": "#/definitions/v1.ReplicaSet" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ReplicaSetList", - "version": "v1" - } - ] - }, "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": { @@ -6345,6 +5346,19 @@ }, "type": "object" }, + "v1alpha1.UserSubject": { + "description": "UserSubject holds detailed information for user-kind subject.", + "properties": { + "name": { + "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "v1.NetworkPolicySpec": { "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "properties": { @@ -6410,44 +5424,22 @@ } ] }, - "policy.v1beta1.RuntimeClassStrategyOptions": { - "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", + "v1.EnvFromSource": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", "properties": { - "allowedRuntimeClassNames": { - "description": "allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.", - "items": { - "type": "string" - }, - "type": "array" + "configMapRef": { + "$ref": "#/definitions/v1.ConfigMapEnvSource", + "description": "The ConfigMap to select from" }, - "defaultRuntimeClassName": { - "description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.", + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", "type": "string" - } - }, - "required": [ - "allowedRuntimeClassNames" - ], - "type": "object" - }, - "policy.v1beta1.RunAsUserStrategyOptions": { - "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", - "properties": { - "ranges": { - "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/policy.v1beta1.IDRange" - }, - "type": "array" }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", - "type": "string" + "secretRef": { + "$ref": "#/definitions/v1.SecretEnvSource", + "description": "The Secret to select from" } }, - "required": [ - "rule" - ], "type": "object" }, "v1.Service": { @@ -6556,38 +5548,6 @@ ], "type": "object" }, - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/v1beta1.StatefulSetSpec", - "description": "Spec defines the desired identities of pods in this set." - }, - "status": { - "$ref": "#/definitions/v1beta1.StatefulSetStatus", - "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" - } - ] - }, "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": { @@ -6608,39 +5568,80 @@ }, "type": "object" }, - "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.", + "v1.RBDPersistentVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { - "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.", + "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#rbd", "type": "string" }, - "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" + "image": { + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" }, - "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.", - "items": { - "$ref": "#/definitions/v1.NonResourceRule" - }, - "type": "array" + "keyring": { + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" }, - "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.", + "monitors": { + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "items": { - "$ref": "#/definitions/v1.ResourceRule" + "type": "string" }, "type": "array" + }, + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/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: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/v1.SecretReference", + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "user": { + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" } }, "required": [ - "resourceRules", - "nonResourceRules", - "incomplete" + "monitors", + "image" ], "type": "object" }, + "v1beta1.PodSecurityPolicy": { + "description": "PodSecurityPolicy 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicySpec", + "description": "spec defines the policy enforced." + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + ] + }, "v1.JSONSchemaProps": { "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", "properties": { @@ -6711,6 +5712,7 @@ "$ref": "#/definitions/v1.ExternalDocumentation" }, "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -6807,14 +5809,18 @@ "type": "boolean" }, "x-kubernetes-list-map-keys": { - "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).", + "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.", "items": { "type": "string" }, "type": "array" }, "x-kubernetes-list-type": { - "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar (or another atomic type).\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", + "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", + "type": "string" + }, + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", "type": "string" }, "x-kubernetes-preserve-unknown-fields": { @@ -6824,6 +5830,39 @@ }, "type": "object" }, + "v1.ResourceQuota": { + "description": "ResourceQuota sets aggregate quota restrictions enforced per 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: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1.ResourceQuotaSpec", + "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/v1.ResourceQuotaStatus", + "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + ] + }, "v1beta1.NonResourceAttributes": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { @@ -6896,60 +5935,6 @@ ], "type": "object" }, - "v1beta1.NetworkPolicyPeer": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", - "properties": { - "ipBlock": { - "$ref": "#/definitions/v1beta1.IPBlock", - "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." - }, - "namespaceSelector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector." - }, - "podSelector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace." - } - }, - "type": "object" - }, - "v1alpha1.Endpoint": { - "description": "Endpoint represents a single logical \"backend\" implementing a service.", - "properties": { - "addresses": { - "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. This allows for cases like dual-stack (IPv4 and IPv6) networking. Consumers (e.g. kube-proxy) must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "conditions": { - "$ref": "#/definitions/v1alpha1.EndpointConditions", - "description": "conditions contains information about the current status of the endpoint." - }, - "hostname": { - "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.", - "type": "string" - }, - "targetRef": { - "$ref": "#/definitions/v1.ObjectReference", - "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." - }, - "topology": { - "additionalProperties": { - "type": "string" - }, - "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.", - "type": "object" - } - }, - "required": [ - "addresses" - ], - "type": "object" - }, "v1.ReplicationControllerCondition": { "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", "properties": { @@ -6995,55 +5980,30 @@ }, "type": "object" }, - "v1alpha1.PodPresetList": { - "description": "PodPresetList is a list of PodPreset objects.", + "admissionregistration.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "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/sig-architecture/api-conventions.md#resources", + "name": { + "description": "`name` is the name of the service. Required", "type": "string" }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/v1alpha1.PodPreset" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", + "namespace": { + "description": "`namespace` is the namespace of the service. Required", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "settings.k8s.io", - "kind": "PodPresetList", - "version": "v1alpha1" - } - ] - }, - "extensions.v1beta1.SELinuxStrategyOptions": { - "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", - "properties": { - "rule": { - "description": "rule is the strategy that will dictate the allowable labels that may be set.", + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", "type": "string" }, - "seLinuxOptions": { - "$ref": "#/definitions/v1.SELinuxOptions", - "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" + "port": { + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", + "format": "int32", + "type": "integer" } }, "required": [ - "rule" + "namespace", + "name" ], "type": "object" }, @@ -7090,6 +6050,9 @@ "type": "string" } }, + "required": [ + "type" + ], "type": "object" }, "v1.ConfigMapVolumeSource": { @@ -7154,14 +6117,14 @@ ] }, "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.", + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") 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.", "properties": { "cidr": { - "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", + "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\"", "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", + "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR range", "items": { "type": "string" }, @@ -7192,33 +6155,6 @@ }, "type": "object" }, - "v1.LabelSelectorRequirement": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "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.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, "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": { @@ -7317,10 +6253,6 @@ "type": "array" } }, - "required": [ - "acceptedNames", - "storedVersions" - ], "type": "object" }, "v2beta1.MetricSpec": { @@ -7408,33 +6340,6 @@ ], "type": "object" }, - "admissionregistration.v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "`name` is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "`namespace` is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "`path` is an optional URL path which will be sent in any request to this service.", - "type": "string" - }, - "port": { - "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "namespace", - "name" - ], - "type": "object" - }, "v1beta1.APIServiceList": { "description": "APIServiceList is a list of APIService objects.", "properties": { @@ -7520,96 +6425,42 @@ }, "type": "object" }, - "v1alpha1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "v1beta1.EndpointConditions": { + "description": "EndpointConditions represents the current condition of an endpoint.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ClusterRoleBindings", - "items": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata." + "ready": { + "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.", + "type": "boolean" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", - "version": "v1alpha1" - } - ] + "type": "object" }, - "apps.v1beta1.ScaleStatus": { - "description": "ScaleStatus represents the current status of a scale subresource.", + "v1.HorizontalPodAutoscalerSpec": { + "description": "specification of a horizontal pod autoscaler.", "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", + "maxReplicas": { + "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", "format": "int32", "type": "integer" }, - "selector": { - "additionalProperties": { - "type": "string" - }, - "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object" - }, - "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" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "v1beta1.VolumeNodeResources": { - "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", - "properties": { - "count": { - "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.", + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", "format": "int32", "type": "integer" - } - }, - "type": "object" - }, - "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.", - "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.", + "scaleTargetRef": { + "$ref": "#/definitions/v1.CrossVersionObjectReference", + "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." + }, + "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.", "format": "int32", "type": "integer" - }, - "targetAverageValue": { - "$ref": "#/definitions/resource.Quantity", - "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." } }, "required": [ - "name" + "scaleTargetRef", + "maxReplicas" ], "type": "object" }, @@ -7670,53 +6521,61 @@ } ] }, - "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.CustomResourceDefinitionSpec": { + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "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/sig-architecture/api-conventions.md#resources", + "additionalPrinterColumns": { + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" + }, + "type": "array" + }, + "conversion": { + "$ref": "#/definitions/v1beta1.CustomResourceConversion", + "description": "conversion defines conversion settings for the CRD." + }, + "group": { + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", "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/sig-architecture/api-conventions.md#types-kinds", + "names": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionNames", + "description": "names specify the resource and kind names for the custom resource." + }, + "preserveUnknownFields": { + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", + "type": "boolean" + }, + "scope": { + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" + "subresources": { + "$ref": "#/definitions/v1beta1.CustomResourceSubresources", + "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." }, - "spec": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated. user and groups must be empty" + "validation": { + "$ref": "#/definitions/v1beta1.CustomResourceValidation", + "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." }, - "status": { - "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "version": { + "description": "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.", + "type": "string" + }, + "versions": { + "description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionVersion" + }, + "type": "array" } }, "required": [ - "spec" + "group", + "names", + "scope" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1beta1" - } - ] - }, - "v1beta2.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", - "properties": { - "rollingUpdate": { - "$ref": "#/definitions/v1beta2.RollingUpdateDeployment", - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." - }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", - "type": "string" - } - }, "type": "object" }, "v1.APIServiceCondition": { @@ -7810,19 +6669,6 @@ }, "type": "object" }, - "networking.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/networking.v1beta1.HTTPIngressRuleValue" - } - }, - "type": "object" - }, "v1beta1.ValidatingWebhookConfiguration": { "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.", "properties": { @@ -7857,45 +6703,22 @@ } ] }, - "v1.NodeSpec": { - "description": "NodeSpec describes the attributes that a node is created with.", + "v1alpha1.ServiceAccountSubject": { + "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { - "configSource": { - "$ref": "#/definitions/v1.NodeConfigSource", - "description": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field" - }, - "externalID": { - "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", - "type": "string" - }, - "podCIDR": { - "description": "PodCIDR represents the pod IP range assigned to the node.", + "name": { + "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", "type": "string" }, - "podCIDRs": { - "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-patch-strategy": "merge" - }, - "providerID": { - "description": "ID of the node assigned by the cloud provider in the format: ://", + "namespace": { + "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", "type": "string" - }, - "taints": { - "description": "If specified, the node's taints.", - "items": { - "$ref": "#/definitions/v1.Taint" - }, - "type": "array" - }, - "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" } }, + "required": [ + "namespace", + "name" + ], "type": "object" }, "v1.VolumeProjection": { @@ -7920,100 +6743,15 @@ }, "type": "object" }, - "v1alpha1.Policy": { - "description": "Policy defines the configuration of how audit events are logged", - "properties": { - "level": { - "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required", - "type": "string" - }, - "stages": { - "description": "Stages is a list of stages for which events are created.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "level" - ], - "type": "object" - }, - "v1.VolumeNodeAffinity": { - "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", - "properties": { - "required": { - "$ref": "#/definitions/v1.NodeSelector", - "description": "Required specifies hard node constraints that must be met." - } - }, - "type": "object" - }, - "v1beta2.DaemonSetStatus": { - "description": "DaemonSetStatus represents the current status of a daemon set.", + "v1beta1.VolumeNodeResources": { + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", "properties": { - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a DaemonSet's current state.", - "items": { - "$ref": "#/definitions/v1beta2.DaemonSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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)", - "format": "int32", - "type": "integer" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "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)", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "The most recent generation observed by the daemon set controller.", - "format": "int64", - "type": "integer" - }, - "updatedNumberScheduled": { - "description": "The total number of nodes that are running updated daemon pod", + "count": { + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.", "format": "int32", "type": "integer" } }, - "required": [ - "currentNumberScheduled", - "numberMisscheduled", - "desiredNumberScheduled", - "numberReady" - ], "type": "object" }, "v1.NodeSelector": { @@ -8087,85 +6825,111 @@ ], "type": "object" }, - "v1alpha1.RoleList": { - "description": "RoleList is a collection of Roles", + "v1beta1.CustomResourceDefinitionCondition": { + "description": "CustomResourceDefinitionCondition contains details for the current condition of this 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "lastTransitionTime": { + "description": "lastTransitionTime last time the condition transitioned from one status to another.", + "format": "date-time", "type": "string" }, - "items": { - "description": "Items is a list of Roles", - "items": { - "$ref": "#/definitions/v1alpha1.Role" - }, - "type": "array" + "message": { + "description": "message is a 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "reason": { + "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata." + "status": { + "description": "status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", + "type": "string" } }, "required": [ - "items" + "type", + "status" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1alpha1" - } - ] + "type": "object" }, - "v1.RBDVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "rbac.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.", "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: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "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" }, - "image": { - "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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" }, - "keyring": { - "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "name": { + "description": "Name of the object being referenced.", "type": "string" }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "v1beta1.EndpointSlice": { + "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", + "properties": { + "addressType": { + "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "endpoints": { + "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", "items": { - "type": "string" + "$ref": "#/definitions/v1beta1.Endpoint" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/v1.LocalObjectReference", - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata." }, - "user": { - "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" + "ports": { + "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", + "items": { + "$ref": "#/definitions/v1beta1.EndpointPort" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "monitors", - "image" + "addressType", + "endpoints" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1beta1" + } + ] }, "v1.KeyToPath": { "description": "Maps a string key to a path within a volume.", @@ -8190,63 +6954,6 @@ ], "type": "object" }, - "v1.CustomResourceDefinitionNames": { - "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", - "properties": { - "categories": { - "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", - "type": "string" - }, - "listKind": { - "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", - "type": "string" - }, - "plural": { - "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", - "type": "string" - }, - "shortNames": { - "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", - "items": { - "type": "string" - }, - "type": "array" - }, - "singular": { - "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", - "type": "string" - } - }, - "required": [ - "plural", - "kind" - ], - "type": "object" - }, - "policy.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. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/policy.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", - "type": "string" - } - }, - "type": "object" - }, "v1.LocalVolumeSource": { "description": "Local represents directly-attached storage with node affinity (Beta feature)", "properties": { @@ -8290,38 +6997,46 @@ ], "type": "object" }, - "v2beta2.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.", + "v2alpha1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "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/sig-architecture/api-conventions.md#resources", + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", "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/sig-architecture/api-conventions.md#types-kinds", + "failedJobsHistoryLimit": { + "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", + "format": "int32", + "type": "integer" + }, + "jobTemplate": { + "$ref": "#/definitions/v2alpha1.JobTemplateSpec", + "description": "Specifies the job that will be created when executing a CronJob." + }, + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "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.", + "format": "int64", + "type": "integer" }, - "spec": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerSpec", - "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "successfulJobsHistoryLimit": { + "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", + "format": "int32", + "type": "integer" }, - "status": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerStatus", - "description": "status is the current information about the autoscaler." + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - ] + "required": [ + "schedule", + "jobTemplate" + ], + "type": "object" }, "v1beta1.SelfSubjectRulesReviewSpec": { "properties": { @@ -8367,39 +7082,22 @@ } ] }, - "v1.CustomResourceDefinitionList": { - "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", + "v1alpha1.FlowSchemaStatus": { + "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items list individual CustomResourceDefinition objects", + "conditions": { + "description": "`conditions` is a list of the current states of FlowSchema.", "items": { - "$ref": "#/definitions/v1.CustomResourceDefinition" + "$ref": "#/definitions/v1alpha1.FlowSchemaCondition" }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta" + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinitionList", - "version": "v1" - } - ] + "type": "object" }, "v1.PersistentVolumeStatus": { "description": "PersistentVolumeStatus is the current status of a persistent volume.", @@ -8516,50 +7214,37 @@ ], "type": "object" }, - "v1beta1.NetworkPolicySpec": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.", + "flowcontrol.v1alpha1.Subject": { + "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { - "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", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyEgressRule" - }, - "type": "array" + "group": { + "$ref": "#/definitions/v1alpha1.GroupSubject" }, - "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).", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyIngressRule" - }, - "type": "array" + "kind": { + "description": "Required", + "type": "string" }, - "podSelector": { - "$ref": "#/definitions/v1.LabelSelector", - "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." + "serviceAccount": { + "$ref": "#/definitions/v1alpha1.ServiceAccountSubject" }, - "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", - "items": { - "type": "string" - }, - "type": "array" + "user": { + "$ref": "#/definitions/v1alpha1.UserSubject" } }, "required": [ - "podSelector" + "kind" ], - "type": "object" - }, - "v1.ClientIPConfig": { - "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", - "properties": { - "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).", - "format": "int32", - "type": "integer" + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "kind", + "fields-to-discriminateBy": { + "group": "Group", + "serviceAccount": "ServiceAccount", + "user": "User" + } } - }, - "type": "object" + ] }, "v1.UserInfo": { "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", @@ -8616,6 +7301,41 @@ ], "type": "object" }, + "v1beta1.StorageClassList": { + "description": "StorageClassList is a collection of storage classes.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of StorageClasses", + "items": { + "$ref": "#/definitions/v1beta1.StorageClass" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "StorageClassList", + "version": "v1beta1" + } + ] + }, "v2beta2.ExternalMetricStatus": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { @@ -8679,40 +7399,6 @@ } ] }, - "v1.PersistentVolumeClaimCondition": { - "description": "PersistentVolumeClaimCondition contails details about state of pvc", - "properties": { - "lastProbeTime": { - "description": "Last time we probed the condition.", - "format": "date-time", - "type": "string" - }, - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "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" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, "v1.Lease": { "description": "Lease defines a lease concept.", "properties": { @@ -8742,41 +7428,6 @@ } ] }, - "v1beta2.ControllerRevisionList": { - "description": "ControllerRevisionList is a resource containing a list of ControllerRevision 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of ControllerRevisions", - "items": { - "$ref": "#/definitions/v1beta2.ControllerRevision" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ControllerRevisionList", - "version": "v1beta2" - } - ] - }, "apiextensions.v1.WebhookClientConfig": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", "properties": { @@ -8796,97 +7447,24 @@ }, "type": "object" }, - "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.", + "v1beta1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/v1beta1.RollingUpdateStatefulSetStrategy", - "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." + "inlineVolumeSpec": { + "$ref": "#/definitions/v1.PersistentVolumeSpec", + "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, - "type": { - "description": "Type indicates the type of the StatefulSetUpdateStrategy.", + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", "type": "string" } }, "type": "object" }, - "extensions.v1beta1.Scale": { - "description": "represents a scaling request for a resource.", + "v1beta1.ExternalDocumentation": { + "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "spec": { - "$ref": "#/definitions/extensions.v1beta1.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "#/definitions/extensions.v1beta1.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - ] - }, - "v1beta1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", - "properties": { - "inlineVolumeSpec": { - "$ref": "#/definitions/v1.PersistentVolumeSpec", - "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." - }, - "persistentVolumeName": { - "description": "Name of the persistent volume to attach.", - "type": "string" - } - }, - "type": "object" - }, - "v2beta2.MetricTarget": { - "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", - "properties": { - "averageUtilization": { - "description": "averageUtilization 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. Currently only valid for Resource metric source type", - "format": "int32", - "type": "integer" - }, - "averageValue": { - "$ref": "#/definitions/resource.Quantity", - "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" - }, - "type": { - "description": "type represents whether the metric type is Utilization, Value, or AverageValue", - "type": "string" - }, - "value": { - "$ref": "#/definitions/resource.Quantity", - "description": "value is the target value of the metric (as a quantity)." - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "v1beta1.ExternalDocumentation": { - "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", - "properties": { - "description": { + "description": { "type": "string" }, "url": { @@ -8932,71 +7510,40 @@ "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" }, - "v1beta1.DaemonSetStatus": { - "description": "DaemonSetStatus represents the current status of a daemon set.", + "v1beta1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "properties": { - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a DaemonSet's current state.", - "items": { - "$ref": "#/definitions/v1beta1.DaemonSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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)", - "format": "int32", - "type": "integer" - }, - "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/", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "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.", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "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)", - "format": "int32", - "type": "integer" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" }, - "observedGeneration": { - "description": "The most recent generation observed by the daemon set controller.", - "format": "int64", - "type": "integer" + "spec": { + "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec", + "description": "Spec holds information about the request being evaluated" }, - "updatedNumberScheduled": { - "description": "The total number of nodes that are running updated daemon pod", - "format": "int32", - "type": "integer" + "status": { + "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "required": [ - "currentNumberScheduled", - "numberMisscheduled", - "desiredNumberScheduled", - "numberReady" + "spec" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1beta1" + } + ] }, "v1.NodeCondition": { "description": "NodeCondition contains condition information for a node.", @@ -9105,7 +7652,6 @@ } }, "required": [ - "service", "groupPriorityMinimum", "versionPriority" ], @@ -9159,25 +7705,41 @@ ], "type": "object" }, - "policy.v1beta1.HostPortRange": { - "description": "HostPortRange 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.", + "v1beta1.EndpointSliceList": { + "description": "EndpointSliceList represents a list of endpoint slices", "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int32", - "type": "integer" + "items": { + "description": "List of endpoint slices", + "items": { + "$ref": "#/definitions/v1beta1.EndpointSlice" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata." } }, "required": [ - "min", - "max" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "discovery.k8s.io", + "kind": "EndpointSliceList", + "version": "v1beta1" + } + ] }, "networking.v1beta1.IngressTLS": { "description": "IngressTLS describes the transport layer security associated with an Ingress.", @@ -9190,7 +7752,7 @@ "type": "array" }, "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.", + "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS 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" } }, @@ -9214,81 +7776,53 @@ ], "type": "object" }, - "v1.NamespaceCondition": { - "description": "NamespaceCondition contains details about state of namespace.", + "v1.PodTemplate": { + "description": "PodTemplate describes a template for creating copies of a predefined pod.", "properties": { - "lastTransitionTime": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", - "format": "date-time", - "type": "string" - }, - "message": { + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "reason": { + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "type": { - "description": "Type of namespace controller condition.", - "type": "string" + "template": { + "$ref": "#/definitions/v1.PodTemplateSpec", + "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "type", - "status" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + ] }, - "v1.DeploymentStatus": { - "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "v1.SELinuxOptions": { + "description": "SELinuxOptions are the labels to be applied to the container", "properties": { - "availableReplicas": { - "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "items": { - "$ref": "#/definitions/v1.DeploymentCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "format": "int32", - "type": "integer" + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "format": "int32", - "type": "integer" + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" }, - "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.", - "format": "int32", - "type": "integer" + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "format": "int32", - "type": "integer" + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" } }, "type": "object" @@ -9395,26 +7929,6 @@ } ] }, - "extensions.v1beta1.RunAsUserStrategyOptions": { - "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", - "properties": { - "ranges": { - "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", - "type": "string" - } - }, - "required": [ - "rule" - ], - "type": "object" - }, "v1beta1.CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { @@ -9469,67 +7983,40 @@ }, "type": "object" }, - "v1beta1.CustomResourceColumnDefinition": { - "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "v1.ServiceAccountList": { + "description": "ServiceAccountList is a list of ServiceAccount objects", "properties": { - "JSONPath": { - "description": "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", - "type": "string" - }, - "description": { - "description": "description is a human readable description of this column.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "format": { - "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", - "type": "string" + "items": { + "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "items": { + "$ref": "#/definitions/v1.ServiceAccount" + }, + "type": "array" }, - "name": { - "description": "name is a human readable name for the column.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "priority": { - "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ - "name", - "type", - "JSONPath" + "items" ], - "type": "object" - }, - "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" - }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/v1.ObjectReference", - "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." - }, - "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" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ServiceAccountList", + "version": "v1" } - }, - "type": "object" + ] }, "v1.Event": { "description": "Event is a report of an event somewhere in the cluster.", @@ -9734,17 +8221,6 @@ ], "type": "object" }, - "extensions.v1beta1.RollbackConfig": { - "description": "DEPRECATED.", - "properties": { - "revision": { - "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "format": "int64", - "type": "integer" - } - }, - "type": "object" - }, "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": { @@ -9759,42 +8235,6 @@ }, "type": "object" }, - "apps.v1beta1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", - "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "lastUpdateTime": { - "description": "The last time this condition was updated.", - "format": "date-time", - "type": "string" - }, - "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" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, "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": { @@ -9927,35 +8367,6 @@ }, "type": "object" }, - "policy.v1beta1.PodSecurityPolicy": { - "description": "PodSecurityPolicy 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicySpec", - "description": "spec defines the policy enforced." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - ] - }, "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.", "properties": { @@ -10023,33 +8434,31 @@ ], "type": "object" }, - "v2beta2.MetricSpec": { - "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", + "v1.PodDNSConfig": { + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", "properties": { - "external": { - "$ref": "#/definitions/v2beta2.ExternalMetricSource", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/v2beta2.ObjectMetricSource", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." - }, - "pods": { - "$ref": "#/definitions/v2beta2.PodsMetricSource", - "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." + "nameservers": { + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", + "items": { + "type": "string" + }, + "type": "array" }, - "resource": { - "$ref": "#/definitions/v2beta2.ResourceMetricSource", - "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." + "options": { + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", + "items": { + "$ref": "#/definitions/v1.PodDNSConfigOption" + }, + "type": "array" }, - "type": { - "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", - "type": "string" + "searches": { + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "type" - ], "type": "object" }, "v1.Lifecycle": { @@ -10066,39 +8475,58 @@ }, "type": "object" }, - "v1.Scale": { - "description": "Scale represents a scaling request for a resource.", + "v1.NodeList": { + "description": "NodeList is the whole list of all Nodes which have been registered with master.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "List of nodes", + "items": { + "$ref": "#/definitions/v1.Node" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "spec": { - "$ref": "#/definitions/v1.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "#/definitions/v1.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "autoscaling", - "kind": "Scale", + "group": "", + "kind": "NodeList", "version": "v1" } ] }, + "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).", + "properties": { + "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" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, "v1beta1.Lease": { "description": "Lease defines a lease concept.", "properties": { @@ -10302,6 +8730,11 @@ "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "discovery.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "WatchEvent", @@ -10312,6 +8745,11 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "imagepolicy.k8s.io", "kind": "WatchEvent", @@ -10394,6 +8832,32 @@ } ] }, + "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.", + "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: https://kubernetes.io/docs/concepts/storage/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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "format": "int32", + "type": "integer" + }, + "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": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + }, + "required": [ + "pdName" + ], + "type": "object" + }, "v1.HTTPGetAction": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { @@ -10441,6 +8905,10 @@ "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" }, + "immutable": { + "description": "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -10470,20 +8938,6 @@ } ] }, - "v1.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", - "properties": { - "maxSurge": { - "$ref": "#/definitions/intstr.IntOrString", - "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 ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." - }, - "maxUnavailable": { - "$ref": "#/definitions/intstr.IntOrString", - "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 ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." - } - }, - "type": "object" - }, "v1.TypedLocalObjectReference": { "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "properties": { @@ -10539,6 +8993,27 @@ } ] }, + "v1.ResourceFieldSelector": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "$ref": "#/definitions/resource.Quantity", + "description": "Specifies the output format of the exposed resources, defaults to \"1\"" + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object" + }, "v2beta1.MetricStatus": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { @@ -10568,6 +9043,28 @@ ], "type": "object" }, + "v1.CSIDriverSpec": { + "description": "CSIDriverSpec is the specification of a CSIDriver.", + "properties": { + "attachRequired": { + "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.", + "type": "boolean" + }, + "podInfoOnMount": { + "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.", + "type": "boolean" + }, + "volumeLifecycleModes": { + "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "type": "object" + }, "v2beta2.ExternalMetricSource": { "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", "properties": { @@ -10619,16 +9116,87 @@ } ] }, - "v1alpha1.EndpointConditions": { - "description": "EndpointConditions represents the current condition of an endpoint.", + "v1alpha1.ResourcePolicyRule": { + "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", "properties": { - "ready": { - "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.", + "apiGroups": { + "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "clusterScope": { + "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", "type": "boolean" + }, + "namespaces": { + "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "resources": { + "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" } }, + "required": [ + "verbs", + "apiGroups", + "resources" + ], "type": "object" }, + "v1.CustomResourceDefinitionList": { + "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition 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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items list individual CustomResourceDefinition objects", + "items": { + "$ref": "#/definitions/v1.CustomResourceDefinition" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", + "version": "v1" + } + ] + }, "v2beta2.PodsMetricStatus": { "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "properties": { @@ -10682,177 +9250,32 @@ } ] }, - "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)", - "format": "int32", - "type": "integer" - }, - "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", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "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" - }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "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" - } - }, - "type": "object" - }, - "v1beta1.NetworkPolicyIngressRule": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. 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 one item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyPeer" - }, - "type": "array" - }, - "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.", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyPort" - }, - "type": "array" - } - }, - "type": "object" - }, - "policy.v1beta1.PodSecurityPolicySpec": { - "description": "PodSecurityPolicySpec defines the policy enforced.", + "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.", "properties": { - "allowPrivilegeEscalation": { - "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" - }, - "allowedCSIDrivers": { - "description": "AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.", - "items": { - "$ref": "#/definitions/policy.v1beta1.AllowedCSIDriver" - }, - "type": "array" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedFlexVolumes": { - "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", - "items": { - "$ref": "#/definitions/policy.v1beta1.AllowedFlexVolume" - }, - "type": "array" - }, - "allowedHostPaths": { - "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", - "items": { - "$ref": "#/definitions/policy.v1beta1.AllowedHostPath" - }, - "type": "array" - }, - "allowedProcMountTypes": { - "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedUnsafeSysctls": { - "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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 capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", + "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.", "items": { "type": "string" }, "type": "array" }, - "defaultAllowPrivilegeEscalation": { - "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" - }, - "forbiddenSysctls": { - "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "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.", "items": { "type": "string" }, "type": "array" }, - "fsGroup": { - "$ref": "#/definitions/policy.v1beta1.FSGroupStrategyOptions", - "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." - }, - "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.", - "items": { - "$ref": "#/definitions/policy.v1beta1.HostPortRange" - }, - "type": "array" - }, - "privileged": { - "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" - }, - "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.", + "resources": { + "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", "items": { "type": "string" }, "type": "array" }, - "runAsGroup": { - "$ref": "#/definitions/policy.v1beta1.RunAsGroupStrategyOptions", - "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." - }, - "runAsUser": { - "$ref": "#/definitions/policy.v1beta1.RunAsUserStrategyOptions", - "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." - }, - "runtimeClass": { - "$ref": "#/definitions/policy.v1beta1.RuntimeClassStrategyOptions", - "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." - }, - "seLinux": { - "$ref": "#/definitions/policy.v1beta1.SELinuxStrategyOptions", - "description": "seLinux is the strategy that will dictate the allowable labels that may be set." - }, - "supplementalGroups": { - "$ref": "#/definitions/policy.v1beta1.SupplementalGroupsStrategyOptions", - "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." - }, - "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", + "verbs": { + "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", "items": { "type": "string" }, @@ -10860,10 +9283,7 @@ } }, "required": [ - "seLinux", - "runAsUser", - "supplementalGroups", - "fsGroup" + "verbs" ], "type": "object" }, @@ -10884,65 +9304,65 @@ ], "type": "object" }, - "extensions.v1beta1.HostPortRange": { - "description": "HostPortRange 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. Deprecated: use HostPortRange from policy API Group instead.", + "v1alpha1.PriorityLevelConfigurationCondition": { + "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int32", - "type": "integer" + "lastTransitionTime": { + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", + "format": "date-time", + "type": "string" }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "min", - "max" - ], - "type": "object" - }, - "extensions.v1beta1.DeploymentRollback": { - "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "message": { + "description": "`message` is a 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "reason": { + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, - "name": { - "description": "Required: This must match the Name of a deployment.", + "status": { + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", "type": "string" }, - "rollbackTo": { - "$ref": "#/definitions/extensions.v1beta1.RollbackConfig", - "description": "The config of this deployment rollback." + "type": { + "description": "`type` is the type of the condition. Required.", + "type": "string" + } + }, + "type": "object" + }, + "v1alpha1.PolicyRulesWithSubjects": { + "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", + "properties": { + "nonResourceRules": { + "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", + "items": { + "$ref": "#/definitions/v1alpha1.NonResourcePolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "updatedAnnotations": { - "additionalProperties": { - "type": "string" + "resourceRules": { + "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", + "items": { + "$ref": "#/definitions/v1alpha1.ResourcePolicyRule" }, - "description": "The annotations to be updated to a deployment", - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "subjects": { + "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", + "items": { + "$ref": "#/definitions/flowcontrol.v1alpha1.Subject" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "name", - "rollbackTo" + "subjects" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "DeploymentRollback", - "version": "v1beta1" - } - ] + "type": "object" }, "v1.FlexVolumeSource": { "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", @@ -10976,38 +9396,133 @@ ], "type": "object" }, - "v1beta2.Deployment": { - "description": "DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.", + "v1.EphemeralContainer": { + "description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.", "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/sig-architecture/api-conventions.md#resources", + "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", + "items": { + "type": "string" + }, + "type": "array" + }, + "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", + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "items": { + "$ref": "#/definitions/v1.EnvVar" + }, + "type": "array", + "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.", + "items": { + "$ref": "#/definitions/v1.EnvFromSource" + }, + "type": "array" + }, + "image": { + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", "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/sig-architecture/api-conventions.md#types-kinds", + "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" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata." + "lifecycle": { + "$ref": "#/definitions/v1.Lifecycle", + "description": "Lifecycle is not allowed for ephemeral containers." }, - "spec": { - "$ref": "#/definitions/v1beta2.DeploymentSpec", - "description": "Specification of the desired behavior of the Deployment." + "livenessProbe": { + "$ref": "#/definitions/v1.Probe", + "description": "Probes are not allowed for ephemeral containers." }, - "status": { - "$ref": "#/definitions/v1beta2.DeploymentStatus", - "description": "Most recently observed status of the Deployment." + "name": { + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.", + "type": "string" + }, + "ports": { + "description": "Ports are not allowed for ephemeral containers.", + "items": { + "$ref": "#/definitions/v1.ContainerPort" + }, + "type": "array" + }, + "readinessProbe": { + "$ref": "#/definitions/v1.Probe", + "description": "Probes are not allowed for ephemeral containers." + }, + "resources": { + "$ref": "#/definitions/v1.ResourceRequirements", + "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." + }, + "securityContext": { + "$ref": "#/definitions/v1.SecurityContext", + "description": "SecurityContext is not allowed for ephemeral containers." + }, + "startupProbe": { + "$ref": "#/definitions/v1.Probe", + "description": "Probes are not allowed for ephemeral containers." + }, + "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" + }, + "targetContainerName": { + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.", + "type": "string" + }, + "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" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "items": { + "$ref": "#/definitions/v1.VolumeDevice" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "items": { + "$ref": "#/definitions/v1.VolumeMount" + }, + "type": "array", + "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" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } - ] + "required": [ + "name" + ], + "type": "object" }, "v1.DeleteOptions": { "description": "DeleteOptions may be provided when deleting an API object.", @@ -11182,6 +9697,11 @@ "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "DeleteOptions", @@ -11192,6 +9712,11 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "imagepolicy.k8s.io", "kind": "DeleteOptions", @@ -11369,6 +9894,13 @@ "$ref": "#/definitions/v1.SessionAffinityConfig", "description": "sessionAffinityConfig contains the configurations of session affinity." }, + "topologyKeys": { + "description": "topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.", + "items": { + "type": "string" + }, + "type": "array" + }, "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" @@ -11431,7 +9963,7 @@ "type": "object" }, "v1alpha1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -11490,24 +10022,6 @@ }, "type": "object" }, - "v1.EnvFromSource": { - "description": "EnvFromSource represents the source of a set of ConfigMaps", - "properties": { - "configMapRef": { - "$ref": "#/definitions/v1.ConfigMapEnvSource", - "description": "The ConfigMap to select from" - }, - "prefix": { - "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", - "type": "string" - }, - "secretRef": { - "$ref": "#/definitions/v1.SecretEnvSource", - "description": "The Secret to select from" - } - }, - "type": "object" - }, "v1alpha1.RoleRef": { "description": "RoleRef contains information that points to the role being used", "properties": { @@ -11531,44 +10045,27 @@ ], "type": "object" }, - "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.", + "v1.EnvVarSource": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "configMapKeyRef": { + "$ref": "#/definitions/v1.ConfigMapKeySelector", + "description": "Selects a key of a ConfigMap." }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata." + "fieldRef": { + "$ref": "#/definitions/v1.ObjectFieldSelector", + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." }, - "roleRef": { - "$ref": "#/definitions/v1beta1.RoleRef", - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." + "resourceFieldRef": { + "$ref": "#/definitions/v1.ResourceFieldSelector", + "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." }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/v1beta1.Subject" - }, - "type": "array" + "secretKeyRef": { + "$ref": "#/definitions/v1.SecretKeySelector", + "description": "Selects a key of a secret in the pod's namespace" } }, - "required": [ - "roleRef" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - ] + "type": "object" }, "v1beta1.TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", @@ -11640,7 +10137,7 @@ "type": "string" }, "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.", + "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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", "items": { "type": "string" }, @@ -11702,98 +10199,6 @@ }, "type": "object" }, - "v1beta1.StatefulSetList": { - "description": "StatefulSetList is a collection of StatefulSets.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "items": { - "$ref": "#/definitions/v1beta1.StatefulSet" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "StatefulSetList", - "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.", - "properties": { - "chapAuthDiscovery": { - "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" - }, - "chapAuthSession": { - "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" - }, - "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" - }, - "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": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", - "type": "string" - }, - "lun": { - "description": "iSCSI Target Lun number.", - "format": "int32", - "type": "integer" - }, - "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).", - "items": { - "type": "string" - }, - "type": "array" - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/v1.LocalObjectReference", - "description": "CHAP Secret for iSCSI target and initiator authentication" - }, - "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" - } - }, - "required": [ - "targetPortal", - "iqn", - "lun" - ], - "type": "object" - }, "v1beta1.VolumeAttachmentList": { "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "properties": { @@ -11855,7 +10260,7 @@ "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.", + "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 RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the 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.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", "type": "string" }, "http": { @@ -11864,54 +10269,6 @@ }, "type": "object" }, - "v1alpha1.EndpointSlice": { - "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", - "properties": { - "addressType": { - "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. Default is IP", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "endpoints": { - "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", - "items": { - "$ref": "#/definitions/v1alpha1.Endpoint" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "ports": { - "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", - "items": { - "$ref": "#/definitions/v1alpha1.EndpointPort" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "endpoints" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" - } - ] - }, "v1beta1.AggregationRule": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { @@ -11925,38 +10282,59 @@ }, "type": "object" }, - "apps.v1beta1.Scale": { - "description": "Scale represents a scaling request for a resource.", + "v1.CSINodeDriver": { + "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", "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/sig-architecture/api-conventions.md#resources", + "allocatable": { + "$ref": "#/definitions/v1.VolumeNodeResources", + "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta." + }, + "name": { + "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", "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/sig-architecture/api-conventions.md#types-kinds", + "nodeID": { + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + "topologyKeys": { + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "name", + "nodeID" + ], + "type": "object" + }, + "v2beta2.HPAScalingPolicy": { + "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.", + "properties": { + "periodSeconds": { + "description": "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).", + "format": "int32", + "type": "integer" }, - "spec": { - "$ref": "#/definitions/apps.v1beta1.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "type": { + "description": "Type is used to specify the scaling policy.", + "type": "string" }, - "status": { - "$ref": "#/definitions/apps.v1beta1.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." + "value": { + "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero", + "format": "int32", + "type": "integer" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" - } - ] + "required": [ + "type", + "value", + "periodSeconds" + ], + "type": "object" }, "v1.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.", @@ -12018,20 +10396,6 @@ }, "type": "object" }, - "policy.v1beta1.AllowedHostPath": { - "description": "AllowedHostPath 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": { - "pathPrefix": { - "description": "pathPrefix 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" - }, - "readOnly": { - "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" - } - }, - "type": "object" - }, "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": { @@ -12116,7 +10480,7 @@ "type": "string" }, "value": { - "description": "Required. The taint value corresponding to the taint key.", + "description": "The taint value corresponding to the taint key.", "type": "string" } }, @@ -12127,14 +10491,18 @@ "type": "object" }, "networking.v1beta1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", + "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/definitions/networking.v1beta1.IngressBackend", "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "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.", + "description": "Path is 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 '/'. When unspecified, all paths from incoming requests are matched.", + "type": "string" + }, + "pathType": { + "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.", "type": "string" } }, @@ -12197,20 +10565,74 @@ }, "type": "object" }, - "v1.VolumeError": { - "description": "VolumeError captures an error encountered during a volume operation.", + "v1alpha1.FlowSchemaList": { + "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { - "message": { - "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "time": { - "description": "Time the error was encountered.", - "format": "date-time", + "items": { + "description": "`items` is a list of FlowSchemas.", + "items": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" } }, - "type": "object" + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchemaList", + "version": "v1alpha1" + } + ] + }, + "v1alpha1.PriorityLevelConfiguration": { + "description": "PriorityLevelConfiguration represents the configuration of a priority level.", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationSpec", + "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationStatus", + "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + ] }, "v1.ClusterRoleBindingList": { "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", @@ -12247,6 +10669,26 @@ } ] }, + "v1beta1.RuntimeClassStrategyOptions": { + "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", + "properties": { + "allowedRuntimeClassNames": { + "description": "allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.", + "items": { + "type": "string" + }, + "type": "array" + }, + "defaultRuntimeClassName": { + "description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.", + "type": "string" + } + }, + "required": [ + "allowedRuntimeClassNames" + ], + "type": "object" + }, "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.", "properties": { @@ -12291,82 +10733,64 @@ ], "type": "object" }, - "v1beta1.CertificateSigningRequest": { - "description": "Describes a certificate signing request", + "v1.CSIDriverList": { + "description": "CSIDriverList is a collection of CSIDriver 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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "items is the list of CSIDriver", + "items": { + "$ref": "#/definitions/v1.CSIDriver" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequestSpec", - "description": "The certificate request itself and any additional information." - }, - "status": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequestStatus", - "description": "Derived information about the request." + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSIDriverList", + "version": "v1" } ] }, - "v1beta1.CustomResourceDefinitionCondition": { - "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", + "extensions.v1beta1.IngressStatus": { + "description": "IngressStatus describe the current state of the Ingress.", "properties": { - "lastTransitionTime": { - "description": "lastTransitionTime last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "message": { - "description": "message is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "status is the status of the condition. Can be True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", - "type": "string" + "loadBalancer": { + "$ref": "#/definitions/v1.LoadBalancerStatus", + "description": "LoadBalancer contains the current status of the load-balancer." } }, - "required": [ - "type", - "status" - ], "type": "object" }, "v1.WindowsSecurityContextOptions": { "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", "properties": { "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.", + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", "type": "string" }, "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.", + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", "type": "string" }, "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag.", + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the 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": "string" } }, @@ -12386,18 +10810,38 @@ ], "type": "object" }, - "v1beta1.NetworkPolicyPort": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.", + "v1.PersistentVolumeClaimCondition": { + "description": "PersistentVolumeClaimCondition contails details about state of pvc", "properties": { - "port": { - "$ref": "#/definitions/intstr.IntOrString", - "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." + "lastProbeTime": { + "description": "Last time we probed the condition.", + "format": "date-time", + "type": "string" }, - "protocol": { - "description": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "format": "date-time", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "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" + }, + "status": { + "type": "string" + }, + "type": { "type": "string" } }, + "required": [ + "type", + "status" + ], "type": "object" }, "v2beta1.ObjectMetricSource": { @@ -12494,15 +10938,133 @@ ], "type": "object" }, - "v1beta1.IPBlock": { - "description": "DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. 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.", + "v1beta1.PodSecurityPolicySpec": { + "description": "PodSecurityPolicySpec defines the policy enforced.", "properties": { - "cidr": { - "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", - "type": "string" + "allowPrivilegeEscalation": { + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "type": "boolean" }, - "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", + "allowedCSIDrivers": { + "description": "AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.", + "items": { + "$ref": "#/definitions/v1beta1.AllowedCSIDriver" + }, + "type": "array" + }, + "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "allowedFlexVolumes": { + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", + "items": { + "$ref": "#/definitions/v1beta1.AllowedFlexVolume" + }, + "type": "array" + }, + "allowedHostPaths": { + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "items": { + "$ref": "#/definitions/v1beta1.AllowedHostPath" + }, + "type": "array" + }, + "allowedProcMountTypes": { + "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", + "items": { + "type": "string" + }, + "type": "array" + }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "items": { + "type": "string" + }, + "type": "array" + }, + "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 capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", + "items": { + "type": "string" + }, + "type": "array" + }, + "defaultAllowPrivilegeEscalation": { + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "boolean" + }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "items": { + "type": "string" + }, + "type": "array" + }, + "fsGroup": { + "$ref": "#/definitions/v1beta1.FSGroupStrategyOptions", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." + }, + "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.", + "items": { + "$ref": "#/definitions/v1beta1.HostPortRange" + }, + "type": "array" + }, + "privileged": { + "description": "privileged determines if a pod can request to be run as privileged.", + "type": "boolean" + }, + "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "runAsGroup": { + "$ref": "#/definitions/v1beta1.RunAsGroupStrategyOptions", + "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." + }, + "runAsUser": { + "$ref": "#/definitions/v1beta1.RunAsUserStrategyOptions", + "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." + }, + "runtimeClass": { + "$ref": "#/definitions/v1beta1.RuntimeClassStrategyOptions", + "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." + }, + "seLinux": { + "$ref": "#/definitions/v1beta1.SELinuxStrategyOptions", + "description": "seLinux is the strategy that will dictate the allowable labels that may be set." + }, + "supplementalGroups": { + "$ref": "#/definitions/v1beta1.SupplementalGroupsStrategyOptions", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." + }, + "volumes": { + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", "items": { "type": "string" }, @@ -12510,7 +11072,10 @@ } }, "required": [ - "cidr" + "seLinux", + "runAsUser", + "supplementalGroups", + "fsGroup" ], "type": "object" }, @@ -12615,20 +11180,39 @@ } ] }, - "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.Endpoint": { + "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { - "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", + "addresses": { + "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "conditions": { + "$ref": "#/definitions/v1beta1.EndpointConditions", + "description": "conditions contains information about the current status of the endpoint." + }, + "hostname": { + "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.", "type": "string" }, - "readOnly": { - "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "targetRef": { + "$ref": "#/definitions/v1.ObjectReference", + "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." + }, + "topology": { + "additionalProperties": { + "type": "string" + }, + "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.", + "type": "object" } }, "required": [ - "claimName" + "addresses" ], "type": "object" }, @@ -12657,6 +11241,35 @@ ], "type": "object" }, + "v1.NamespaceCondition": { + "description": "NamespaceCondition contains details about state of namespace.", + "properties": { + "lastTransitionTime": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "format": "date-time", + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of namespace controller condition.", + "type": "string" + } + }, + "required": [ + "type", + "status" + ], + "type": "object" + }, "v1.ServerAddressByClientCIDR": { "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "properties": { @@ -12675,6 +11288,31 @@ ], "type": "object" }, + "v1alpha1.LimitResponse": { + "description": "LimitResponse defines how to handle requests that can not be executed right now.", + "properties": { + "queuing": { + "$ref": "#/definitions/v1alpha1.QueuingConfiguration", + "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." + }, + "type": { + "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "queuing": "Queuing" + } + } + ] + }, "v1beta1.Event": { "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", "properties": { @@ -12888,54 +11526,6 @@ }, "type": "object" }, - "v1alpha1.PodPresetSpec": { - "description": "PodPresetSpec is a description of a pod preset.", - "properties": { - "env": { - "description": "Env defines the collection of EnvVar to inject into containers.", - "items": { - "$ref": "#/definitions/v1.EnvVar" - }, - "type": "array" - }, - "envFrom": { - "description": "EnvFrom defines the collection of EnvFromSource to inject into containers.", - "items": { - "$ref": "#/definitions/v1.EnvFromSource" - }, - "type": "array" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "Selector is a label query over a set of resources, in this case pods. Required." - }, - "volumeMounts": { - "description": "VolumeMounts defines the collection of VolumeMount to inject into containers.", - "items": { - "$ref": "#/definitions/v1.VolumeMount" - }, - "type": "array" - }, - "volumes": { - "description": "Volumes defines the collection of Volume to inject into the pod.", - "items": { - "$ref": "#/definitions/v1.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "extensions.v1beta1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "$ref": "#/definitions/v1.LoadBalancerStatus", - "description": "LoadBalancer contains the current status of the load-balancer." - } - }, - "type": "object" - }, "v1.APIGroup": { "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "properties": { @@ -13004,7 +11594,7 @@ "type": "object" }, "v1beta1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -13035,29 +11625,13 @@ } ] }, - "policy.v1beta1.IDRange": { - "description": "IDRange provides a min/max of an allowed range of IDs.", - "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int64", - "type": "integer" - }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "min", - "max" - ], - "type": "object" - }, "v2beta2.HorizontalPodAutoscalerSpec": { "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { + "behavior": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerBehavior", + "description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used." + }, "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.", "format": "int32", @@ -13087,7 +11661,7 @@ "type": "object" }, "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.", + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -13108,7 +11682,7 @@ "subjects": { "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/v1alpha1.Subject" + "$ref": "#/definitions/rbac.v1alpha1.Subject" }, "type": "array" } @@ -13136,7 +11710,7 @@ "type": "array" }, "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.", + "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.", "items": { "type": "string" }, @@ -13169,30 +11743,6 @@ ], "type": "object" }, - "policy.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", - "properties": { - "driver": { - "description": "driver is the name of the Flexvolume driver.", - "type": "string" - } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "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.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, "v1.APIService": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { @@ -13264,37 +11814,6 @@ }, "type": "object" }, - "v1.DaemonSetCondition": { - "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", - "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "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 DaemonSet condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, "v1.Role": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "properties": { @@ -13362,16 +11881,44 @@ } ] }, - "extensions.v1beta1.AllowedCSIDriver": { - "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", + "v1.ContainerStateTerminated": { + "description": "ContainerStateTerminated is a terminated state of a container.", "properties": { - "name": { - "description": "Name is the registered name of the CSI driver", + "containerID": { + "description": "Container's ID in the format 'docker://'", + "type": "string" + }, + "exitCode": { + "description": "Exit status from the last termination of the container", + "format": "int32", + "type": "integer" + }, + "finishedAt": { + "description": "Time at which the container last terminated", + "format": "date-time", + "type": "string" + }, + "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", + "format": "int32", + "type": "integer" + }, + "startedAt": { + "description": "Time at which previous execution of the container started", + "format": "date-time", "type": "string" } }, "required": [ - "name" + "exitCode" ], "type": "object" }, @@ -13470,40 +12017,15 @@ } ] }, - "v1.ValidatingWebhookConfigurationList": { - "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", + "v1.RollingUpdateDaemonSet": { + "description": "Spec to control the desired behavior of daemon set rolling update.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ValidatingWebhookConfiguration.", - "items": { - "$ref": "#/definitions/v1.ValidatingWebhookConfiguration" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "maxUnavailable": { + "$ref": "#/definitions/intstr.IntOrString", + "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." } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfigurationList", - "version": "v1" - } - ] + "type": "object" }, "v1.LimitRange": { "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", @@ -13602,54 +12124,41 @@ } ] }, - "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.", + "v1.ClientIPConfig": { + "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "data": { - "description": "Data is the serialized representation of the state.", - "type": "object" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "revision": { - "description": "Revision indicates the revision of the state represented by Data.", - "format": "int64", + "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).", + "format": "int32", "type": "integer" } }, - "required": [ - "revision" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" - } - ] + "type": "object" }, - "v1.NamespaceSpec": { - "description": "NamespaceSpec describes the attributes on a Namespace.", + "v1alpha1.NonResourcePolicyRule": { + "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { - "finalizers": { - "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", + "nonResourceURLs": { + "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "set" + }, + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" } }, + "required": [ + "verbs", + "nonResourceURLs" + ], "type": "object" }, "v2beta2.ResourceMetricStatus": { @@ -13670,38 +12179,67 @@ ], "type": "object" }, - "v1.ServiceAccountList": { - "description": "ServiceAccountList is a list of ServiceAccount objects", + "v1.StorageOSPersistentVolumeSource": { + "description": "Represents a StorageOS persistent volume 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/sig-architecture/api-conventions.md#resources", + "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" }, - "items": { - "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", - "items": { - "$ref": "#/definitions/v1.ServiceAccount" - }, - "type": "array" + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "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/sig-architecture/api-conventions.md#types-kinds", + "secretRef": { + "$ref": "#/definitions/v1.ObjectReference", + "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." + }, + "volumeName": { + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "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" + } + }, + "type": "object" + }, + "v1alpha1.GroupSubject": { + "description": "GroupSubject holds detailed information for group-kind subject.", + "properties": { + "name": { + "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", + "type": "string" } }, "required": [ - "items" + "name" + ], + "type": "object" + }, + "v1alpha1.PriorityLevelConfigurationSpec": { + "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", + "properties": { + "limited": { + "$ref": "#/definitions/v1alpha1.LimitedPriorityLevelConfiguration", + "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." + }, + "type": { + "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", + "type": "string" + } + }, + "required": [ + "type" ], "type": "object", - "x-kubernetes-group-version-kind": [ + "x-kubernetes-unions": [ { - "group": "", - "kind": "ServiceAccountList", - "version": "v1" + "discriminator": "type", + "fields-to-discriminateBy": { + "limited": "Limited" + } } ] }, @@ -13777,16 +12315,6 @@ } ] }, - "v1beta2.RollingUpdateDaemonSet": { - "description": "Spec to control the desired behavior of daemon set rolling update.", - "properties": { - "maxUnavailable": { - "$ref": "#/definitions/intstr.IntOrString", - "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": "object" - }, "v1.VolumeAttachmentSource": { "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", "properties": { @@ -13801,18 +12329,100 @@ }, "type": "object" }, - "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.", + "v1beta1.CustomResourceDefinitionVersion": { + "description": "CustomResourceDefinitionVersion describes a version for CRD.", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/v1beta2.RollingUpdateStatefulSetStrategy", - "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." + "additionalPrinterColumns": { + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" + }, + "type": "array" + }, + "name": { + "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.", + "type": "string" + }, + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceValidation", + "description": "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)." + }, + "served": { + "description": "served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" + }, + "storage": { + "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", + "type": "boolean" + }, + "subresources": { + "$ref": "#/definitions/v1beta1.CustomResourceSubresources", + "description": "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)." + } + }, + "required": [ + "name", + "served", + "storage" + ], + "type": "object" + }, + "v1beta1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "properties": { + "JSONPath": { + "description": "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", + "type": "string" + }, + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", + "format": "int32", + "type": "integer" }, "type": { - "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.", + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", + "type": "string" + } + }, + "required": [ + "name", + "type", + "JSONPath" + ], + "type": "object" + }, + "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.", + "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.", + "format": "int32", + "type": "integer" + }, + "targetAverageValue": { + "$ref": "#/definitions/resource.Quantity", + "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." } }, + "required": [ + "name" + ], "type": "object" }, "v1.PersistentVolumeClaimSpec": { @@ -13827,7 +12437,7 @@ }, "dataSource": { "$ref": "#/definitions/v1.TypedLocalObjectReference", - "description": "This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change." + "description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change." }, "resources": { "$ref": "#/definitions/v1.ResourceRequirements", @@ -13842,7 +12452,7 @@ "type": "string" }, "volumeMode": { - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.", + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", "type": "string" }, "volumeName": { @@ -13994,40 +12604,43 @@ } ] }, - "policy.v1beta1.PodSecurityPolicyList": { - "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", + "v1alpha1.PodPresetSpec": { + "description": "PodPresetSpec is a description of a pod preset.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "env": { + "description": "Env defines the collection of EnvVar to inject into containers.", + "items": { + "$ref": "#/definitions/v1.EnvVar" + }, + "type": "array" }, - "items": { - "description": "items is a list of schema objects.", + "envFrom": { + "description": "EnvFrom defines the collection of EnvFromSource to inject into containers.", "items": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.EnvFromSource" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "selector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "Selector is a label query over a set of resources, in this case pods. Required." }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "volumeMounts": { + "description": "VolumeMounts defines the collection of VolumeMount to inject into containers.", + "items": { + "$ref": "#/definitions/v1.VolumeMount" + }, + "type": "array" + }, + "volumes": { + "description": "Volumes defines the collection of Volume to inject into the pod.", + "items": { + "$ref": "#/definitions/v1.Volume" + }, + "type": "array" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "PodSecurityPolicyList", - "version": "v1beta1" - } - ] + "type": "object" }, "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.", @@ -14271,87 +12884,47 @@ ], "type": "object" }, - "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.", + "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "properties": { - "monitors": { - "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array" - }, - "path": { - "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/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://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "secretRef": { - "$ref": "#/definitions/v1.LocalObjectReference", - "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" - }, - "user": { - "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors" - ], - "type": "object" - }, - "v1.CustomResourceSubresourceScale": { - "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", - "properties": { - "labelSelectorPath": { - "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata." }, - "specReplicasPath": { - "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", - "type": "string" + "roleRef": { + "$ref": "#/definitions/v1beta1.RoleRef", + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, - "statusReplicasPath": { - "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", - "type": "string" + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "items": { + "$ref": "#/definitions/v1beta1.Subject" + }, + "type": "array" } }, "required": [ - "specReplicasPath", - "statusReplicasPath" + "roleRef" ], - "type": "object" - }, - "v1.PortworxVolumeSource": { - "description": "PortworxVolumeSource represents a Portworx volume resource.", - "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.", - "type": "string" - }, - "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" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" } - }, - "required": [ - "volumeID" - ], - "type": "object" + ] }, - "v1.PodTemplate": { - "description": "PodTemplate describes a template for creating copies of a predefined pod.", + "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 ]", "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/sig-architecture/api-conventions.md#resources", @@ -14365,68 +12938,75 @@ "$ref": "#/definitions/v1.ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "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.", + "items": { + "$ref": "#/definitions/v1.EndpointSubset" + }, + "type": "array" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "PodTemplate", + "kind": "Endpoints", "version": "v1" } ] }, - "v1beta2.DeploymentStatus": { - "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "v1alpha1.FlowSchema": { + "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { - "availableReplicas": { - "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "items": { - "$ref": "#/definitions/v1beta2.DeploymentCondition" - }, - "type": "array", - "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "format": "int64", - "type": "integer" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "format": "int32", - "type": "integer" + "spec": { + "$ref": "#/definitions/v1alpha1.FlowSchemaSpec", + "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "format": "int32", - "type": "integer" + "status": { + "$ref": "#/definitions/v1alpha1.FlowSchemaStatus", + "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + ] + }, + "v1.PortworxVolumeSource": { + "description": "PortworxVolumeSource represents a Portworx volume resource.", + "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.", + "type": "string" }, - "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.", - "format": "int32", - "type": "integer" + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "format": "int32", - "type": "integer" + "volumeID": { + "description": "VolumeID uniquely identifies a Portworx volume", + "type": "string" } }, + "required": [ + "volumeID" + ], "type": "object" }, "v1.JobList": { @@ -14577,25 +13157,38 @@ ], "type": "object" }, - "extensions.v1beta1.RunAsGroupStrategyOptions": { - "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.", + "extensions.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. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.", "properties": { - "ranges": { - "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.IDRange" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/extensions.v1beta1.IngressSpec", + "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/extensions.v1beta1.IngressStatus", + "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "rule" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + ] }, "v1.PodTemplateList": { "description": "PodTemplateList is a list of PodTemplates.", @@ -14632,80 +13225,43 @@ } ] }, - "extensions.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 '#'.", - "properties": { - "paths": { - "description": "A collection of paths that map requests to backends.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.HTTPIngressPath" - }, - "type": "array" - } - }, - "required": [ - "paths" - ], - "type": "object" - }, - "extensions.v1beta1.RuntimeClassStrategyOptions": { - "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", - "properties": { - "allowedRuntimeClassNames": { - "description": "allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.", - "items": { - "type": "string" - }, - "type": "array" - }, - "defaultRuntimeClassName": { - "description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.", - "type": "string" - } - }, - "required": [ - "allowedRuntimeClassNames" - ], - "type": "object" - }, - "v1.OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", + "v1alpha1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.", "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/sig-architecture/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" + "items": { + "description": "Items is a list of ClusterRoleBindings", + "items": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + }, + "type": "array" }, "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "uid": { - "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard object's metadata." } }, "required": [ - "apiVersion", - "kind", - "name", - "uid" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", + "version": "v1alpha1" + } + ] }, "v1beta1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -14865,17 +13421,6 @@ ], "type": "object" }, - "v1beta1.RollingUpdateStatefulSetStrategy": { - "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", - "properties": { - "partition": { - "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, "v1.CustomResourceColumnDefinition": { "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "properties": { @@ -14912,56 +13457,6 @@ ], "type": "object" }, - "extensions.v1beta1.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", - "properties": { - "rollingUpdate": { - "$ref": "#/definitions/extensions.v1beta1.RollingUpdateDeployment", - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." - }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", - "type": "string" - } - }, - "type": "object" - }, - "v1alpha1.EndpointSliceList": { - "description": "EndpointSliceList represents a list of endpoint slices", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of endpoint slices", - "items": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSliceList", - "version": "v1alpha1" - } - ] - }, "v1alpha1.RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { @@ -14997,29 +13492,36 @@ } ] }, - "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.", + "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.", "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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "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" }, - "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", - "format": "int32", - "type": "integer" + "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" }, - "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" + "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.", + "items": { + "$ref": "#/definitions/v1.NonResourceRule" + }, + "type": "array" }, - "readOnly": { - "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" + "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.", + "items": { + "$ref": "#/definitions/v1.ResourceRule" + }, + "type": "array" } }, "required": [ - "pdName" + "resourceRules", + "nonResourceRules", + "incomplete" ], "type": "object" }, @@ -15096,185 +13598,117 @@ } ] }, - "extensions.v1beta1.IDRange": { - "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", - "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int64", - "type": "integer" - }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "min", - "max" - ], - "type": "object" - }, - "v1beta1.DaemonSetList": { - "description": "DaemonSetList is a collection of daemon sets.", + "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", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "A list of daemon sets.", - "items": { - "$ref": "#/definitions/v1beta1.DaemonSet" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReviewSpec", + "description": "Spec holds information about the request being evaluated. user and groups must be empty" + }, + "status": { + "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "DaemonSetList", + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", "version": "v1beta1" } ] }, - "v1.RuleWithOperations": { - "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", + "v2beta2.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": { - "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.", - "items": { - "type": "string" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "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.", - "items": { - "type": "string" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "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.", - "items": { - "type": "string" - }, - "type": "array" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "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.", - "items": { - "type": "string" - }, - "type": "array" + "spec": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerSpec", + "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, - "scope": { - "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", - "type": "string" + "status": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerStatus", + "description": "status is the current information about the autoscaler." } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + } + ] }, - "v1beta1.StatefulSetStatus": { - "description": "StatefulSetStatus represents the current state of a StatefulSet.", + "v1.FlexPersistentVolumeSource": { + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", "properties": { - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a statefulset's current state.", - "items": { - "$ref": "#/definitions/v1beta1.StatefulSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "currentReplicas": { - "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "format": "int32", - "type": "integer" - }, - "currentRevision": { - "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", + "driver": { + "description": "Driver is the name of the driver to use for this volume.", "type": "string" }, - "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.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "format": "int32", - "type": "integer" + "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" }, - "replicas": { - "description": "replicas is the number of Pods created by the StatefulSet controller.", - "format": "int32", - "type": "integer" + "options": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional: Extra command options if any.", + "type": "object" }, - "updateRevision": { - "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", - "type": "string" + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" }, - "updatedReplicas": { - "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "format": "int32", - "type": "integer" + "secretRef": { + "$ref": "#/definitions/v1.SecretReference", + "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." } }, "required": [ - "replicas" + "driver" ], "type": "object" }, - "v1beta1.NetworkPolicyEgressRule": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. 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.", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyPort" - }, - "type": "array" - }, - "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.", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyPeer" - }, - "type": "array" - } - }, - "type": "object" - }, - "v1beta2.StatefulSetList": { - "description": "StatefulSetList is a collection of StatefulSets.", + "v1.CSINodeList": { + "description": "CSINodeList is a collection of CSINode 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { + "description": "items is the list of CSINode", "items": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v1.CSINode" }, "type": "array" }, @@ -15283,7 +13717,8 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ListMeta" + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -15292,9 +13727,9 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "StatefulSetList", - "version": "v1beta2" + "group": "storage.k8s.io", + "kind": "CSINodeList", + "version": "v1" } ] }, @@ -15434,42 +13869,6 @@ ], "type": "object" }, - "v1beta2.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", - "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "lastUpdateTime": { - "description": "The last time this condition was updated.", - "format": "date-time", - "type": "string" - }, - "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" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, "v2beta2.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.", "properties": { @@ -15513,41 +13912,6 @@ ], "type": "object" }, - "v1.NodeList": { - "description": "NodeList is the whole list of all Nodes which have been registered with master.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of nodes", - "items": { - "$ref": "#/definitions/v1.Node" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NodeList", - "version": "v1" - } - ] - }, "v1.EmptyDirVolumeSource": { "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", "properties": { @@ -15576,14 +13940,29 @@ }, "type": "object" }, - "v1.RollingUpdateDaemonSet": { - "description": "Spec to control the desired behavior of daemon set rolling update.", + "v1beta1.SubjectAccessReviewStatus": { + "description": "SubjectAccessReviewStatus", "properties": { - "maxUnavailable": { - "$ref": "#/definitions/intstr.IntOrString", - "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." + "allowed": { + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" + }, + "denied": { + "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", + "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" } }, + "required": [ + "allowed" + ], "type": "object" }, "v1.DeploymentList": { @@ -15637,145 +14016,39 @@ }, "type": "object" }, - "v1.EphemeralContainer": { - "description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.", + "v2beta2.HPAScalingRules": { + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.", "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", - "items": { - "type": "string" - }, - "type": "array" - }, - "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", - "items": { - "type": "string" - }, - "type": "array" - }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", - "items": { - "$ref": "#/definitions/v1.EnvVar" - }, - "type": "array", - "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.", + "policies": { + "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid", "items": { - "$ref": "#/definitions/v1.EnvFromSource" + "$ref": "#/definitions/v2beta2.HPAScalingPolicy" }, "type": "array" }, - "image": { - "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", + "selectPolicy": { + "description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.", "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: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "stabilizationWindowSeconds": { + "description": "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "admissionregistration.v1beta1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "format": "byte", "type": "string" }, - "lifecycle": { - "$ref": "#/definitions/v1.Lifecycle", - "description": "Lifecycle is not allowed for ephemeral containers." - }, - "livenessProbe": { - "$ref": "#/definitions/v1.Probe", - "description": "Probes are not allowed for ephemeral containers." - }, - "name": { - "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.", - "type": "string" - }, - "ports": { - "description": "Ports are not allowed for ephemeral containers.", - "items": { - "$ref": "#/definitions/v1.ContainerPort" - }, - "type": "array" - }, - "readinessProbe": { - "$ref": "#/definitions/v1.Probe", - "description": "Probes are not allowed for ephemeral containers." - }, - "resources": { - "$ref": "#/definitions/v1.ResourceRequirements", - "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." - }, - "securityContext": { - "$ref": "#/definitions/v1.SecurityContext", - "description": "SecurityContext is not allowed for ephemeral containers." - }, - "startupProbe": { - "$ref": "#/definitions/v1.Probe", - "description": "Probes are not allowed for ephemeral containers." - }, - "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" - }, - "targetContainerName": { - "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.", - "type": "string" - }, - "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" - }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", - "items": { - "$ref": "#/definitions/v1.VolumeDevice" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" - }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "items": { - "$ref": "#/definitions/v1.VolumeMount" - }, - "type": "array", - "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" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "admissionregistration.v1beta1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", - "properties": { - "caBundle": { - "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "service": { - "$ref": "#/definitions/admissionregistration.v1beta1.ServiceReference", - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." + "service": { + "$ref": "#/definitions/admissionregistration.v1beta1.ServiceReference", + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, "url": { "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", @@ -15785,7 +14058,7 @@ "type": "object" }, "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.", + "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15878,47 +14151,6 @@ ], "type": "object" }, - "v1.ContainerStateTerminated": { - "description": "ContainerStateTerminated is a terminated state of a container.", - "properties": { - "containerID": { - "description": "Container's ID in the format 'docker://'", - "type": "string" - }, - "exitCode": { - "description": "Exit status from the last termination of the container", - "format": "int32", - "type": "integer" - }, - "finishedAt": { - "description": "Time at which the container last terminated", - "format": "date-time", - "type": "string" - }, - "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", - "format": "int32", - "type": "integer" - }, - "startedAt": { - "description": "Time at which previous execution of the container started", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "exitCode" - ], - "type": "object" - }, "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.", "properties": { @@ -15984,16 +14216,6 @@ } ] }, - "v1.PodIP": { - "description": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n IP: An IP address allocated to the pod. Routable at least within the cluster.", - "properties": { - "ip": { - "description": "ip is an IP address (IPv4 or IPv6) assigned to the pod", - "type": "string" - } - }, - "type": "object" - }, "v1.CustomResourceDefinitionCondition": { "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", "properties": { @@ -16103,59 +14325,26 @@ }, "type": "object" }, - "v1beta2.StatefulSetStatus": { - "description": "StatefulSetStatus represents the current state of a StatefulSet.", + "v1beta1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", "properties": { - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a statefulset's current state.", - "items": { - "$ref": "#/definitions/v1beta2.StatefulSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "currentReplicas": { - "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "format": "int32", - "type": "integer" - }, - "currentRevision": { - "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", "type": "string" }, - "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.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "replicas is the number of Pods created by the StatefulSet controller.", - "format": "int32", - "type": "integer" - }, - "updateRevision": { - "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", + "kind": { + "description": "Kind is the type of resource being referenced", "type": "string" }, - "updatedReplicas": { - "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "format": "int32", - "type": "integer" + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" } }, "required": [ - "replicas" + "apiGroup", + "kind", + "name" ], "type": "object" }, @@ -16228,56 +14417,6 @@ } ] }, - "apps.v1beta1.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.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "items": { - "$ref": "#/definitions/apps.v1beta1.DeploymentCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, "v1.NetworkPolicyList": { "description": "NetworkPolicyList is a list of NetworkPolicy objects.", "properties": { @@ -16313,8 +14452,25 @@ } ] }, + "v1beta1.SELinuxStrategyOptions": { + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", + "properties": { + "rule": { + "description": "rule is the strategy that will dictate the allowable labels that may be set.", + "type": "string" + }, + "seLinuxOptions": { + "$ref": "#/definitions/v1.SELinuxOptions", + "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" + } + }, + "required": [ + "rule" + ], + "type": "object" + }, "v1alpha1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -16348,6 +14504,70 @@ } ] }, + "v1.CSINode": { + "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "metadata.name must be the Kubernetes node name." + }, + "spec": { + "$ref": "#/definitions/v1.CSINodeSpec", + "description": "spec is the specification of CSINode" + } + }, + "required": [ + "spec" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + ] + }, + "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: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequestSpec", + "description": "The certificate request itself and any additional information." + }, + "status": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequestStatus", + "description": "Derived information about the request." + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + ] + }, "v1.ReplicaSet": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { @@ -16416,50 +14636,40 @@ ], "type": "object" }, - "v1.RBDPersistentVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "v1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "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: https://kubernetes.io/docs/concepts/storage/volumes#rbd", - "type": "string" - }, - "image": { - "description": "The rados image name. More info: https://examples.k8s.io/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: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "items": { + "description": "Items is the list of VolumeAttachments", "items": { - "type": "string" + "$ref": "#/definitions/v1.VolumeAttachment" }, "type": "array" }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/v1.SecretReference", - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" - }, - "user": { - "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "monitors", - "image" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1" + } + ] }, "v1alpha1.AuditSinkSpec": { "description": "AuditSinkSpec holds the spec for the audit sink", @@ -16524,40 +14734,43 @@ ], "type": "object" }, - "v1beta2.DaemonSetList": { - "description": "DaemonSetList is a collection of daemon sets.", + "v1.RuleWithOperations": { + "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "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.", + "items": { + "type": "string" + }, + "type": "array" }, - "items": { - "description": "A list of daemon sets.", + "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.", "items": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "type": "string" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "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.", + "items": { + "type": "string" + }, + "type": "array" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", + "type": "string" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DaemonSetList", - "version": "v1beta2" - } - ] + "type": "object" }, "v1.ControllerRevisionList": { "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", @@ -16608,56 +14821,6 @@ }, "type": "object" }, - "extensions.v1beta1.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.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, "v1beta1.Scheduling": { "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { @@ -16679,42 +14842,119 @@ }, "type": "object" }, - "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.", + "v1alpha1.RoleList": { + "description": "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "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. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "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.", + "items": { + "description": "Items is a list of Roles", "items": { - "type": "string" + "$ref": "#/definitions/v1alpha1.Role" }, "type": "array" }, - "resources": { - "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", - "items": { - "type": "string" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "verbs": { - "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard object's metadata." } }, "required": [ - "verbs" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1alpha1" + } + ] + }, + "v1beta1.IngressClass": { + "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1beta1.IngressClassSpec", + "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1beta1" + } + ] + }, + "v1beta1.AllowedFlexVolume": { + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", + "properties": { + "driver": { + "description": "driver is the name of the Flexvolume driver.", + "type": "string" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "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.", + "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. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" + }, + "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", + "items": { + "type": "string" + }, + "type": "array" + }, + "verbs": { + "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "verbs" + ], + "type": "object" }, "v1.DownwardAPIVolumeFile": { "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", @@ -16813,59 +15053,60 @@ } ] }, - "v1beta1.ReplicaSetCondition": { - "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", + "v1alpha1.FlowSchemaSpec": { + "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { - "lastTransitionTime": { - "description": "The last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" + "distinguisherMethod": { + "$ref": "#/definitions/v1alpha1.FlowDistinguisherMethod", + "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, - "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" + "matchingPrecedence": { + "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.", + "format": "int32", + "type": "integer" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "priorityLevelConfiguration": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationReference", + "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, - "type": { - "description": "Type of replica set condition.", - "type": "string" + "rules": { + "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", + "items": { + "$ref": "#/definitions/v1alpha1.PolicyRulesWithSubjects" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "type", - "status" + "priorityLevelConfiguration" ], "type": "object" }, - "policy.v1beta1.RunAsGroupStrategyOptions": { - "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", + "v1.CustomResourceSubresourceScale": { + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", "properties": { - "ranges": { - "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/policy.v1beta1.IDRange" - }, - "type": "array" + "labelSelectorPath": { + "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", + "type": "string" }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "specReplicasPath": { + "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", + "type": "string" + }, + "statusReplicasPath": { + "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", "type": "string" } }, "required": [ - "rule" + "specReplicasPath", + "statusReplicasPath" ], "type": "object" }, "v1beta1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -16899,6 +15140,20 @@ } ] }, + "v2beta2.HorizontalPodAutoscalerBehavior": { + "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).", + "properties": { + "scaleDown": { + "$ref": "#/definitions/v2beta2.HPAScalingRules", + "description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)." + }, + "scaleUp": { + "$ref": "#/definitions/v2beta2.HPAScalingRules", + "description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used." + } + }, + "type": "object" + }, "v1beta1.RuleWithOperations": { "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", "properties": { @@ -16937,38 +15192,6 @@ }, "type": "object" }, - "v1.FlexPersistentVolumeSource": { - "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", - "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": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional: Extra command options if any.", - "type": "object" - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/v1.SecretReference", - "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." - } - }, - "required": [ - "driver" - ], - "type": "object" - }, "v1.PodCondition": { "description": "PodCondition contains details for the current condition of this pod.", "properties": { @@ -17040,40 +15263,64 @@ } ] }, - "v1beta2.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", + "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.", "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/sig-architecture/api-conventions.md#resources", + "chapAuthDiscovery": { + "description": "whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "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" }, - "items": { - "description": "Items is the list of Deployments.", + "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": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "iSCSI Target Lun number.", + "format": "int32", + "type": "integer" + }, + "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).", "items": { - "$ref": "#/definitions/v1beta2.Deployment" + "type": "string" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata." + "secretRef": { + "$ref": "#/definitions/v1.LocalObjectReference", + "description": "CHAP Secret for iSCSI target and initiator authentication" + }, + "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" } }, "required": [ - "items" + "targetPortal", + "iqn", + "lun" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DeploymentList", - "version": "v1beta2" - } - ] + "type": "object" }, "v1.CustomResourceDefinitionVersion": { "description": "CustomResourceDefinitionVersion describes a version for CRD.", @@ -17131,41 +15378,6 @@ }, "type": "object" }, - "v1beta1.ControllerRevisionList": { - "description": "ControllerRevisionList is a resource containing a list of ControllerRevision 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of ControllerRevisions", - "items": { - "$ref": "#/definitions/v1beta1.ControllerRevision" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ControllerRevisionList", - "version": "v1beta1" - } - ] - }, "v1.StatefulSetCondition": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "properties": { @@ -17280,23 +15492,6 @@ ], "type": "object" }, - "extensions.v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", - "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. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", - "type": "string" - } - }, - "type": "object" - }, "v2beta1.ExternalMetricStatus": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { @@ -17323,30 +15518,17 @@ ], "type": "object" }, - "v1.StorageOSVolumeSource": { - "description": "Represents a StorageOS persistent volume resource.", + "v1alpha1.FlowDistinguisherMethod": { + "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "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": { - "$ref": "#/definitions/v1.LocalObjectReference", - "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." - }, - "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": { + "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", "type": "string" } }, + "required": [ + "type" + ], "type": "object" }, "v1beta1.CertificateSigningRequestSpec": { @@ -17374,6 +15556,10 @@ "format": "byte", "type": "string" }, + "signerName": { + "description": "Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:\n 1. If it's a kubelet client certificate, it is assigned\n \"kubernetes.io/kube-apiserver-client-kubelet\".\n 2. If it's a kubelet serving certificate, it is assigned\n \"kubernetes.io/kubelet-serving\".\n 3. Otherwise, it is assigned \"kubernetes.io/legacy-unknown\".\nDistribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.", + "type": "string" + }, "uid": { "description": "UID information about the requesting user. See user.Info interface for details.", "type": "string" @@ -17395,49 +15581,18 @@ ], "type": "object" }, - "v1beta1.DaemonSetCondition": { - "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", + "v1.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": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "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" + "rollingUpdate": { + "$ref": "#/definitions/v1.RollingUpdateStatefulSetStrategy", + "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." }, "type": { - "description": "Type of DaemonSet condition.", + "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.", "type": "string" } }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "apps.v1beta1.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", - "properties": { - "maxSurge": { - "$ref": "#/definitions/intstr.IntOrString", - "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 ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." - }, - "maxUnavailable": { - "$ref": "#/definitions/intstr.IntOrString", - "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 ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." - } - }, "type": "object" }, "v1.NodeAffinity": { @@ -17533,18 +15688,6 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" }, - "v1.ExternalDocumentation": { - "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", - "properties": { - "description": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" - }, "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": { @@ -17585,41 +15728,6 @@ }, "type": "object" }, - "v1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/v1.SubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/v1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1" - } - ] - }, "v1beta1.CustomResourceDefinitionList": { "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "properties": { @@ -17654,6 +15762,26 @@ } ] }, + "v1alpha1.Policy": { + "description": "Policy defines the configuration of how audit events are logged", + "properties": { + "level": { + "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required", + "type": "string" + }, + "stages": { + "description": "Stages is a list of stages for which events are created.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "level" + ], + "type": "object" + }, "v1.Toleration": { "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", "properties": { @@ -17681,16 +15809,38 @@ }, "type": "object" }, - "apps.v1beta1.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource", + "v1.Scale": { + "description": "Scale represents a scaling request for a resource.", "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", - "type": "integer" + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + }, + "spec": { + "$ref": "#/definitions/v1.ScaleSpec", + "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + }, + "status": { + "$ref": "#/definitions/v1.ScaleStatus", + "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + ] }, "v1.EndpointAddress": { "description": "EndpointAddress is a tuple that describes single IP address.", @@ -17767,51 +15917,56 @@ ], "type": "object" }, - "v1beta2.ReplicaSet": { - "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.", + "v1beta1.RunAsGroupStrategyOptions": { + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "ranges": { + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", + "items": { + "$ref": "#/definitions/v1beta1.IDRange" + }, + "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "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/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/v1beta2.ReplicaSetSpec", - "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/v1beta2.ReplicaSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - ] + "required": [ + "rule" + ], + "type": "object" }, - "extensions.v1beta1.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", + "v1.CSIVolumeSource": { + "description": "Represents a source location of a volume to mount, managed by an external CSI driver", "properties": { - "maxSurge": { - "$ref": "#/definitions/intstr.IntOrString", - "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 at most 130% of desired pods." + "driver": { + "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", + "type": "string" }, - "maxUnavailable": { - "$ref": "#/definitions/intstr.IntOrString", - "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." + "fsType": { + "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", + "type": "string" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/v1.LocalObjectReference", + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed." + }, + "readOnly": { + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "additionalProperties": { + "type": "string" + }, + "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", + "type": "object" } }, + "required": [ + "driver" + ], "type": "object" }, "v1beta1.Overhead": { @@ -17827,6 +15982,101 @@ }, "type": "object" }, + "v1.ISCSIPersistentVolumeSource": { + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "properties": { + "chapAuthDiscovery": { + "description": "whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "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" + }, + "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": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "iSCSI Target Lun number.", + "format": "int32", + "type": "integer" + }, + "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).", + "items": { + "type": "string" + }, + "type": "array" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/v1.SecretReference", + "description": "CHAP Secret for iSCSI target and initiator authentication" + }, + "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" + } + }, + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "type": "object" + }, + "v1beta1.IngressClassList": { + "description": "IngressClassList is a collection of IngressClasses.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of IngressClasses.", + "items": { + "$ref": "#/definitions/v1beta1.IngressClass" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata." + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressClassList", + "version": "v1beta1" + } + ] + }, "v2beta2.MetricValueStatus": { "description": "MetricValueStatus holds the current value for a metric", "properties": { @@ -18116,7 +16366,7 @@ "type": "string" }, "shareProcessNamespace": { - "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.", "type": "boolean" }, "subdomain": { @@ -18136,7 +16386,7 @@ "type": "array" }, "topologySpreadConstraints": { - "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is alpha-level and is only honored by clusters that enables the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.", + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is only honored by clusters that enable the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.", "items": { "$ref": "#/definitions/v1.TopologySpreadConstraint" }, @@ -18182,17 +16432,17 @@ ], "type": "object" }, - "v1beta2.ReplicaSetList": { - "description": "ReplicaSetList is a collection of ReplicaSets.", + "v1alpha1.PodPresetList": { + "description": "PodPresetList is a list of PodPreset 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", + "description": "Items is a list of schema objects.", "items": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1alpha1.PodPreset" }, "type": "array" }, @@ -18202,7 +16452,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -18211,29 +16461,12 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "ReplicaSetList", - "version": "v1beta2" + "group": "settings.k8s.io", + "kind": "PodPresetList", + "version": "v1alpha1" } ] }, - "extensions.v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", - "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. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", - "type": "string" - } - }, - "type": "object" - }, "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.", "properties": { @@ -18270,43 +16503,21 @@ } }, "required": [ - "service", "groupPriorityMinimum", "versionPriority" ], "type": "object" }, - "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 ]", + "v1.VolumeNodeResources": { + "description": "VolumeNodeResources is a set of resource limits for scheduling of 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: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "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.", - "items": { - "$ref": "#/definitions/v1.EndpointSubset" - }, - "type": "array" + "count": { + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.", + "format": "int32", + "type": "integer" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - ] + "type": "object" }, "v1beta1.VolumeError": { "description": "VolumeError captures an error encountered during a volume operation.", @@ -18441,87 +16652,6 @@ } ] }, - "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" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "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" - } - }, - "type": "object" - }, - "v1beta1.CustomResourceDefinitionVersion": { - "description": "CustomResourceDefinitionVersion describes a version for CRD.", - "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", - "items": { - "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" - }, - "type": "array" - }, - "name": { - "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.", - "type": "string" - }, - "schema": { - "$ref": "#/definitions/v1beta1.CustomResourceValidation", - "description": "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)." - }, - "served": { - "description": "served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" - }, - "storage": { - "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", - "type": "boolean" - }, - "subresources": { - "$ref": "#/definitions/v1beta1.CustomResourceSubresources", - "description": "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)." - } - }, - "required": [ - "name", - "served", - "storage" - ], - "type": "object" - }, - "v1.ResourceFieldSelector": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "$ref": "#/definitions/resource.Quantity", - "description": "Specifies the output format of the exposed resources, defaults to \"1\"" - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object" - }, "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": { @@ -18549,6 +16679,26 @@ }, "type": "object" }, + "v1beta1.RunAsUserStrategyOptions": { + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", + "items": { + "$ref": "#/definitions/v1beta1.IDRange" + }, + "type": "array" + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "type": "string" + } + }, + "required": [ + "rule" + ], + "type": "object" + }, "v1.ScaleIOPersistentVolumeSource": { "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", "properties": { @@ -18622,17 +16772,17 @@ ], "type": "object" }, - "extensions.v1beta1.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", + "v1.DaemonSetList": { + "description": "DaemonSetList is a collection of daemon sets.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of Deployments.", + "description": "A list of daemon sets.", "items": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1.DaemonSet" }, "type": "array" }, @@ -18642,7 +16792,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata." + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -18651,43 +16801,40 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "DeploymentList", - "version": "v1beta1" + "group": "apps", + "kind": "DaemonSetList", + "version": "v1" } ] }, - "v1.DaemonSetList": { - "description": "DaemonSetList is a collection of daemon sets.", + "v1.CSIDriver": { + "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "A list of daemon sets.", - "items": { - "$ref": "#/definitions/v1.DaemonSet" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1.CSIDriverSpec", + "description": "Specification of the CSI Driver." } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "DaemonSetList", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1" } ] @@ -18727,7 +16874,7 @@ "type": "object" }, "v1alpha1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/definitions/v1alpha1.AggregationRule", @@ -18762,119 +16909,66 @@ } ] }, - "v1.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "v1.RBDVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "format": "int32", - "type": "integer" + "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#rbd", + "type": "string" }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", + "image": { + "description": "The rados image name. More info: https://examples.k8s.io/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: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "items": { - "$ref": "#/definitions/v1.ReplicaSetCondition" + "type": "string" }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "type": "array" }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "format": "int32", - "type": "integer" + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "format": "int64", - "type": "integer" + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", - "format": "int32", - "type": "integer" + "secretRef": { + "$ref": "#/definitions/v1.LocalObjectReference", + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, - "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", - "format": "int32", - "type": "integer" + "user": { + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" } }, "required": [ - "replicas" + "monitors", + "image" ], "type": "object" }, - "extensions.v1beta1.ScaleStatus": { - "description": "represents the current status of a scale subresource.", + "v1beta1.FSGroupStrategyOptions": { + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "format": "int32", - "type": "integer" - }, - "selector": { - "additionalProperties": { - "type": "string" + "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. Required for MustRunAs.", + "items": { + "$ref": "#/definitions/v1beta1.IDRange" }, - "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object" + "type": "array" }, - "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", + "rule": { + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } }, - "required": [ - "replicas" - ], - "type": "object" - }, - "v1beta2.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", - "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)", - "format": "int32", - "type": "integer" - }, - "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. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels." - }, - "strategy": { - "$ref": "#/definitions/v1beta2.DeploymentStrategy", - "description": "The deployment strategy to use to replace existing pods with new ones.", - "x-kubernetes-patch-strategy": "retainKeys" - }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "description": "Template describes the pods that will be created." - } - }, - "required": [ - "selector", - "template" - ], "type": "object" }, "v1alpha1.Overhead": { @@ -18890,87 +16984,69 @@ }, "type": "object" }, - "v1beta1.NetworkPolicy": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods", + "v1.TopologySpreadConstraint": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "labelSelector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.", + "format": "int32", + "type": "integer" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", + "type": "string" }, - "spec": { - "$ref": "#/definitions/v1beta1.NetworkPolicySpec", - "description": "Specification of the desired behavior for this NetworkPolicy." + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", + "type": "string" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } - ] + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "type": "object" }, - "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.", + "v1.ValidatingWebhookConfigurationList": { + "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "List of ValidatingWebhookConfiguration.", + "items": { + "$ref": "#/definitions/v1.ValidatingWebhookConfiguration" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata." - }, - "spec": { - "$ref": "#/definitions/apps.v1beta1.DeploymentSpec", - "description": "Specification of the desired behavior of the Deployment." - }, - "status": { - "$ref": "#/definitions/apps.v1beta1.DeploymentStatus", - "description": "Most recently observed status of the Deployment." + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfigurationList", + "version": "v1" } ] }, - "v1alpha1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a connection with the webhook", - "properties": { - "caBundle": { - "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "service": { - "$ref": "#/definitions/v1alpha1.ServiceReference", - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." - }, - "url": { - "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - }, - "type": "object" - }, "v1.GlusterfsVolumeSource": { "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "properties": { @@ -19063,6 +17139,7 @@ "$ref": "#/definitions/v1beta1.ExternalDocumentation" }, "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -19159,14 +17236,18 @@ "type": "boolean" }, "x-kubernetes-list-map-keys": { - "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).", + "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.", "items": { "type": "string" }, "type": "array" }, "x-kubernetes-list-type": { - "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar (or another atomic type).\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", + "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", + "type": "string" + }, + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", "type": "string" }, "x-kubernetes-preserve-unknown-fields": { @@ -19176,38 +17257,47 @@ }, "type": "object" }, - "extensions.v1beta1.PodSecurityPolicyList": { - "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "items is a list of schema objects.", - "items": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "binaryData": { + "additionalProperties": { + "format": "byte", + "type": "string" }, - "type": "array" + "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", + "type": "object" + }, + "data": { + "additionalProperties": { + "type": "string" + }, + "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", + "type": "object" + }, + "immutable": { + "description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, - "required": [ - "items" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "PodSecurityPolicyList", - "version": "v1beta1" + "group": "", + "kind": "ConfigMap", + "version": "v1" } ] }, @@ -19336,6 +17426,20 @@ }, "type": "object" }, + "v1beta1.IngressClassSpec": { + "description": "IngressClassSpec provides information about the class of an Ingress.", + "properties": { + "controller": { + "description": "Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", + "type": "string" + }, + "parameters": { + "$ref": "#/definitions/v1.TypedLocalObjectReference", + "description": "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." + } + }, + "type": "object" + }, "v1.WebhookConversion": { "description": "WebhookConversion describes how to call a conversion webhook", "properties": { @@ -19463,7 +17567,7 @@ ] }, "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.", + "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -19484,7 +17588,7 @@ "subjects": { "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/v1alpha1.Subject" + "$ref": "#/definitions/rbac.v1alpha1.Subject" }, "type": "array" } @@ -19554,40 +17658,6 @@ } ] }, - "v1beta1.MutatingWebhookConfiguration": { - "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.", - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "webhooks": { - "description": "Webhooks is a list of webhooks and the affected resources and operations.", - "items": { - "$ref": "#/definitions/v1beta1.MutatingWebhook" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - ] - }, "v1.NodeAddress": { "description": "NodeAddress contains information for the node's address.", "properties": { @@ -19705,97 +17775,86 @@ }, "type": "object" }, - "v1.VolumeAttachmentList": { - "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "v1.JobStatus": { + "description": "JobStatus represents the current state of a 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/sig-architecture/api-conventions.md#resources", + "active": { + "description": "The number of actively running pods.", + "format": "int32", + "type": "integer" + }, + "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.", + "format": "date-time", "type": "string" }, - "items": { - "description": "Items is the list of VolumeAttachments", + "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/", "items": { - "$ref": "#/definitions/v1.VolumeAttachment" + "$ref": "#/definitions/v1.JobCondition" }, - "type": "array" + "type": "array", + "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/sig-architecture/api-conventions.md#types-kinds", + "failed": { + "description": "The number of pods which reached phase Failed.", + "format": "int32", + "type": "integer" + }, + "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.", + "format": "date-time", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "succeeded": { + "description": "The number of pods which reached phase Succeeded.", + "format": "int32", + "type": "integer" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachmentList", - "version": "v1" - } - ] + "type": "object" }, - "v1.ISCSIPersistentVolumeSource": { - "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "v1.ReplicaSetStatus": { + "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "properties": { - "chapAuthDiscovery": { - "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" - }, - "chapAuthSession": { - "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" - }, - "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" - }, - "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": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", - "type": "string" - }, - "lun": { - "description": "iSCSI Target Lun number.", + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", "format": "int32", "type": "integer" }, - "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).", + "conditions": { + "description": "Represents the latest available observations of a replica set's current state.", "items": { - "type": "string" + "$ref": "#/definitions/v1.ReplicaSetCondition" }, - "type": "array" + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", + "format": "int32", + "type": "integer" }, - "secretRef": { - "$ref": "#/definitions/v1.SecretReference", - "description": "CHAP Secret for iSCSI target and initiator authentication" + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "format": "int64", + "type": "integer" }, - "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" + "readyReplicas": { + "description": "The number of ready replicas for this replica set.", + "format": "int32", + "type": "integer" + }, + "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", + "format": "int32", + "type": "integer" } }, "required": [ - "targetPortal", - "iqn", - "lun" + "replicas" ], "type": "object" }, @@ -19913,6 +17972,10 @@ "format": "int64", "type": "integer" }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\".", + "type": "string" + }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", "format": "int64", @@ -19953,40 +18016,38 @@ }, "type": "object" }, - "v1beta1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "v1alpha1.PriorityLevelConfigurationStatus": { + "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "conditions": { + "description": "`conditions` is the current state of \"request-priority\".", + "items": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationCondition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "extensions.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 '#'.", + "properties": { + "paths": { + "description": "A collection of paths that map requests to backends.", + "items": { + "$ref": "#/definitions/extensions.v1beta1.HTTPIngressPath" + }, + "type": "array" } }, "required": [ - "spec" + "paths" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1beta1" - } - ] + "type": "object" }, "extensions.v1beta1.IngressTLS": { "description": "IngressTLS describes the transport layer security associated with an Ingress.", @@ -20005,71 +18066,32 @@ }, "type": "object" }, - "v2beta1.HorizontalPodAutoscalerSpec": { - "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "extensions.v1beta1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", "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.", - "format": "int32", - "type": "integer" + "backend": { + "$ref": "#/definitions/extensions.v1beta1.IngressBackend", + "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." }, - "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.", + "ingressClassName": { + "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.", + "type": "string" + }, + "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.", "items": { - "$ref": "#/definitions/v2beta1.MetricSpec" + "$ref": "#/definitions/extensions.v1beta1.IngressRule" }, "type": "array" }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", - "format": "int32", - "type": "integer" - }, - "scaleTargetRef": { - "$ref": "#/definitions/v2beta1.CrossVersionObjectReference", - "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." - } - }, - "required": [ - "scaleTargetRef", - "maxReplicas" - ], - "type": "object" - }, - "extensions.v1beta1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", - "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "lastUpdateTime": { - "description": "The last time this condition was updated.", - "format": "date-time", - "type": "string" - }, - "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" + "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.", + "items": { + "$ref": "#/definitions/extensions.v1beta1.IngressTLS" + }, + "type": "array" } }, - "required": [ - "type", - "status" - ], "type": "object" }, "v1beta1.MutatingWebhook": { @@ -20118,7 +18140,7 @@ "type": "array" }, "sideEffects": { - "description": "SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", "type": "string" }, "timeoutSeconds": { @@ -20136,7 +18158,7 @@ }, "info": { "title": "Kubernetes", - "version": "v1.16.0" + "version": "v1.18.0" }, "paths": { "/api/": { @@ -20245,7 +18267,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20403,7 +18425,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20507,7 +18529,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20611,7 +18633,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20715,7 +18737,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20788,7 +18810,7 @@ "operationId": "listNamespace", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21057,7 +19079,7 @@ "operationId": "deleteCollectionNamespacedConfigMap", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21185,7 +19207,7 @@ "operationId": "listNamespacedConfigMap", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21664,7 +19686,7 @@ "operationId": "deleteCollectionNamespacedEndpoints", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21792,7 +19814,7 @@ "operationId": "listNamespacedEndpoints", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22271,7 +20293,7 @@ "operationId": "deleteCollectionNamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22399,7 +20421,7 @@ "operationId": "listNamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22878,7 +20900,7 @@ "operationId": "deleteCollectionNamespacedLimitRange", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -23006,7 +21028,7 @@ "operationId": "listNamespacedLimitRange", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -23485,7 +21507,7 @@ "operationId": "deleteCollectionNamespacedPersistentVolumeClaim", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -23613,7 +21635,7 @@ "operationId": "listNamespacedPersistentVolumeClaim", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -23843,13 +21865,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.PersistentVolumeClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.PersistentVolumeClaim" } }, "401": { @@ -24290,7 +22312,7 @@ "operationId": "deleteCollectionNamespacedPod", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -24418,7 +22440,7 @@ "operationId": "listNamespacedPod", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -24648,13 +22670,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.Pod" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.Pod" } }, "401": { @@ -25387,6 +23409,13 @@ "type": "boolean", "uniqueItems": true }, + { + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).", + "in": "query", + "name": "insecureSkipTLSVerifyBackend", + "type": "boolean", + "uniqueItems": true + }, { "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", "in": "query", @@ -26271,7 +24300,7 @@ "operationId": "deleteCollectionNamespacedPodTemplate", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -26399,7 +24428,7 @@ "operationId": "listNamespacedPodTemplate", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -26629,13 +24658,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.PodTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.PodTemplate" } }, "401": { @@ -26878,7 +24907,7 @@ "operationId": "deleteCollectionNamespacedReplicationController", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -27006,7 +25035,7 @@ "operationId": "listNamespacedReplicationController", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -27881,7 +25910,7 @@ "operationId": "deleteCollectionNamespacedResourceQuota", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -28009,7 +26038,7 @@ "operationId": "listNamespacedResourceQuota", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -28239,13 +26268,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.ResourceQuota" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.ResourceQuota" } }, "401": { @@ -28686,7 +26715,7 @@ "operationId": "deleteCollectionNamespacedSecret", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -28814,7 +26843,7 @@ "operationId": "listNamespacedSecret", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -29293,7 +27322,7 @@ "operationId": "deleteCollectionNamespacedServiceAccount", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -29421,7 +27450,7 @@ "operationId": "listNamespacedServiceAccount", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -29651,13 +27680,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.ServiceAccount" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.ServiceAccount" } }, "401": { @@ -29999,7 +28028,7 @@ "operationId": "listNamespacedService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -31760,7 +29789,7 @@ "operationId": "deleteCollectionNode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -31888,7 +29917,7 @@ "operationId": "listNode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33080,7 +31109,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33153,7 +31182,7 @@ "operationId": "deleteCollectionPersistentVolume", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33281,7 +31310,7 @@ "operationId": "listPersistentVolume", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33503,13 +31532,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.PersistentVolume" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.PersistentVolume" } }, "401": { @@ -33965,7 +31994,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34069,7 +32098,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34173,7 +32202,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34277,7 +32306,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34381,7 +32410,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34485,7 +32514,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34589,7 +32618,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34656,7 +32685,7 @@ "/api/v1/watch/configmaps": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34723,7 +32752,7 @@ "/api/v1/watch/endpoints": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34790,7 +32819,7 @@ "/api/v1/watch/events": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34857,7 +32886,7 @@ "/api/v1/watch/limitranges": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34924,7 +32953,7 @@ "/api/v1/watch/namespaces": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34991,7 +33020,7 @@ "/api/v1/watch/namespaces/{namespace}/configmaps": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35066,7 +33095,7 @@ "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35149,7 +33178,7 @@ "/api/v1/watch/namespaces/{namespace}/endpoints": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35224,7 +33253,7 @@ "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35307,7 +33336,7 @@ "/api/v1/watch/namespaces/{namespace}/events": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35382,7 +33411,7 @@ "/api/v1/watch/namespaces/{namespace}/events/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35465,7 +33494,7 @@ "/api/v1/watch/namespaces/{namespace}/limitranges": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35540,7 +33569,7 @@ "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35623,7 +33652,7 @@ "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35698,7 +33727,7 @@ "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35781,7 +33810,7 @@ "/api/v1/watch/namespaces/{namespace}/pods": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35856,7 +33885,7 @@ "/api/v1/watch/namespaces/{namespace}/pods/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35939,7 +33968,7 @@ "/api/v1/watch/namespaces/{namespace}/podtemplates": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36014,7 +34043,7 @@ "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36097,7 +34126,7 @@ "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36172,7 +34201,7 @@ "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36255,7 +34284,7 @@ "/api/v1/watch/namespaces/{namespace}/resourcequotas": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36330,7 +34359,7 @@ "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36413,7 +34442,7 @@ "/api/v1/watch/namespaces/{namespace}/secrets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36488,7 +34517,7 @@ "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36571,7 +34600,7 @@ "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36646,7 +34675,7 @@ "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36729,7 +34758,7 @@ "/api/v1/watch/namespaces/{namespace}/services": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36804,7 +34833,7 @@ "/api/v1/watch/namespaces/{namespace}/services/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36887,7 +34916,7 @@ "/api/v1/watch/namespaces/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36962,7 +34991,7 @@ "/api/v1/watch/nodes": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37029,7 +35058,7 @@ "/api/v1/watch/nodes/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37104,7 +35133,7 @@ "/api/v1/watch/persistentvolumeclaims": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37171,7 +35200,7 @@ "/api/v1/watch/persistentvolumes": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37238,7 +35267,7 @@ "/api/v1/watch/persistentvolumes/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37313,7 +35342,7 @@ "/api/v1/watch/pods": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37380,7 +35409,7 @@ "/api/v1/watch/podtemplates": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37447,7 +35476,7 @@ "/api/v1/watch/replicationcontrollers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37514,7 +35543,7 @@ "/api/v1/watch/resourcequotas": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37581,7 +35610,7 @@ "/api/v1/watch/secrets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37648,7 +35677,7 @@ "/api/v1/watch/serviceaccounts": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37715,7 +35744,7 @@ "/api/v1/watch/services": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37887,7 +35916,7 @@ "operationId": "deleteCollectionMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38015,7 +36044,7 @@ "operationId": "listMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38478,7 +36507,7 @@ "operationId": "deleteCollectionValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38606,7 +36635,7 @@ "operationId": "listValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39063,7 +37092,7 @@ "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39130,7 +37159,7 @@ "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39205,7 +37234,7 @@ "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39272,7 +37301,7 @@ "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39386,7 +37415,7 @@ "operationId": "deleteCollectionMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39514,7 +37543,7 @@ "operationId": "listMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39977,7 +38006,7 @@ "operationId": "deleteCollectionValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40105,7 +38134,7 @@ "operationId": "listValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40562,7 +38591,7 @@ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40629,7 +38658,7 @@ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40704,7 +38733,7 @@ "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40771,7 +38800,7 @@ "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40918,7 +38947,7 @@ "operationId": "deleteCollectionCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41046,7 +39075,7 @@ "operationId": "listCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41693,7 +39722,7 @@ "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41760,7 +39789,7 @@ "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41874,7 +39903,7 @@ "operationId": "deleteCollectionCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42002,7 +40031,7 @@ "operationId": "listCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42649,7 +40678,7 @@ "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42716,7 +40745,7 @@ "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42863,7 +40892,7 @@ "operationId": "deleteCollectionAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42991,7 +41020,7 @@ "operationId": "listAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43638,7 +41667,7 @@ "/apis/apiregistration.k8s.io/v1/watch/apiservices": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43705,7 +41734,7 @@ "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43819,7 +41848,7 @@ "operationId": "deleteCollectionAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43947,7 +41976,7 @@ "operationId": "listAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44594,7 +42623,7 @@ "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44661,7 +42690,7 @@ "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44839,7 +42868,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44943,7 +42972,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45047,7 +43076,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45120,7 +43149,7 @@ "operationId": "deleteCollectionNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45248,7 +43277,7 @@ "operationId": "listNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45727,7 +43756,7 @@ "operationId": "deleteCollectionNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45855,7 +43884,7 @@ "operationId": "listNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -46532,7 +44561,7 @@ "operationId": "deleteCollectionNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -46660,7 +44689,7 @@ "operationId": "listNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47535,7 +45564,7 @@ "operationId": "deleteCollectionNamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47663,7 +45692,7 @@ "operationId": "listNamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -48538,7 +46567,7 @@ "operationId": "deleteCollectionNamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -48666,7 +46695,7 @@ "operationId": "listNamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49572,7 +47601,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49676,7 +47705,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49743,7 +47772,7 @@ "/apis/apps/v1/watch/controllerrevisions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49810,7 +47839,7 @@ "/apis/apps/v1/watch/daemonsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49877,7 +47906,7 @@ "/apis/apps/v1/watch/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49944,7 +47973,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50019,7 +48048,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50102,7 +48131,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50177,7 +48206,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50260,7 +48289,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50335,7 +48364,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50418,7 +48447,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50493,7 +48522,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50576,7 +48605,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50651,7 +48680,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50734,7 +48763,7 @@ "/apis/apps/v1/watch/replicasets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50801,7 +48830,7 @@ "/apis/apps/v1/watch/statefulsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50865,15 +48894,15 @@ } ] }, - "/apis/apps/v1beta1/": { + "/apis/auditregistration.k8s.io/": { "get": { "consumes": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "description": "get available resources", - "operationId": "getAPIResources", + "description": "get information of a group", + "operationId": "getAPIGroup", "produces": [ "application/json", "application/yaml", @@ -50883,7 +48912,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -50894,133 +48923,29 @@ "https" ], "tags": [ - "apps_v1beta1" + "auditregistration" ] } }, - "/apis/apps/v1beta1/controllerrevisions": { + "/apis/auditregistration.k8s.io/v1alpha1/": { "get": { "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listControllerRevisionForAllNamespaces", - "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevisionList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta1/deployments": { - "get": { - "consumes": [ - "*/*" + "application/vnd.kubernetes.protobuf" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listDeploymentForAllNamespaces", + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -51031,91 +48956,20 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "auditregistration_v1alpha1" + ] + } }, - "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions": { + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ControllerRevision", - "operationId": "deleteCollectionNamespacedControllerRevision", + "description": "delete collection of AuditSink", + "operationId": "deleteCollectionAuditSink", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51226,24 +49080,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listNamespacedControllerRevision", + "description": "list or watch objects of kind AuditSink", + "operationId": "listAuditSink", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51310,7 +49164,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevisionList" + "$ref": "#/definitions/v1alpha1.AuditSinkList" } }, "401": { @@ -51321,24 +49175,16 @@ "https" ], "tags": [ - "apps_v1beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -51351,15 +49197,15 @@ "consumes": [ "*/*" ], - "description": "create a ControllerRevision", - "operationId": "createNamespacedControllerRevision", + "description": "create an AuditSink", + "operationId": "createAuditSink", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, { @@ -51386,19 +49232,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { @@ -51409,24 +49255,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}": { + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ControllerRevision", - "operationId": "deleteNamespacedControllerRevision", + "description": "delete an AuditSink", + "operationId": "deleteAuditSink", "parameters": [ { "in": "body", @@ -51490,13 +49336,13 @@ "https" ], "tags": [ - "apps_v1beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -51504,8 +49350,8 @@ "consumes": [ "*/*" ], - "description": "read the specified ControllerRevision", - "operationId": "readNamespacedControllerRevision", + "description": "read the specified AuditSink", + "operationId": "readAuditSink", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -51531,7 +49377,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { @@ -51542,32 +49388,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ControllerRevision", + "description": "name of the AuditSink", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -51583,8 +49421,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ControllerRevision", - "operationId": "patchNamespacedControllerRevision", + "description": "partially update the specified AuditSink", + "operationId": "patchAuditSink", "parameters": [ { "in": "body", @@ -51625,7 +49463,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { @@ -51636,13 +49474,13 @@ "https" ], "tags": [ - "apps_v1beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -51650,15 +49488,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ControllerRevision", - "operationId": "replaceNamespacedControllerRevision", + "description": "replace the specified AuditSink", + "operationId": "replaceAuditSink", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, { @@ -51685,13 +49523,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { @@ -51702,117 +49540,168 @@ "https" ], "tags": [ - "apps_v1beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments": { - "delete": { + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the AuditSink", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/authentication.k8s.io/": { + "get": { "consumes": [ - "*/*" - ], - "description": "delete collection of Deployment", - "operationId": "deleteCollectionNamespacedDeployment", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get information of a group", + "operationId": "getAPIGroup", "produces": [ "application/json", "application/yaml", @@ -51822,7 +49711,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -51833,91 +49722,29 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, + "authentication" + ] + } + }, + "/apis/authentication.k8s.io/v1/": { "get": { "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Deployment", - "operationId": "listNamespacedDeployment", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -51928,21 +49755,23 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, + "authentication_v1" + ] + } + }, + "/apis/authentication.k8s.io/v1/tokenreviews": { "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", "type": "string", "uniqueItems": true }, @@ -51958,30 +49787,16 @@ "consumes": [ "*/*" ], - "description": "create a Deployment", - "operationId": "createNamespacedDeployment", + "description": "create a TokenReview", + "operationId": "createTokenReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.TokenReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -51993,19 +49808,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.TokenReview" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.TokenReview" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.TokenReview" } }, "401": { @@ -52016,61 +49831,26 @@ "https" ], "tags": [ - "apps_v1beta1" + "authentication_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}": { - "delete": { + "/apis/authentication.k8s.io/v1beta1/": { + "get": { "consumes": [ - "*/*" - ], - "description": "delete a Deployment", - "operationId": "deleteNamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -52080,13 +49860,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -52097,81 +49871,23 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Deployment", - "operationId": "readNamespacedDeployment", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, + "authentication_v1beta1" + ] + } + }, + "/apis/authentication.k8s.io/v1beta1/tokenreviews": { "parameters": [ { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", "type": "string", "uniqueItems": true }, @@ -52183,44 +49899,20 @@ "uniqueItems": true } ], - "patch": { + "post": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update the specified Deployment", - "operationId": "patchNamespacedDeployment", + "description": "create a TokenReview", + "operationId": "createTokenReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Patch" + "$ref": "#/definitions/v1beta1.TokenReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -52232,7 +49924,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.TokenReview" } }, "401": { @@ -52243,46 +49947,59 @@ "https" ], "tags": [ - "apps_v1beta1" + "authentication_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "authentication.k8s.io", + "kind": "TokenReview", "version": "v1beta1" }, "x-codegen-request-body-name": "body" - }, - "put": { + } + }, + "/apis/authorization.k8s.io/": { + "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "replace the specified Deployment", - "operationId": "replaceNamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.APIGroup" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "authorization" + ] + } + }, + "/apis/authorization.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -52292,13 +50009,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -52309,18 +50020,11 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" + "authorization_v1" + ] } }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { + "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { "parameters": [ { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", @@ -52336,14 +50040,6 @@ "type": "string", "uniqueItems": true }, - { - "description": "name of the DeploymentRollback", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -52364,15 +50060,15 @@ "consumes": [ "*/*" ], - "description": "create rollback of a Deployment", - "operationId": "createNamespacedDeploymentRollback", + "description": "create a LocalSubjectAccessReview", + "operationId": "createNamespacedLocalSubjectAccessReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" + "$ref": "#/definitions/v1.LocalSubjectAccessReview" } } ], @@ -52385,19 +50081,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.LocalSubjectAccessReview" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.LocalSubjectAccessReview" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.LocalSubjectAccessReview" } }, "401": { @@ -52408,24 +50104,57 @@ "https" ], "tags": [ - "apps_v1beta1" + "authorization_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DeploymentRollback", - "version": "v1beta1" + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { - "get": { + "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { "consumes": [ "*/*" ], - "description": "read scale of the specified Deployment", - "operationId": "readNamespacedDeploymentScale", + "description": "create a SelfSubjectAccessReview", + "operationId": "createSelfSubjectAccessReview", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + } + ], "produces": [ "application/json", "application/yaml", @@ -52435,7 +50164,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" } }, "401": { @@ -52446,29 +50187,30 @@ "https" ], "tags": [ - "apps_v1beta1" + "authorization_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" - } - }, + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { "parameters": [ { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", "type": "string", "uniqueItems": true }, @@ -52480,44 +50222,20 @@ "uniqueItems": true } ], - "patch": { + "post": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update scale of the specified Deployment", - "operationId": "patchNamespacedDeploymentScale", + "description": "create a SelfSubjectRulesReview", + "operationId": "createSelfSubjectRulesReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Patch" + "$ref": "#/definitions/v1.SelfSubjectRulesReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -52529,7 +50247,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" } }, "401": { @@ -52540,44 +50270,55 @@ "https" ], "tags": [ - "apps_v1beta1" + "authorization_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" }, "x-codegen-request-body-name": "body" - }, - "put": { + } + }, + "/apis/authorization.k8s.io/v1/subjectaccessreviews": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { "consumes": [ "*/*" ], - "description": "replace scale of the specified Deployment", - "operationId": "replaceNamespacedDeploymentScale", + "description": "create a SubjectAccessReview", + "operationId": "createSubjectAccessReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.SubjectAccessReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -52589,13 +50330,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.SubjectAccessReview" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.SubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.SubjectAccessReview" } }, "401": { @@ -52606,24 +50353,26 @@ "https" ], "tags": [ - "apps_v1beta1" + "authorization_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status": { + "/apis/authorization.k8s.io/v1beta1/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "read status of the specified Deployment", - "operationId": "readNamespacedDeploymentStatus", + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -52633,7 +50382,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -52644,21 +50393,23 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, + "authorization_v1beta1" + ] + } + }, + "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { "parameters": [ { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", "type": "string", "uniqueItems": true }, @@ -52678,44 +50429,20 @@ "uniqueItems": true } ], - "patch": { + "post": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update status of the specified Deployment", - "operationId": "patchNamespacedDeploymentStatus", + "description": "create a LocalSubjectAccessReview", + "operationId": "createNamespacedLocalSubjectAccessReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Patch" + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -52727,55 +50454,244 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" } }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" ], - "x-kubernetes-action": "patch", + "tags": [ + "authorization_v1beta1" + ], + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", "version": "v1beta1" }, "x-codegen-request-body-name": "body" - }, - "put": { + } + }, + "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { "consumes": [ "*/*" ], - "description": "replace status of the specified Deployment", - "operationId": "replaceNamespacedDeploymentStatus", + "description": "create a SelfSubjectAccessReview", + "operationId": "createSelfSubjectAccessReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" + } + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" } }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a SelfSubjectRulesReview", + "operationId": "createSelfSubjectRulesReview", + "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" + } + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" + } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a SubjectAccessReview", + "operationId": "createSubjectAccessReview", + "parameters": [ { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.SubjectAccessReview" + } } ], "produces": [ @@ -52787,13 +50703,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.SubjectAccessReview" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.SubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.SubjectAccessReview" } }, "401": { @@ -52804,27 +50726,197 @@ "https" ], "tags": [ - "apps_v1beta1" + "authorization_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets": { + "/apis/autoscaling/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "autoscaling" + ] + } + }, + "/apis/autoscaling/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ] + } + }, + "/apis/autoscaling/v1/horizontalpodautoscalers": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of StatefulSet", - "operationId": "deleteCollectionNamespacedStatefulSet", + "description": "delete collection of HorizontalPodAutoscaler", + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52935,24 +51027,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listNamespacedStatefulSet", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53019,7 +51111,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSetList" + "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" } }, "401": { @@ -53030,13 +51122,13 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, "parameters": [ @@ -53060,15 +51152,15 @@ "consumes": [ "*/*" ], - "description": "create a StatefulSet", - "operationId": "createNamespacedStatefulSet", + "description": "create a HorizontalPodAutoscaler", + "operationId": "createNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, { @@ -53095,19 +51187,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -53118,24 +51210,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}": { + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a StatefulSet", - "operationId": "deleteNamespacedStatefulSet", + "description": "delete a HorizontalPodAutoscaler", + "operationId": "deleteNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -53199,13 +51291,13 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -53213,8 +51305,8 @@ "consumes": [ "*/*" ], - "description": "read the specified StatefulSet", - "operationId": "readNamespacedStatefulSet", + "description": "read the specified HorizontalPodAutoscaler", + "operationId": "readNamespacedHorizontalPodAutoscaler", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -53240,7 +51332,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -53251,18 +51343,18 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, "parameters": [ { - "description": "name of the StatefulSet", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -53292,8 +51384,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified StatefulSet", - "operationId": "patchNamespacedStatefulSet", + "description": "partially update the specified HorizontalPodAutoscaler", + "operationId": "patchNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -53334,7 +51426,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -53345,13 +51437,13 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -53359,15 +51451,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified StatefulSet", - "operationId": "replaceNamespacedStatefulSet", + "description": "replace the specified HorizontalPodAutoscaler", + "operationId": "replaceNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, { @@ -53394,13 +51486,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -53411,222 +51503,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale": { + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified StatefulSet", - "operationId": "readNamespacedStatefulSetScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified StatefulSet", - "operationId": "patchNamespacedStatefulSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified StatefulSet", - "operationId": "replaceNamespacedStatefulSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified StatefulSet", - "operationId": "readNamespacedStatefulSetStatus", + "description": "read status of the specified HorizontalPodAutoscaler", + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "produces": [ "application/json", "application/yaml", @@ -53636,7 +51530,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -53647,18 +51541,18 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, "parameters": [ { - "description": "name of the StatefulSet", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -53688,8 +51582,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified StatefulSet", - "operationId": "patchNamespacedStatefulSetStatus", + "description": "partially update status of the specified HorizontalPodAutoscaler", + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", @@ -53730,7 +51624,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -53741,13 +51635,13 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -53755,15 +51649,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified StatefulSet", - "operationId": "replaceNamespacedStatefulSetStatus", + "description": "replace status of the specified HorizontalPodAutoscaler", + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, { @@ -53790,13 +51684,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -53807,192 +51701,21 @@ "https" ], "tags": [ - "apps_v1beta1" + "autoscaling_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta1/statefulsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listStatefulSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta1/watch/controllerrevisions": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta1/watch/deployments": { + "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54056,10 +51779,10 @@ } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions": { + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54131,10 +51854,10 @@ } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}": { + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54169,7 +51892,7 @@ "uniqueItems": true }, { - "description": "name of the ControllerRevision", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -54214,10 +51937,80 @@ } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments": { + "/apis/autoscaling/v2beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ] + } + }, + "/apis/autoscaling/v2beta1/horizontalpodautoscalers": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + } + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54251,14 +52044,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -54289,323 +52074,106 @@ } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta1/watch/statefulsets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/": { - "get": { + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers": { + "delete": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "delete collection of HorizontalPodAutoscaler", + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -54615,7 +52183,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -54626,17 +52194,79 @@ "https" ], "tags": [ - "apps_v1beta2" - ] - } - }, - "/apis/apps/v1beta2/controllerrevisions": { + "autoscaling_v2beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + } + }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listControllerRevisionForAllNamespaces", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -54648,7 +52278,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevisionList" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" } }, "401": { @@ -54659,204 +52289,84 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apps/v1beta2/daemonsets": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listDaemonSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", + "description": "create a HorizontalPodAutoscaler", + "operationId": "createNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/v1beta2.DaemonSetList" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, - "401": { - "description": "Unauthorized" + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/deployments": { - "get": { - "consumes": [ - "*/*" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listDeploymentForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DeploymentList" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -54867,96 +52377,25 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "x-codegen-request-body-name": "body" + } }, - "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions": { + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ControllerRevision", - "operationId": "deleteCollectionNamespacedControllerRevision", + "description": "delete a HorizontalPodAutoscaler", + "operationId": "deleteNamespacedHorizontalPodAutoscaler", "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, { "in": "body", "name": "body", @@ -54964,13 +52403,6 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -54978,13 +52410,6 @@ "type": "string", "uniqueItems": true }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, { "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", @@ -54992,20 +52417,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "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", @@ -55019,27 +52430,6 @@ "name": "propagationPolicy", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -55054,6 +52444,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -55062,75 +52458,34 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + }, + "x-codegen-request-body-name": "body" }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listNamespacedControllerRevision", + "description": "read the specified HorizontalPodAutoscaler", + "operationId": "readNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "allowWatchBookmarks", + "name": "exact", "type": "boolean", "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "watch", + "name": "export", "type": "boolean", "uniqueItems": true } @@ -55138,15 +52493,13 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevisionList" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -55157,16 +52510,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ + { + "description": "name of the HorizontalPodAutoscaler", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -55183,19 +52544,22 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create a ControllerRevision", - "operationId": "createNamespacedControllerRevision", + "description": "partially update the specified HorizontalPodAutoscaler", + "operationId": "patchNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v1.Patch" } }, { @@ -55206,11 +52570,18 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -55222,19 +52593,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -55245,30 +52604,29 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" }, "x-codegen-request-body-name": "body" - } - }, - "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}": { - "delete": { + }, + "put": { "consumes": [ "*/*" ], - "description": "delete a ControllerRevision", - "operationId": "deleteNamespacedControllerRevision", + "description": "replace the specified HorizontalPodAutoscaler", + "operationId": "replaceNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, { @@ -55279,23 +52637,9 @@ "uniqueItems": true }, { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "propagationPolicy", + "name": "fieldManager", "type": "string", "uniqueItems": true } @@ -55309,13 +52653,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -55326,38 +52670,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" }, "x-codegen-request-body-name": "body" - }, + } + }, + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified ControllerRevision", - "operationId": "readNamespacedControllerRevision", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified HorizontalPodAutoscaler", + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "produces": [ "application/json", "application/yaml", @@ -55367,7 +52697,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -55378,18 +52708,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { - "description": "name of the ControllerRevision", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -55419,8 +52749,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ControllerRevision", - "operationId": "patchNamespacedControllerRevision", + "description": "partially update status of the specified HorizontalPodAutoscaler", + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", @@ -55461,7 +52791,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -55472,13 +52802,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" }, "x-codegen-request-body-name": "body" }, @@ -55486,15 +52816,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ControllerRevision", - "operationId": "replaceNamespacedControllerRevision", + "description": "replace status of the specified HorizontalPodAutoscaler", + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, { @@ -55521,13 +52851,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -55538,27 +52868,389 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets": { - "delete": { - "consumes": [ - "*/*" + "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the HorizontalPodAutoscaler", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/autoscaling/v2beta2/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "delete collection of DaemonSet", - "operationId": "deleteCollectionNamespacedDaemonSet", + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta2" + ] + } + }, + "/apis/autoscaling/v2beta2/horizontalpodautoscalers": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta2" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of HorizontalPodAutoscaler", + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -55669,24 +53361,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listNamespacedDaemonSet", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -55753,7 +53445,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSetList" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerList" } }, "401": { @@ -55764,13 +53456,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ @@ -55794,15 +53486,15 @@ "consumes": [ "*/*" ], - "description": "create a DaemonSet", - "operationId": "createNamespacedDaemonSet", + "description": "create a HorizontalPodAutoscaler", + "operationId": "createNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, { @@ -55829,19 +53521,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -55852,24 +53544,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a DaemonSet", - "operationId": "deleteNamespacedDaemonSet", + "description": "delete a HorizontalPodAutoscaler", + "operationId": "deleteNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -55933,13 +53625,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" }, "x-codegen-request-body-name": "body" }, @@ -55947,8 +53639,8 @@ "consumes": [ "*/*" ], - "description": "read the specified DaemonSet", - "operationId": "readNamespacedDaemonSet", + "description": "read the specified HorizontalPodAutoscaler", + "operationId": "readNamespacedHorizontalPodAutoscaler", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -55974,7 +53666,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -55985,18 +53677,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { - "description": "name of the DaemonSet", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -56026,8 +53718,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified DaemonSet", - "operationId": "patchNamespacedDaemonSet", + "description": "partially update the specified HorizontalPodAutoscaler", + "operationId": "patchNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -56068,7 +53760,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -56079,13 +53771,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" }, "x-codegen-request-body-name": "body" }, @@ -56093,15 +53785,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified DaemonSet", - "operationId": "replaceNamespacedDaemonSet", + "description": "replace the specified HorizontalPodAutoscaler", + "operationId": "replaceNamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, { @@ -56128,13 +53820,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -56145,24 +53837,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified DaemonSet", - "operationId": "readNamespacedDaemonSetStatus", + "description": "read status of the specified HorizontalPodAutoscaler", + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "produces": [ "application/json", "application/yaml", @@ -56172,7 +53864,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -56183,18 +53875,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { - "description": "name of the DaemonSet", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -56224,8 +53916,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified DaemonSet", - "operationId": "patchNamespacedDaemonSetStatus", + "description": "partially update status of the specified HorizontalPodAutoscaler", + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", @@ -56266,7 +53958,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -56277,13 +53969,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" }, "x-codegen-request-body-name": "body" }, @@ -56291,15 +53983,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified DaemonSet", - "operationId": "replaceNamespacedDaemonSetStatus", + "description": "replace status of the specified HorizontalPodAutoscaler", + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, { @@ -56326,13 +54018,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -56343,38 +54035,433 @@ "https" ], "tags": [ - "apps_v1beta2" + "autoscaling_v2beta2" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Deployment", - "operationId": "deleteCollectionNamespacedDeployment", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } + "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the HorizontalPodAutoscaler", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/batch/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch" + ] + } + }, + "/apis/batch/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ] + } + }, + "/apis/batch/v1/jobs": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Job", + "operationId": "listJobForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.JobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/jobs": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of Job", + "operationId": "deleteCollectionNamespacedJob", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } }, { "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", @@ -56474,24 +54561,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listNamespacedDeployment", + "description": "list or watch objects of kind Job", + "operationId": "listNamespacedJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56558,7 +54645,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DeploymentList" + "$ref": "#/definitions/v1.JobList" } }, "401": { @@ -56569,13 +54656,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ @@ -56599,15 +54686,15 @@ "consumes": [ "*/*" ], - "description": "create a Deployment", - "operationId": "createNamespacedDeployment", + "description": "create a Job", + "operationId": "createNamespacedJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, { @@ -56634,19 +54721,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -56657,24 +54744,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Deployment", - "operationId": "deleteNamespacedDeployment", + "description": "delete a Job", + "operationId": "deleteNamespacedJob", "parameters": [ { "in": "body", @@ -56738,13 +54825,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -56752,8 +54839,8 @@ "consumes": [ "*/*" ], - "description": "read the specified Deployment", - "operationId": "readNamespacedDeployment", + "description": "read the specified Job", + "operationId": "readNamespacedJob", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -56779,7 +54866,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -56790,18 +54877,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ { - "description": "name of the Deployment", + "description": "name of the Job", "in": "path", "name": "name", "required": true, @@ -56831,8 +54918,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Deployment", - "operationId": "patchNamespacedDeployment", + "description": "partially update the specified Job", + "operationId": "patchNamespacedJob", "parameters": [ { "in": "body", @@ -56873,7 +54960,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -56884,13 +54971,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -56898,15 +54985,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Deployment", - "operationId": "replaceNamespacedDeployment", + "description": "replace the specified Job", + "operationId": "replaceNamespacedJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, { @@ -56933,13 +55020,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -56950,24 +55037,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified Deployment", - "operationId": "readNamespacedDeploymentScale", + "description": "read status of the specified Job", + "operationId": "readNamespacedJobStatus", "produces": [ "application/json", "application/yaml", @@ -56977,7 +55064,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -56988,18 +55075,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "name of the Job", "in": "path", "name": "name", "required": true, @@ -57029,8 +55116,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update scale of the specified Deployment", - "operationId": "patchNamespacedDeploymentScale", + "description": "partially update status of the specified Job", + "operationId": "patchNamespacedJobStatus", "parameters": [ { "in": "body", @@ -57071,7 +55158,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -57082,13 +55169,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -57096,15 +55183,15 @@ "consumes": [ "*/*" ], - "description": "replace scale of the specified Deployment", - "operationId": "replaceNamespacedDeploymentScale", + "description": "replace status of the specified Job", + "operationId": "replaceNamespacedJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Job" } }, { @@ -57131,13 +55218,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -57148,56 +55235,198 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "Job", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Deployment", - "operationId": "readNamespacedDeploymentStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/batch/v1/watch/jobs": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { "parameters": [ { - "description": "name of the Deployment", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Job", "in": "path", "name": "name", "required": true, @@ -57218,48 +55447,39 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/batch/v1beta1/": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Deployment", - "operationId": "patchNamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -57269,7 +55489,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -57280,62 +55500,29 @@ "https" ], "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { + "batch_v1beta1" + ] + } + }, + "/apis/batch/v1beta1/cronjobs": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified Deployment", - "operationId": "replaceNamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind CronJob", + "operationId": "listCronJobForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1beta1.CronJobList" } }, "401": { @@ -57346,27 +55533,91 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ReplicaSet", - "operationId": "deleteCollectionNamespacedReplicaSet", + "description": "delete collection of CronJob", + "operationId": "deleteCollectionNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57477,24 +55728,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listNamespacedReplicaSet", + "description": "list or watch objects of kind CronJob", + "operationId": "listNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57561,7 +55812,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSetList" + "$ref": "#/definitions/v1beta1.CronJobList" } }, "401": { @@ -57572,13 +55823,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ @@ -57602,15 +55853,15 @@ "consumes": [ "*/*" ], - "description": "create a ReplicaSet", - "operationId": "createNamespacedReplicaSet", + "description": "create a CronJob", + "operationId": "createNamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, { @@ -57637,19 +55888,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -57660,24 +55911,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ReplicaSet", - "operationId": "deleteNamespacedReplicaSet", + "description": "delete a CronJob", + "operationId": "deleteNamespacedCronJob", "parameters": [ { "in": "body", @@ -57741,13 +55992,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -57755,8 +56006,8 @@ "consumes": [ "*/*" ], - "description": "read the specified ReplicaSet", - "operationId": "readNamespacedReplicaSet", + "description": "read the specified CronJob", + "operationId": "readNamespacedCronJob", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -57782,7 +56033,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -57793,18 +56044,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ReplicaSet", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -57834,8 +56085,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ReplicaSet", - "operationId": "patchNamespacedReplicaSet", + "description": "partially update the specified CronJob", + "operationId": "patchNamespacedCronJob", "parameters": [ { "in": "body", @@ -57876,7 +56127,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -57887,13 +56138,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -57901,15 +56152,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ReplicaSet", - "operationId": "replaceNamespacedReplicaSet", + "description": "replace the specified CronJob", + "operationId": "replaceNamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, { @@ -57936,13 +56187,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -57953,24 +56204,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified ReplicaSet", - "operationId": "readNamespacedReplicaSetScale", + "description": "read status of the specified CronJob", + "operationId": "readNamespacedCronJobStatus", "produces": [ "application/json", "application/yaml", @@ -57980,7 +56231,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -57991,18 +56242,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -58032,8 +56283,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update scale of the specified ReplicaSet", - "operationId": "patchNamespacedReplicaSetScale", + "description": "partially update status of the specified CronJob", + "operationId": "patchNamespacedCronJobStatus", "parameters": [ { "in": "body", @@ -58074,7 +56325,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -58085,13 +56336,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -58099,15 +56350,15 @@ "consumes": [ "*/*" ], - "description": "replace scale of the specified ReplicaSet", - "operationId": "replaceNamespacedReplicaSetScale", + "description": "replace status of the specified CronJob", + "operationId": "replaceNamespacedCronJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1beta1.CronJob" } }, { @@ -58134,13 +56385,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -58151,56 +56402,198 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ReplicaSet", - "operationId": "readNamespacedReplicaSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/batch/v1beta1/watch/cronjobs": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { "parameters": [ { - "description": "name of the ReplicaSet", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -58221,48 +56614,39 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/batch/v2alpha1/": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ReplicaSet", - "operationId": "patchNamespacedReplicaSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -58272,7 +56656,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -58283,62 +56667,29 @@ "https" ], "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { + "batch_v2alpha1" + ] + } + }, + "/apis/batch/v2alpha1/cronjobs": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified ReplicaSet", - "operationId": "replaceNamespacedReplicaSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind CronJob", + "operationId": "listCronJobForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v2alpha1.CronJobList" } }, "401": { @@ -58349,27 +56700,91 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of StatefulSet", - "operationId": "deleteCollectionNamespacedStatefulSet", + "description": "delete collection of CronJob", + "operationId": "deleteCollectionNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -58480,24 +56895,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listNamespacedStatefulSet", + "description": "list or watch objects of kind CronJob", + "operationId": "listNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -58564,7 +56979,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSetList" + "$ref": "#/definitions/v2alpha1.CronJobList" } }, "401": { @@ -58575,13 +56990,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ @@ -58605,15 +57020,15 @@ "consumes": [ "*/*" ], - "description": "create a StatefulSet", - "operationId": "createNamespacedStatefulSet", + "description": "create a CronJob", + "operationId": "createNamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, { @@ -58640,19 +57055,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -58663,24 +57078,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a StatefulSet", - "operationId": "deleteNamespacedStatefulSet", + "description": "delete a CronJob", + "operationId": "deleteNamespacedCronJob", "parameters": [ { "in": "body", @@ -58744,13 +57159,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" }, "x-codegen-request-body-name": "body" }, @@ -58758,8 +57173,8 @@ "consumes": [ "*/*" ], - "description": "read the specified StatefulSet", - "operationId": "readNamespacedStatefulSet", + "description": "read the specified CronJob", + "operationId": "readNamespacedCronJob", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -58785,7 +57200,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -58796,216 +57211,18 @@ "https" ], "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified StatefulSet", - "operationId": "patchNamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified StatefulSet", - "operationId": "replaceNamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified StatefulSet", - "operationId": "readNamespacedStatefulSetScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -59035,8 +57252,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update scale of the specified StatefulSet", - "operationId": "patchNamespacedStatefulSetScale", + "description": "partially update the specified CronJob", + "operationId": "patchNamespacedCronJob", "parameters": [ { "in": "body", @@ -59077,7 +57294,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -59088,13 +57305,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" }, "x-codegen-request-body-name": "body" }, @@ -59102,15 +57319,15 @@ "consumes": [ "*/*" ], - "description": "replace scale of the specified StatefulSet", - "operationId": "replaceNamespacedStatefulSetScale", + "description": "replace the specified CronJob", + "operationId": "replaceNamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v2alpha1.CronJob" } }, { @@ -59137,13 +57354,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -59154,24 +57371,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified StatefulSet", - "operationId": "readNamespacedStatefulSetStatus", + "description": "read status of the specified CronJob", + "operationId": "readNamespacedCronJobStatus", "produces": [ "application/json", "application/yaml", @@ -59181,7 +57398,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -59192,18 +57409,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "name of the StatefulSet", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -59233,8 +57450,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified StatefulSet", - "operationId": "patchNamespacedStatefulSetStatus", + "description": "partially update status of the specified CronJob", + "operationId": "patchNamespacedCronJobStatus", "parameters": [ { "in": "body", @@ -59275,7 +57492,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -59286,13 +57503,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" }, "x-codegen-request-body-name": "body" }, @@ -59300,15 +57517,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified StatefulSet", - "operationId": "replaceNamespacedStatefulSetStatus", + "description": "replace status of the specified CronJob", + "operationId": "replaceNamespacedCronJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, { @@ -59335,13 +57552,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -59352,58 +57569,21 @@ "https" ], "tags": [ - "apps_v1beta2" + "batch_v2alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/apps/v1beta2/replicasets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listReplicaSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, + "/apis/batch/v2alpha1/watch/cronjobs": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59467,47 +57647,10 @@ } ] }, - "/apis/apps/v1beta2/statefulsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listStatefulSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59542,72 +57685,13 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/controllerrevisions": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -59638,10 +57722,10 @@ } ] }, - "/apis/apps/v1beta2/watch/daemonsets": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59676,72 +57760,21 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/deployments": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the CronJob", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -59772,12920 +57805,40 @@ } ] }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ControllerRevision", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/replicasets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/statefulsets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/auditregistration.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration" - ] - } - }, - "/apis/auditregistration.k8s.io/v1alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ] - } - }, - "/apis/auditregistration.k8s.io/v1alpha1/auditsinks": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of AuditSink", - "operationId": "deleteCollectionAuditSink", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind AuditSink", - "operationId": "listAuditSink", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSinkList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an AuditSink", - "operationId": "createAuditSink", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an AuditSink", - "operationId": "deleteAuditSink", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified AuditSink", - "operationId": "readAuditSink", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "name of the AuditSink", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified AuditSink", - "operationId": "patchAuditSink", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified AuditSink", - "operationId": "replaceAuditSink", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha1.AuditSink" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the AuditSink", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/authentication.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication" - ] - } - }, - "/apis/authentication.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1" - ] - } - }, - "/apis/authentication.k8s.io/v1/tokenreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a TokenReview", - "operationId": "createTokenReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.TokenReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.TokenReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authentication.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1beta1" - ] - } - }, - "/apis/authentication.k8s.io/v1beta1/tokenreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a TokenReview", - "operationId": "createTokenReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authorization.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization" - ] - } - }, - "/apis/authorization.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ] - } - }, - "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a LocalSubjectAccessReview", - "operationId": "createNamespacedLocalSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectAccessReview", - "operationId": "createSelfSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectRulesReview", - "operationId": "createSelfSubjectRulesReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authorization.k8s.io/v1/subjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SubjectAccessReview", - "operationId": "createSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.SubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.SubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.SubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.SubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authorization.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ] - } - }, - "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a LocalSubjectAccessReview", - "operationId": "createNamespacedLocalSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectAccessReview", - "operationId": "createSelfSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectRulesReview", - "operationId": "createSelfSubjectRulesReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SubjectAccessReview", - "operationId": "createSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.SubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.SubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.SubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.SubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling" - ] - } - }, - "/apis/autoscaling/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ] - } - }, - "/apis/autoscaling/v1/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listHorizontalPodAutoscalerForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readNamespacedHorizontalPodAutoscalerStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ] - } - }, - "/apis/autoscaling/v2beta1/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listHorizontalPodAutoscalerForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readNamespacedHorizontalPodAutoscalerStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ] - } - }, - "/apis/autoscaling/v2beta2/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listHorizontalPodAutoscalerForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readNamespacedHorizontalPodAutoscalerStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch" - ] - } - }, - "/apis/batch/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ] - } - }, - "/apis/batch/v1/jobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Job", - "operationId": "listJobForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.JobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/namespaces/{namespace}/jobs": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Job", - "operationId": "deleteCollectionNamespacedJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Job", - "operationId": "listNamespacedJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.JobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Job", - "operationId": "createNamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Job", - "operationId": "deleteNamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Job", - "operationId": "readNamespacedJob", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Job", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Job", - "operationId": "patchNamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Job", - "operationId": "replaceNamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Job", - "operationId": "readNamespacedJobStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Job", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Job", - "operationId": "patchNamespacedJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Job", - "operationId": "replaceNamespacedJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v1/watch/jobs": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Job", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ] - } - }, - "/apis/batch/v1beta1/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listCronJobForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CronJob", - "operationId": "deleteCollectionNamespacedCronJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listNamespacedCronJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CronJob", - "operationId": "createNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CronJob", - "operationId": "deleteNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CronJob", - "operationId": "readNamespacedCronJob", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CronJob", - "operationId": "patchNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CronJob", - "operationId": "replaceNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CronJob", - "operationId": "readNamespacedCronJobStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CronJob", - "operationId": "patchNamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CronJob", - "operationId": "replaceNamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v1beta1/watch/cronjobs": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v2alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ] - } - }, - "/apis/batch/v2alpha1/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listCronJobForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CronJob", - "operationId": "deleteCollectionNamespacedCronJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listNamespacedCronJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CronJob", - "operationId": "createNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CronJob", - "operationId": "deleteNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CronJob", - "operationId": "readNamespacedCronJob", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CronJob", - "operationId": "patchNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CronJob", - "operationId": "replaceNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CronJob", - "operationId": "readNamespacedCronJobStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CronJob", - "operationId": "patchNamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CronJob", - "operationId": "replaceNamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/batch/v2alpha1/watch/cronjobs": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/certificates.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates" - ] - } - }, - "/apis/certificates.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ] - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CertificateSigningRequest", - "operationId": "deleteCollectionCertificateSigningRequest", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CertificateSigningRequest", - "operationId": "listCertificateSigningRequest", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequestList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CertificateSigningRequest", - "operationId": "createCertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CertificateSigningRequest", - "operationId": "deleteCertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CertificateSigningRequest", - "operationId": "readCertificateSigningRequest", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CertificateSigningRequest", - "operationId": "patchCertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CertificateSigningRequest", - "operationId": "replaceCertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "put": { - "consumes": [ - "*/*" - ], - "description": "replace approval of the specified CertificateSigningRequest", - "operationId": "replaceCertificateSigningRequestApproval", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CertificateSigningRequest", - "operationId": "readCertificateSigningRequestStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CertificateSigningRequest", - "operationId": "patchCertificateSigningRequestStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CertificateSigningRequest", - "operationId": "replaceCertificateSigningRequestStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination" - ] - } - }, - "/apis/coordination.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ] - } - }, - "/apis/coordination.k8s.io/v1/leases": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Lease", - "operationId": "listLeaseForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.LeaseList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Lease", - "operationId": "deleteCollectionNamespacedLease", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Lease", - "operationId": "listNamespacedLease", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.LeaseList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Lease", - "operationId": "createNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Lease", - "operationId": "deleteNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Lease", - "operationId": "readNamespacedLease", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Lease", - "operationId": "patchNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Lease", - "operationId": "replaceNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/coordination.k8s.io/v1/watch/leases": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ] - } - }, - "/apis/coordination.k8s.io/v1beta1/leases": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Lease", - "operationId": "listLeaseForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.LeaseList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Lease", - "operationId": "deleteCollectionNamespacedLease", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Lease", - "operationId": "listNamespacedLease", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.LeaseList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Lease", - "operationId": "createNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Lease", - "operationId": "deleteNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Lease", - "operationId": "readNamespacedLease", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Lease", - "operationId": "patchNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Lease", - "operationId": "replaceNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/coordination.k8s.io/v1beta1/watch/leases": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/certificates.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } }, "schemes": [ "https" ], "tags": [ - "discovery" + "certificates" ] } }, - "/apis/discovery.k8s.io/v1alpha1/": { + "/apis/certificates.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -72714,124 +57867,20 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ] } }, - "/apis/discovery.k8s.io/v1alpha1/endpointslices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listEndpointSliceForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSliceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of EndpointSlice", - "operationId": "deleteCollectionNamespacedEndpointSlice", + "description": "delete collection of CertificateSigningRequest", + "operationId": "deleteCollectionCertificateSigningRequest", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72942,24 +57991,24 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listNamespacedEndpointSlice", + "description": "list or watch objects of kind CertificateSigningRequest", + "operationId": "listCertificateSigningRequest", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73026,7 +58075,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSliceList" + "$ref": "#/definitions/v1beta1.CertificateSigningRequestList" } }, "401": { @@ -73037,20 +58086,233 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a CertificateSigningRequest", + "operationId": "createCertificateSigningRequest", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a CertificateSigningRequest", + "operationId": "deleteCertificateSigningRequest", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified CertificateSigningRequest", + "operationId": "readCertificateSigningRequest", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the CertificateSigningRequest", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -73063,19 +58325,89 @@ "uniqueItems": true } ], - "post": { + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified CertificateSigningRequest", + "operationId": "patchCertificateSigningRequest", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { "consumes": [ "*/*" ], - "description": "create an EndpointSlice", - "operationId": "createNamespacedEndpointSlice", + "description": "replace the specified CertificateSigningRequest", + "operationId": "replaceCertificateSigningRequest", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, { @@ -73102,19 +58434,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -73125,59 +58451,63 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}": { - "delete": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "name of the CertificateSigningRequest", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "put": { "consumes": [ "*/*" ], - "description": "delete an EndpointSlice", - "operationId": "deleteNamespacedEndpointSlice", + "description": "replace approval of the specified CertificateSigningRequest", + "operationId": "replaceCertificateSigningRequestApproval", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -73189,13 +58519,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -73206,38 +58536,24 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" - }, + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified EndpointSlice", - "operationId": "readNamespacedEndpointSlice", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified CertificateSigningRequest", + "operationId": "readCertificateSigningRequestStatus", "produces": [ "application/json", "application/yaml", @@ -73247,7 +58563,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -73258,32 +58574,24 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the EndpointSlice", + "description": "name of the CertificateSigningRequest", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -73299,8 +58607,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified EndpointSlice", - "operationId": "patchNamespacedEndpointSlice", + "description": "partially update status of the specified CertificateSigningRequest", + "operationId": "patchCertificateSigningRequestStatus", "parameters": [ { "in": "body", @@ -73341,7 +58649,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -73352,13 +58660,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -73366,15 +58674,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified EndpointSlice", - "operationId": "replaceNamespacedEndpointSlice", + "description": "replace status of the specified CertificateSigningRequest", + "operationId": "replaceCertificateSigningRequestStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, { @@ -73401,13 +58709,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { @@ -73418,88 +58726,21 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/discovery.k8s.io/v1alpha1/watch/endpointslices": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1alpha1/watch/namespaces/{namespace}/endpointslices": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73533,14 +58774,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -73571,10 +58804,10 @@ } ] }, - "/apis/discovery.k8s.io/v1alpha1/watch/namespaces/{namespace}/endpointslices/{name}": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73609,21 +58842,13 @@ "uniqueItems": true }, { - "description": "name of the EndpointSlice", + "description": "name of the CertificateSigningRequest", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -73654,7 +58879,7 @@ } ] }, - "/apis/events.k8s.io/": { + "/apis/coordination.k8s.io/": { "get": { "consumes": [ "application/json", @@ -73683,11 +58908,11 @@ "https" ], "tags": [ - "events" + "coordination" ] } }, - "/apis/events.k8s.io/v1beta1/": { + "/apis/coordination.k8s.io/v1/": { "get": { "consumes": [ "application/json", @@ -73716,17 +58941,17 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ] } }, - "/apis/events.k8s.io/v1beta1/events": { + "/apis/coordination.k8s.io/v1/leases": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listEventForAllNamespaces", + "description": "list or watch objects of kind Lease", + "operationId": "listLeaseForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -73738,7 +58963,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.EventList" + "$ref": "#/definitions/v1.LeaseList" } }, "401": { @@ -73749,18 +58974,18 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73824,16 +59049,16 @@ } ] }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { + "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Event", - "operationId": "deleteCollectionNamespacedEvent", + "description": "delete collection of Lease", + "operationId": "deleteCollectionNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73944,24 +59169,24 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listNamespacedEvent", + "description": "list or watch objects of kind Lease", + "operationId": "listNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74028,7 +59253,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.EventList" + "$ref": "#/definitions/v1.LeaseList" } }, "401": { @@ -74039,13 +59264,13 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ @@ -74069,15 +59294,15 @@ "consumes": [ "*/*" ], - "description": "create an Event", - "operationId": "createNamespacedEvent", + "description": "create a Lease", + "operationId": "createNamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, { @@ -74104,19 +59329,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, "401": { @@ -74127,24 +59352,24 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { + "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an Event", - "operationId": "deleteNamespacedEvent", + "description": "delete a Lease", + "operationId": "deleteNamespacedLease", "parameters": [ { "in": "body", @@ -74208,13 +59433,13 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -74222,8 +59447,8 @@ "consumes": [ "*/*" ], - "description": "read the specified Event", - "operationId": "readNamespacedEvent", + "description": "read the specified Lease", + "operationId": "readNamespacedLease", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -74249,7 +59474,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, "401": { @@ -74260,18 +59485,18 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ { - "description": "name of the Event", + "description": "name of the Lease", "in": "path", "name": "name", "required": true, @@ -74301,8 +59526,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Event", - "operationId": "patchNamespacedEvent", + "description": "partially update the specified Lease", + "operationId": "patchNamespacedLease", "parameters": [ { "in": "body", @@ -74343,7 +59568,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, "401": { @@ -74354,13 +59579,13 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -74368,15 +59593,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Event", - "operationId": "replaceNamespacedEvent", + "description": "replace the specified Lease", + "operationId": "replaceNamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, { @@ -74403,13 +59628,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.Event" + "$ref": "#/definitions/v1.Lease" } }, "401": { @@ -74420,21 +59645,21 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/events.k8s.io/v1beta1/watch/events": { + "/apis/coordination.k8s.io/v1/watch/leases": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74498,10 +59723,10 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { + "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74573,10 +59798,10 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74611,7 +59836,7 @@ "uniqueItems": true }, { - "description": "name of the Event", + "description": "name of the Lease", "in": "path", "name": "name", "required": true, @@ -74656,40 +59881,7 @@ } ] }, - "/apis/extensions/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions" - ] - } - }, - "/apis/extensions/v1beta1/": { + "/apis/coordination.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -74718,225 +59910,17 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ] } }, - "/apis/extensions/v1beta1/daemonsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listDaemonSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/deployments": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Deployment", - "operationId": "listDeploymentForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/ingresses": { + "/apis/coordination.k8s.io/v1beta1/leases": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Ingress", - "operationId": "listIngressForAllNamespaces", + "description": "list or watch objects of kind Lease", + "operationId": "listLeaseForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -74948,7 +59932,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.IngressList" + "$ref": "#/definitions/v1beta1.LeaseList" } }, "401": { @@ -74959,18 +59943,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75034,16 +60018,16 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of DaemonSet", - "operationId": "deleteCollectionNamespacedDaemonSet", + "description": "delete collection of Lease", + "operationId": "deleteCollectionNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75154,12 +60138,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -75167,11 +60151,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listNamespacedDaemonSet", + "description": "list or watch objects of kind Lease", + "operationId": "listNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75238,7 +60222,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSetList" + "$ref": "#/definitions/v1beta1.LeaseList" } }, "401": { @@ -75249,12 +60233,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -75279,15 +60263,15 @@ "consumes": [ "*/*" ], - "description": "create a DaemonSet", - "operationId": "createNamespacedDaemonSet", + "description": "create a Lease", + "operationId": "createNamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, { @@ -75314,19 +60298,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "401": { @@ -75337,24 +60321,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a DaemonSet", - "operationId": "deleteNamespacedDaemonSet", + "description": "delete a Lease", + "operationId": "deleteNamespacedLease", "parameters": [ { "in": "body", @@ -75418,12 +60402,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -75432,8 +60416,8 @@ "consumes": [ "*/*" ], - "description": "read the specified DaemonSet", - "operationId": "readNamespacedDaemonSet", + "description": "read the specified Lease", + "operationId": "readNamespacedLease", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -75459,7 +60443,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "401": { @@ -75470,18 +60454,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the DaemonSet", + "description": "name of the Lease", "in": "path", "name": "name", "required": true, @@ -75511,8 +60495,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified DaemonSet", - "operationId": "patchNamespacedDaemonSet", + "description": "partially update the specified Lease", + "operationId": "patchNamespacedLease", "parameters": [ { "in": "body", @@ -75553,7 +60537,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "401": { @@ -75564,12 +60548,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -75578,15 +60562,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified DaemonSet", - "operationId": "replaceNamespacedDaemonSet", + "description": "replace the specified Lease", + "operationId": "replaceNamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, { @@ -75613,13 +60597,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.Lease" } }, "401": { @@ -75630,56 +60614,198 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified DaemonSet", - "operationId": "readNamespacedDaemonSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/coordination.k8s.io/v1beta1/watch/leases": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { "parameters": [ { - "description": "name of the DaemonSet", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Lease", "in": "path", "name": "name", "required": true, @@ -75700,48 +60826,39 @@ "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified DaemonSet", - "operationId": "patchNamespacedDaemonSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/discovery.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get information of a group", + "operationId": "getAPIGroup", "produces": [ "application/json", "application/yaml", @@ -75751,7 +60868,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -75762,62 +60879,62 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { + "discovery" + ] + } + }, + "/apis/discovery.k8s.io/v1beta1/": { + "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "replace status of the specified DaemonSet", - "operationId": "replaceNamespacedDaemonSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1.APIResourceList" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1beta1" + ] + } + }, + "/apis/discovery.k8s.io/v1beta1/endpointslices": { + "get": { + "consumes": [ + "*/*" ], + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listEndpointSliceForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.EndpointSliceList" } }, "401": { @@ -75828,27 +60945,91 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Deployment", - "operationId": "deleteCollectionNamespacedDeployment", + "description": "delete collection of EndpointSlice", + "operationId": "deleteCollectionNamespacedEndpointSlice", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75959,12 +61140,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -75972,11 +61153,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listNamespacedDeployment", + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listNamespacedEndpointSlice", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76043,7 +61224,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentList" + "$ref": "#/definitions/v1beta1.EndpointSliceList" } }, "401": { @@ -76054,12 +61235,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -76084,15 +61265,15 @@ "consumes": [ "*/*" ], - "description": "create a Deployment", - "operationId": "createNamespacedDeployment", + "description": "create an EndpointSlice", + "operationId": "createNamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, { @@ -76119,19 +61300,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "401": { @@ -76142,364 +61323,59 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Deployment", - "operationId": "deleteNamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Deployment", - "operationId": "readNamespacedDeployment", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Deployment", - "operationId": "patchNamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Deployment", - "operationId": "replaceNamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the DeploymentRollback", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { + "x-codegen-request-body-name": "body" + } + }, + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "create rollback of a Deployment", - "operationId": "createNamespacedDeploymentRollback", + "description": "delete an EndpointSlice", + "operationId": "deleteNamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" + "$ref": "#/definitions/v1.DeleteOptions" } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true } ], "produces": [ @@ -76514,12 +61390,6 @@ "$ref": "#/definitions/v1.Status" } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, "202": { "description": "Accepted", "schema": { @@ -76534,24 +61404,38 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DeploymentRollback", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" }, "x-codegen-request-body-name": "body" - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + }, "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified Deployment", - "operationId": "readNamespacedDeploymentScale", + "description": "read the specified EndpointSlice", + "operationId": "readNamespacedEndpointSlice", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -76561,7 +61445,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "401": { @@ -76572,18 +61456,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "name of the EndpointSlice", "in": "path", "name": "name", "required": true, @@ -76613,8 +61497,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update scale of the specified Deployment", - "operationId": "patchNamespacedDeploymentScale", + "description": "partially update the specified EndpointSlice", + "operationId": "patchNamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -76655,7 +61539,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "401": { @@ -76666,12 +61550,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -76680,15 +61564,15 @@ "consumes": [ "*/*" ], - "description": "replace scale of the specified Deployment", - "operationId": "replaceNamespacedDeploymentScale", + "description": "replace the specified EndpointSlice", + "operationId": "replaceNamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, { @@ -76715,13 +61599,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "401": { @@ -76732,56 +61616,198 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Deployment", - "operationId": "readNamespacedDeploymentStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/discovery.k8s.io/v1beta1/watch/endpointslices": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices": { "parameters": [ { - "description": "name of the Deployment", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the EndpointSlice", "in": "path", "name": "name", "required": true, @@ -76802,48 +61828,72 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/events.k8s.io/": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "partially update status of the specified Deployment", - "operationId": "patchNamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/v1.Patch" + "$ref": "#/definitions/v1.APIGroup" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "events" + ] + } + }, + "/apis/events.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -76853,7 +61903,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -76864,62 +61914,29 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { + "events_v1beta1" + ] + } + }, + "/apis/events.k8s.io/v1beta1/events": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified Deployment", - "operationId": "replaceNamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind Event", + "operationId": "listEventForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.EventList" } }, "401": { @@ -76930,27 +61947,91 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Ingress", - "operationId": "deleteCollectionNamespacedIngress", + "description": "delete collection of Event", + "operationId": "deleteCollectionNamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77061,12 +62142,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -77074,11 +62155,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Ingress", - "operationId": "listNamespacedIngress", + "description": "list or watch objects of kind Event", + "operationId": "listNamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77145,7 +62226,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.IngressList" + "$ref": "#/definitions/v1beta1.EventList" } }, "401": { @@ -77156,12 +62237,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -77186,15 +62267,15 @@ "consumes": [ "*/*" ], - "description": "create an Ingress", - "operationId": "createNamespacedIngress", + "description": "create an Event", + "operationId": "createNamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, { @@ -77221,19 +62302,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, "401": { @@ -77244,24 +62325,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an Ingress", - "operationId": "deleteNamespacedIngress", + "description": "delete an Event", + "operationId": "deleteNamespacedEvent", "parameters": [ { "in": "body", @@ -77325,12 +62406,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -77339,8 +62420,8 @@ "consumes": [ "*/*" ], - "description": "read the specified Ingress", - "operationId": "readNamespacedIngress", + "description": "read the specified Event", + "operationId": "readNamespacedEvent", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -77366,7 +62447,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, "401": { @@ -77377,18 +62458,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Ingress", + "description": "name of the Event", "in": "path", "name": "name", "required": true, @@ -77418,8 +62499,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Ingress", - "operationId": "patchNamespacedIngress", + "description": "partially update the specified Event", + "operationId": "patchNamespacedEvent", "parameters": [ { "in": "body", @@ -77460,7 +62541,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, "401": { @@ -77471,12 +62552,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -77485,15 +62566,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Ingress", - "operationId": "replaceNamespacedIngress", + "description": "replace the specified Event", + "operationId": "replaceNamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, { @@ -77520,13 +62601,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1beta1.Event" } }, "401": { @@ -77537,56 +62618,198 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Ingress", - "operationId": "readNamespacedIngressStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/events.k8s.io/v1beta1/watch/events": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { "parameters": [ { - "description": "name of the Ingress", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Event", "in": "path", "name": "name", "required": true, @@ -77607,48 +62830,72 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/extensions/": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "partially update status of the specified Ingress", - "operationId": "patchNamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/v1.Patch" + "$ref": "#/definitions/v1.APIGroup" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions" + ] + } + }, + "/apis/extensions/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -77658,7 +62905,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -77670,92 +62917,123 @@ ], "tags": [ "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { + ] + } + }, + "/apis/extensions/v1beta1/ingresses": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified Ingress", - "operationId": "replaceNamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind Ingress", + "operationId": "listIngressForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Ingress" + "$ref": "#/definitions/extensions.v1beta1.IngressList" } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteCollectionNamespacedNetworkPolicy", + "description": "delete collection of Ingress", + "operationId": "deleteCollectionNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77871,7 +63149,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, @@ -77879,11 +63157,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNamespacedNetworkPolicy", + "description": "list or watch objects of kind Ingress", + "operationId": "listNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77950,7 +63228,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicyList" + "$ref": "#/definitions/extensions.v1beta1.IngressList" } }, "401": { @@ -77966,7 +63244,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, @@ -77991,15 +63269,15 @@ "consumes": [ "*/*" ], - "description": "create a NetworkPolicy", - "operationId": "createNamespacedNetworkPolicy", + "description": "create an Ingress", + "operationId": "createNamespacedIngress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, { @@ -78026,19 +63304,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "401": { @@ -78054,19 +63332,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a NetworkPolicy", - "operationId": "deleteNamespacedNetworkPolicy", + "description": "delete an Ingress", + "operationId": "deleteNamespacedIngress", "parameters": [ { "in": "body", @@ -78135,7 +63413,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -78144,8 +63422,8 @@ "consumes": [ "*/*" ], - "description": "read the specified NetworkPolicy", - "operationId": "readNamespacedNetworkPolicy", + "description": "read the specified Ingress", + "operationId": "readNamespacedIngress", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -78171,7 +63449,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "401": { @@ -78187,13 +63465,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the NetworkPolicy", + "description": "name of the Ingress", "in": "path", "name": "name", "required": true, @@ -78223,8 +63501,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchNamespacedNetworkPolicy", + "description": "partially update the specified Ingress", + "operationId": "patchNamespacedIngress", "parameters": [ { "in": "body", @@ -78265,7 +63543,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "401": { @@ -78281,7 +63559,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -78290,15 +63568,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified NetworkPolicy", - "operationId": "replaceNamespacedNetworkPolicy", + "description": "replace the specified Ingress", + "operationId": "replaceNamespacedIngress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, { @@ -78325,13 +63603,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "401": { @@ -78347,428 +63625,19 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ReplicaSet", - "operationId": "deleteCollectionNamespacedReplicaSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listNamespacedReplicaSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ReplicaSet", - "operationId": "createNamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ReplicaSet", - "operationId": "deleteNamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ReplicaSet", - "operationId": "readNamespacedReplicaSet", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { + "get": { + "consumes": [ + "*/*" ], + "description": "read status of the specified Ingress", + "operationId": "readNamespacedIngressStatus", "produces": [ "application/json", "application/yaml", @@ -78778,7 +63647,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "401": { @@ -78794,13 +63663,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ReplicaSet", + "description": "name of the Ingress", "in": "path", "name": "name", "required": true, @@ -78830,8 +63699,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ReplicaSet", - "operationId": "patchNamespacedReplicaSet", + "description": "partially update status of the specified Ingress", + "operationId": "patchNamespacedIngressStatus", "parameters": [ { "in": "body", @@ -78872,7 +63741,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "401": { @@ -78888,7 +63757,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -78897,15 +63766,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ReplicaSet", - "operationId": "replaceNamespacedReplicaSet", + "description": "replace status of the specified Ingress", + "operationId": "replaceNamespacedIngressStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, { @@ -78932,13 +63801,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/extensions.v1beta1.Ingress" } }, "401": { @@ -78954,51 +63823,193 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "ReplicaSet", + "kind": "Ingress", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified ReplicaSet", - "operationId": "readNamespacedReplicaSetScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/extensions/v1beta1/watch/ingresses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { "parameters": [ { - "description": "name of the Scale", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Ingress", "in": "path", "name": "name", "required": true, @@ -79019,26 +64030,125 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "partially update scale of the specified ReplicaSet", - "operationId": "patchNamespacedReplicaSetScale", + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver" + ] + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ] + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of FlowSchema", + "operationId": "deleteCollectionFlowSchema", "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/v1.Patch" + "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -79047,16 +64157,65 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "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", - "name": "force", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", "type": "boolean", "uniqueItems": true } @@ -79070,7 +64229,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -79081,29 +64240,132 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind FlowSchema", + "operationId": "listFlowSchema", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchemaList" + } + }, + "401": { + "description": "Unauthorized" + } }, - "x-codegen-request-body-name": "body" + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } }, - "put": { + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { "consumes": [ "*/*" ], - "description": "replace scale of the specified ReplicaSet", - "operationId": "replaceNamespacedReplicaSetScale", + "description": "create a FlowSchema", + "operationId": "createFlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, { @@ -79130,13 +64392,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -79147,24 +64415,119 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a FlowSchema", + "operationId": "deleteFlowSchema", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, "get": { "consumes": [ "*/*" ], - "description": "read status of the specified ReplicaSet", - "operationId": "readNamespacedReplicaSetStatus", + "description": "read the specified FlowSchema", + "operationId": "readFlowSchema", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -79174,7 +64537,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -79185,32 +64548,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ReplicaSet", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -79226,8 +64581,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified ReplicaSet", - "operationId": "patchNamespacedReplicaSetStatus", + "description": "partially update the specified FlowSchema", + "operationId": "patchFlowSchema", "parameters": [ { "in": "body", @@ -79268,7 +64623,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -79279,13 +64634,13 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -79293,15 +64648,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified ReplicaSet", - "operationId": "replaceNamespacedReplicaSetStatus", + "description": "replace the specified FlowSchema", + "operationId": "replaceFlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, { @@ -79328,13 +64683,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -79345,24 +64700,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified ReplicationControllerDummy", - "operationId": "readNamespacedReplicationControllerDummyScale", + "description": "read status of the specified FlowSchema", + "operationId": "readFlowSchemaStatus", "produces": [ "application/json", "application/yaml", @@ -79372,7 +64727,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -79383,32 +64738,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -79424,8 +64771,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update scale of the specified ReplicationControllerDummy", - "operationId": "patchNamespacedReplicationControllerDummyScale", + "description": "partially update status of the specified FlowSchema", + "operationId": "patchFlowSchemaStatus", "parameters": [ { "in": "body", @@ -79466,7 +64813,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -79477,13 +64824,13 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -79491,15 +64838,15 @@ "consumes": [ "*/*" ], - "description": "replace scale of the specified ReplicationControllerDummy", - "operationId": "replaceNamespacedReplicationControllerDummyScale", + "description": "replace status of the specified FlowSchema", + "operationId": "replaceFlowSchemaStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, { @@ -79526,13 +64873,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -79543,131 +64890,27 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkPolicyForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/podsecuritypolicies": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PodSecurityPolicy", - "operationId": "deleteCollectionPodSecurityPolicy", + "description": "delete collection of PriorityLevelConfiguration", + "operationId": "deleteCollectionPriorityLevelConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79778,24 +65021,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodSecurityPolicy", - "operationId": "listPodSecurityPolicy", + "description": "list or watch objects of kind PriorityLevelConfiguration", + "operationId": "listPriorityLevelConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79862,7 +65105,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationList" } }, "401": { @@ -79873,13 +65116,13 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "parameters": [ @@ -79895,15 +65138,15 @@ "consumes": [ "*/*" ], - "description": "create a PodSecurityPolicy", - "operationId": "createPodSecurityPolicy", + "description": "create a PriorityLevelConfiguration", + "operationId": "createPriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, { @@ -79930,19 +65173,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -79953,24 +65196,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PodSecurityPolicy", - "operationId": "deletePodSecurityPolicy", + "description": "delete a PriorityLevelConfiguration", + "operationId": "deletePriorityLevelConfiguration", "parameters": [ { "in": "body", @@ -80034,13 +65277,13 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -80048,8 +65291,8 @@ "consumes": [ "*/*" ], - "description": "read the specified PodSecurityPolicy", - "operationId": "readPodSecurityPolicy", + "description": "read the specified PriorityLevelConfiguration", + "operationId": "readPriorityLevelConfiguration", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -80075,7 +65318,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -80086,18 +65329,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the PodSecurityPolicy", + "description": "name of the PriorityLevelConfiguration", "in": "path", "name": "name", "required": true, @@ -80119,8 +65362,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified PodSecurityPolicy", - "operationId": "patchPodSecurityPolicy", + "description": "partially update the specified PriorityLevelConfiguration", + "operationId": "patchPriorityLevelConfiguration", "parameters": [ { "in": "body", @@ -80161,7 +65404,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -80172,13 +65415,13 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -80186,15 +65429,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PodSecurityPolicy", - "operationId": "replacePodSecurityPolicy", + "description": "replace the specified PriorityLevelConfiguration", + "operationId": "replacePriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, { @@ -80221,13 +65464,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -80238,521 +65481,58 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/extensions/v1beta1/replicasets": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listReplicaSetForAllNamespaces", + "description": "read status of the specified PriorityLevelConfiguration", + "operationId": "readPriorityLevelConfigurationStatus", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/daemonsets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/deployments": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/ingresses": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the PriorityLevelConfiguration", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -80763,34 +65543,149 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified PriorityLevelConfiguration", + "operationId": "patchPriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified PriorityLevelConfiguration", + "operationId": "replacePriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80824,22 +65719,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -80870,10 +65749,10 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80908,9 +65787,9 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the FlowSchema", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -80945,10 +65824,10 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80982,22 +65861,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -81028,10 +65891,10 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81066,9 +65929,9 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the PriorityLevelConfiguration", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -81103,126 +65966,297 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the NetworkPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true + "/apis/networking.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking" + ] + } + }, + "/apis/networking.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ] + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of NetworkPolicy", + "operationId": "deleteCollectionNamespacedNetworkPolicy", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNamespacedNetworkPolicy", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { + }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -81237,69 +66271,215 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a NetworkPolicy", + "operationId": "createNamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a NetworkPolicy", + "operationId": "deleteNamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified NetworkPolicy", + "operationId": "readNamespacedNetworkPolicy", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ { - "description": "name of the ReplicaSet", + "description": "name of the NetworkPolicy", "in": "path", "name": "name", "required": true, @@ -81320,34 +66500,186 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified NetworkPolicy", + "operationId": "patchNamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified NetworkPolicy", + "operationId": "replaceNamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/networking.k8s.io/v1/networkpolicies": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNetworkPolicyForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } - ] - }, - "/apis/extensions/v1beta1/watch/networkpolicies": { + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81411,10 +66743,10 @@ } ] }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies": { + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81448,6 +66780,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -81478,10 +66818,10 @@ } ] }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81516,13 +66856,21 @@ "uniqueItems": true }, { - "description": "name of the PodSecurityPolicy", + "description": "name of the NetworkPolicy", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -81553,10 +66901,10 @@ } ] }, - "/apis/extensions/v1beta1/watch/replicasets": { + "/apis/networking.k8s.io/v1/watch/networkpolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81620,40 +66968,7 @@ } ] }, - "/apis/networking.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking" - ] - } - }, - "/apis/networking.k8s.io/v1/": { + "/apis/networking.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -81682,20 +66997,20 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ] } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "/apis/networking.k8s.io/v1beta1/ingressclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteCollectionNamespacedNetworkPolicy", + "description": "delete collection of IngressClass", + "operationId": "deleteCollectionIngressClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81806,24 +67121,24 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IngressClass", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNamespacedNetworkPolicy", + "description": "list or watch objects of kind IngressClass", + "operationId": "listIngressClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81890,7 +67205,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicyList" + "$ref": "#/definitions/v1beta1.IngressClassList" } }, "401": { @@ -81901,24 +67216,16 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IngressClass", + "version": "v1beta1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -81931,15 +67238,15 @@ "consumes": [ "*/*" ], - "description": "create a NetworkPolicy", - "operationId": "createNamespacedNetworkPolicy", + "description": "create an IngressClass", + "operationId": "createIngressClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IngressClass" } }, { @@ -81966,19 +67273,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IngressClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IngressClass" } }, "401": { @@ -81989,24 +67296,24 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IngressClass", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/networking.k8s.io/v1beta1/ingressclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a NetworkPolicy", - "operationId": "deleteNamespacedNetworkPolicy", + "description": "delete an IngressClass", + "operationId": "deleteIngressClass", "parameters": [ { "in": "body", @@ -82063,574 +67370,191 @@ } }, "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified NetworkPolicy", - "operationId": "readNamespacedNetworkPolicy", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the NetworkPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchNamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified NetworkPolicy", - "operationId": "replaceNamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/networking.k8s.io/v1/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkPolicyForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1beta1" }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified IngressClass", + "operationId": "readIngressClass", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.IngressClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1beta1" } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the NetworkPolicy", + "description": "name of the IngressClass", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/networkpolicies": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/networking.k8s.io/v1beta1/": { - "get": { + ], + "patch": { "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified IngressClass", + "operationId": "patchIngressClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "description": "get available resources", - "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.IngressClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified IngressClass", + "operationId": "replaceIngressClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.IngressClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -82640,7 +67564,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta1.IngressClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.IngressClass" } }, "401": { @@ -82652,7 +67582,14 @@ ], "tags": [ "networking_v1beta1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" } }, "/apis/networking.k8s.io/v1beta1/ingresses": { @@ -82695,7 +67632,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82768,7 +67705,7 @@ "operationId": "deleteCollectionNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82896,7 +67833,7 @@ "operationId": "listNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83366,55 +68303,312 @@ "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Ingress", - "operationId": "readNamespacedIngressStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified Ingress", + "operationId": "readNamespacedIngressStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/networking.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the Ingress", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified Ingress", + "operationId": "patchNamespacedIngressStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/networking.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified Ingress", + "operationId": "replaceNamespacedIngressStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/networking.v1beta1.Ingress" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/networking.v1beta1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/networking.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/networking.k8s.io/v1beta1/watch/ingressclasses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/networking.k8s.io/v1beta1/watch/ingressclasses/{name}": { "parameters": [ { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the IngressClass", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -83425,149 +68619,34 @@ "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Ingress", - "operationId": "patchNamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Ingress", - "operationId": "replaceNamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/networking.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/networking.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, "/apis/networking.k8s.io/v1beta1/watch/ingresses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83634,7 +68713,7 @@ "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83709,7 +68788,7 @@ "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83864,7 +68943,7 @@ "operationId": "deleteCollectionRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83992,7 +69071,7 @@ "operationId": "listRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84449,7 +69528,7 @@ "/apis/node.k8s.io/v1alpha1/watch/runtimeclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84516,7 +69595,7 @@ "/apis/node.k8s.io/v1alpha1/watch/runtimeclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84630,7 +69709,7 @@ "operationId": "deleteCollectionRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84758,7 +69837,7 @@ "operationId": "listRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85215,7 +70294,7 @@ "/apis/node.k8s.io/v1beta1/watch/runtimeclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85282,7 +70361,7 @@ "/apis/node.k8s.io/v1beta1/watch/runtimeclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85429,7 +70508,7 @@ "operationId": "deleteCollectionNamespacedPodDisruptionBudget", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85557,7 +70636,7 @@ "operationId": "listNamespacedPodDisruptionBudget", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86265,7 +71344,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86338,7 +71417,7 @@ "operationId": "deleteCollectionPodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86466,7 +71545,7 @@ "operationId": "listPodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86533,7 +71612,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/v1beta1.PodSecurityPolicyList" } }, "401": { @@ -86574,7 +71653,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, { @@ -86601,19 +71680,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "401": { @@ -86688,13 +71767,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "401": { @@ -86746,7 +71825,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "401": { @@ -86832,7 +71911,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "401": { @@ -86865,7 +71944,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, { @@ -86892,13 +71971,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" } }, "401": { @@ -86923,7 +72002,7 @@ "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86998,7 +72077,7 @@ "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87081,7 +72160,7 @@ "/apis/policy/v1beta1/watch/poddisruptionbudgets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87148,7 +72227,7 @@ "/apis/policy/v1beta1/watch/podsecuritypolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87215,7 +72294,7 @@ "/apis/policy/v1beta1/watch/podsecuritypolicies/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87362,7 +72441,7 @@ "operationId": "deleteCollectionClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87490,7 +72569,7 @@ "operationId": "listClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87937,7 +73016,7 @@ "operationId": "deleteCollectionClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88065,7 +73144,7 @@ "operationId": "listClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88512,7 +73591,7 @@ "operationId": "deleteCollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88640,7 +73719,7 @@ "operationId": "listNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89103,7 +74182,7 @@ "operationId": "deleteCollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89231,7 +74310,7 @@ "operationId": "listNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89725,7 +74804,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89829,7 +74908,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89896,7 +74975,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89963,7 +75042,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90038,7 +75117,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90105,7 +75184,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90180,7 +75259,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90255,7 +75334,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90338,7 +75417,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90413,7 +75492,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90496,7 +75575,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90563,7 +75642,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90669,7 +75748,7 @@ "operationId": "deleteCollectionClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90797,7 +75876,7 @@ "operationId": "listClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91244,7 +76323,7 @@ "operationId": "deleteCollectionClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91372,7 +76451,7 @@ "operationId": "listClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91819,7 +76898,7 @@ "operationId": "deleteCollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91947,7 +77026,7 @@ "operationId": "listNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92410,7 +77489,7 @@ "operationId": "deleteCollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92538,7 +77617,7 @@ "operationId": "listNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93032,7 +78111,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93096,47 +78175,398 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Role", - "operationId": "listRoleForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1alpha1" - } - }, + "/apis/rbac.authorization.k8s.io/v1alpha1/roles": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Role", + "operationId": "listRoleForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ClusterRoleBinding", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ClusterRole", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93170,6 +78600,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -93200,10 +78638,10 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93237,6 +78675,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the RoleBinding", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -93267,10 +78721,10 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93305,9 +78759,9 @@ "uniqueItems": true }, { - "description": "name of the ClusterRoleBinding", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -93342,10 +78796,10 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93379,6 +78833,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the Role", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -93409,10 +78879,10 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93446,14 +78916,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the ClusterRole", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -93484,10 +78946,10 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93522,427 +78984,1181 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ] + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of ClusterRoleBinding", + "operationId": "deleteCollectionClusterRoleBinding", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind ClusterRoleBinding", + "operationId": "listClusterRoleBinding", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a ClusterRoleBinding", + "operationId": "createClusterRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a ClusterRoleBinding", + "operationId": "deleteClusterRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified ClusterRoleBinding", + "operationId": "readClusterRoleBinding", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the RoleBinding", + "description": "name of the ClusterRoleBinding", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified ClusterRoleBinding", + "operationId": "patchClusterRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified ClusterRoleBinding", + "operationId": "replaceClusterRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of ClusterRole", + "operationId": "deleteCollectionClusterRole", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind ClusterRole", + "operationId": "listClusterRole", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { + }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a ClusterRole", + "operationId": "createClusterRole", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a ClusterRole", + "operationId": "deleteClusterRole", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified ClusterRole", + "operationId": "readClusterRole", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the ClusterRole", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/": { - "get": { + ], + "patch": { "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified ClusterRole", + "operationId": "patchClusterRole", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "description": "get available resources", - "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified ClusterRole", + "operationId": "replaceClusterRole", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -93952,7 +80168,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" } }, "401": { @@ -93964,19 +80186,26 @@ ], "tags": [ "rbacAuthorization_v1beta1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" } }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ClusterRoleBinding", - "operationId": "deleteCollectionClusterRoleBinding", + "description": "delete collection of RoleBinding", + "operationId": "deleteCollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94092,7 +80321,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1beta1" } }, @@ -94100,11 +80329,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ClusterRoleBinding", - "operationId": "listClusterRoleBinding", + "description": "list or watch objects of kind RoleBinding", + "operationId": "listNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94171,7 +80400,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBindingList" + "$ref": "#/definitions/v1beta1.RoleBindingList" } }, "401": { @@ -94187,11 +80416,19 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1beta1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -94204,15 +80441,15 @@ "consumes": [ "*/*" ], - "description": "create a ClusterRoleBinding", - "operationId": "createClusterRoleBinding", + "description": "create a RoleBinding", + "operationId": "createNamespacedRoleBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, { @@ -94239,19 +80476,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "401": { @@ -94267,19 +80504,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ClusterRoleBinding", - "operationId": "deleteClusterRoleBinding", + "description": "delete a RoleBinding", + "operationId": "deleteNamespacedRoleBinding", "parameters": [ { "in": "body", @@ -94348,7 +80585,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -94357,8 +80594,8 @@ "consumes": [ "*/*" ], - "description": "read the specified ClusterRoleBinding", - "operationId": "readClusterRoleBinding", + "description": "read the specified RoleBinding", + "operationId": "readNamespacedRoleBinding", "produces": [ "application/json", "application/yaml", @@ -94368,7 +80605,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "401": { @@ -94384,19 +80621,27 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ClusterRoleBinding", + "description": "name of the RoleBinding", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -94412,8 +80657,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ClusterRoleBinding", - "operationId": "patchClusterRoleBinding", + "description": "partially update the specified RoleBinding", + "operationId": "patchNamespacedRoleBinding", "parameters": [ { "in": "body", @@ -94454,7 +80699,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "401": { @@ -94470,7 +80715,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1beta1" }, "x-codegen-request-body-name": "body" @@ -94479,15 +80724,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ClusterRoleBinding", - "operationId": "replaceClusterRoleBinding", + "description": "replace the specified RoleBinding", + "operationId": "replaceNamespacedRoleBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, { @@ -94514,13 +80759,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "401": { @@ -94536,22 +80781,22 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ClusterRole", - "operationId": "deleteCollectionClusterRole", + "description": "delete collection of Role", + "operationId": "deleteCollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94667,7 +80912,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1beta1" } }, @@ -94675,11 +80920,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ClusterRole", - "operationId": "listClusterRole", + "description": "list or watch objects of kind Role", + "operationId": "listNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94746,7 +80991,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleList" + "$ref": "#/definitions/v1beta1.RoleList" } }, "401": { @@ -94762,11 +81007,19 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1beta1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -94779,15 +81032,15 @@ "consumes": [ "*/*" ], - "description": "create a ClusterRole", - "operationId": "createClusterRole", + "description": "create a Role", + "operationId": "createNamespacedRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1beta1.Role" } }, { @@ -94814,100 +81067,440 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1beta1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1beta1.Role" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a Role", + "operationId": "deleteNamespacedRole", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified Role", + "operationId": "readNamespacedRole", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the Role", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified Role", + "operationId": "patchNamespacedRole", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified Role", + "operationId": "replaceNamespacedRole", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind RoleBinding", + "operationId": "listRoleBindingForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBindingList" } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { - "delete": { + "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "get": { "consumes": [ "*/*" ], - "description": "delete a ClusterRole", - "operationId": "deleteClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind Role", + "operationId": "listRoleForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.RoleList" } }, "401": { @@ -94920,428 +81513,558 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ClusterRoleBinding", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ClusterRole", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ClusterRole", - "operationId": "readClusterRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { - "description": "name of the ClusterRole", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the RoleBinding", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ClusterRole", - "operationId": "patchClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ClusterRole", - "operationId": "replaceClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of RoleBinding", - "operationId": "deleteCollectionNamespacedRoleBinding", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listNamespacedRoleBinding", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -95356,199 +82079,69 @@ "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a RoleBinding", - "operationId": "createNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a RoleBinding", - "operationId": "deleteNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified RoleBinding", - "operationId": "readNamespacedRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ { - "description": "name of the RoleBinding", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Role", "in": "path", "name": "name", "required": true, @@ -95569,48 +82162,173 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/scheduling.k8s.io/": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified RoleBinding", - "operationId": "patchNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get information of a group", + "operationId": "getAPIGroup", "produces": [ "application/json", "application/yaml", @@ -95620,7 +82338,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -95631,46 +82349,19 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { + "scheduling" + ] + } + }, + "/apis/scheduling.k8s.io/v1/": { + "get": { "consumes": [ - "*/*" - ], - "description": "replace the specified RoleBinding", - "operationId": "replaceNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -95680,13 +82371,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -95695,29 +82380,22 @@ }, "schemes": [ "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" + ], + "tags": [ + "scheduling_v1" + ] } }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { + "/apis/scheduling.k8s.io/v1/priorityclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Role", - "operationId": "deleteCollectionNamespacedRole", + "description": "delete collection of PriorityClass", + "operationId": "deleteCollectionPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95828,24 +82506,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Role", - "operationId": "listNamespacedRole", + "description": "list or watch objects of kind PriorityClass", + "operationId": "listPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95912,7 +82590,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleList" + "$ref": "#/definitions/v1.PriorityClassList" } }, "401": { @@ -95923,24 +82601,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -95953,15 +82623,15 @@ "consumes": [ "*/*" ], - "description": "create a Role", - "operationId": "createNamespacedRole", + "description": "create a PriorityClass", + "operationId": "createPriorityClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.PriorityClass" } }, { @@ -95988,19 +82658,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.PriorityClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.PriorityClass" } }, "401": { @@ -96011,24 +82681,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { + "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Role", - "operationId": "deleteNamespacedRole", + "description": "delete a PriorityClass", + "operationId": "deletePriorityClass", "parameters": [ { "in": "body", @@ -96092,13 +82762,13 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -96106,159 +82776,21 @@ "consumes": [ "*/*" ], - "description": "read the specified Role", - "operationId": "readNamespacedRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Role", - "operationId": "patchNamespacedRole", + "description": "read the specified PriorityClass", + "operationId": "readPriorityClass", "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "force", + "name": "exact", "type": "boolean", "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Role", - "operationId": "replaceNamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "fieldManager", - "type": "string", + "name": "export", + "type": "boolean", "uniqueItems": true } ], @@ -96271,348 +82803,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRoleBindingForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Role", - "operationId": "listRoleForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleList" + "$ref": "#/definitions/v1.PriorityClass" } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ClusterRoleBinding", + "description": "name of the PriorityClass", "in": "path", "name": "name", "required": true, @@ -96625,34 +82838,149 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified PriorityClass", + "operationId": "patchPriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified PriorityClass", + "operationId": "replacePriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.PriorityClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + } }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96716,10 +83044,10 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96754,7 +83082,7 @@ "uniqueItems": true }, { - "description": "name of the ClusterRole", + "description": "name of the PriorityClass", "in": "path", "name": "name", "required": true, @@ -96791,205 +83119,481 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true + "/apis/scheduling.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ] + } + }, + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of PriorityClass", + "operationId": "deleteCollectionPriorityClass", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind PriorityClass", + "operationId": "listPriorityClass", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { + }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the RoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a PriorityClass", + "operationId": "createPriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a PriorityClass", + "operationId": "deletePriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified PriorityClass", + "operationId": "readPriorityClass", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the PriorityClass", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -97000,34 +83604,149 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified PriorityClass", + "operationId": "patchPriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified PriorityClass", + "operationId": "replacePriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97061,22 +83780,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -97107,10 +83810,10 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97145,72 +83848,13 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the PriorityClass", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -97241,40 +83885,7 @@ } ] }, - "/apis/scheduling.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling" - ] - } - }, - "/apis/scheduling.k8s.io/v1/": { + "/apis/scheduling.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -97303,11 +83914,11 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1beta1" ] } }, - "/apis/scheduling.k8s.io/v1/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { "delete": { "consumes": [ "*/*" @@ -97316,7 +83927,7 @@ "operationId": "deleteCollectionPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97427,13 +84038,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1beta1" } }, "get": { @@ -97444,7 +84055,7 @@ "operationId": "listPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97511,7 +84122,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityClassList" + "$ref": "#/definitions/v1beta1.PriorityClassList" } }, "401": { @@ -97522,13 +84133,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1beta1" } }, "parameters": [ @@ -97552,7 +84163,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, { @@ -97579,19 +84190,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -97602,18 +84213,18 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { "delete": { "consumes": [ "*/*" @@ -97683,13 +84294,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -97724,7 +84335,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -97735,13 +84346,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1beta1" } }, "parameters": [ @@ -97810,7 +84421,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -97821,13 +84432,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -97843,7 +84454,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, { @@ -97870,13 +84481,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PriorityClass" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -97887,21 +84498,21 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97965,10 +84576,10 @@ } ] }, - "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98040,7 +84651,40 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/": { + "/apis/settings.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "settings" + ] + } + }, + "/apis/settings.k8s.io/v1alpha1/": { "get": { "consumes": [ "application/json", @@ -98069,20 +84713,20 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "settings_v1alpha1" ] } }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PriorityClass", - "operationId": "deleteCollectionPriorityClass", + "description": "delete collection of PodPreset", + "operationId": "deleteCollectionNamespacedPodPreset", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98193,12 +84837,12 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "settings_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "settings.k8s.io", + "kind": "PodPreset", "version": "v1alpha1" } }, @@ -98206,11 +84850,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind PriorityClass", - "operationId": "listPriorityClass", + "description": "list or watch objects of kind PodPreset", + "operationId": "listNamespacedPodPreset", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98277,7 +84921,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClassList" + "$ref": "#/definitions/v1alpha1.PodPresetList" } }, "401": { @@ -98288,16 +84932,24 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "settings_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "settings.k8s.io", + "kind": "PodPreset", "version": "v1alpha1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -98310,15 +84962,15 @@ "consumes": [ "*/*" ], - "description": "create a PriorityClass", - "operationId": "createPriorityClass", + "description": "create a PodPreset", + "operationId": "createNamespacedPodPreset", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, { @@ -98345,19 +84997,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "401": { @@ -98368,24 +85020,24 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "settings_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "settings.k8s.io", + "kind": "PodPreset", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PriorityClass", - "operationId": "deletePriorityClass", + "description": "delete a PodPreset", + "operationId": "deleteNamespacedPodPreset", "parameters": [ { "in": "body", @@ -98449,12 +85101,12 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "settings_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "settings.k8s.io", + "kind": "PodPreset", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -98463,8 +85115,8 @@ "consumes": [ "*/*" ], - "description": "read the specified PriorityClass", - "operationId": "readPriorityClass", + "description": "read the specified PodPreset", + "operationId": "readNamespacedPodPreset", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -98490,7 +85142,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "401": { @@ -98501,24 +85153,32 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "settings_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "settings.k8s.io", + "kind": "PodPreset", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the PriorityClass", + "description": "name of the PodPreset", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -98534,8 +85194,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified PriorityClass", - "operationId": "patchPriorityClass", + "description": "partially update the specified PodPreset", + "operationId": "patchNamespacedPodPreset", "parameters": [ { "in": "body", @@ -98576,7 +85236,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "401": { @@ -98587,12 +85247,12 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "settings_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "settings.k8s.io", + "kind": "PodPreset", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -98601,15 +85261,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PriorityClass", - "operationId": "replacePriorityClass", + "description": "replace the specified PodPreset", + "operationId": "replaceNamespacedPodPreset", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, { @@ -98636,13 +85296,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "401": { @@ -98653,21 +85313,58 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "settings_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "settings.k8s.io", + "kind": "PodPreset", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { + "/apis/settings.k8s.io/v1alpha1/podpresets": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind PodPreset", + "operationId": "listPodPresetForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPresetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98731,10 +85428,10 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98769,13 +85466,96 @@ "uniqueItems": true }, { - "description": "name of the PriorityClass", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the PodPreset", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -98806,7 +85586,107 @@ } ] }, - "/apis/scheduling.k8s.io/v1beta1/": { + "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage" + ] + } + }, + "/apis/storage.k8s.io/v1/": { "get": { "consumes": [ "application/json", @@ -98835,20 +85715,20 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "storage_v1" ] } }, - "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { + "/apis/storage.k8s.io/v1/csidrivers": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PriorityClass", - "operationId": "deleteCollectionPriorityClass", + "description": "delete collection of CSIDriver", + "operationId": "deleteCollectionCSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98959,24 +85839,24 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "storage_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PriorityClass", - "operationId": "listPriorityClass", + "description": "list or watch objects of kind CSIDriver", + "operationId": "listCSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99043,7 +85923,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PriorityClassList" + "$ref": "#/definitions/v1.CSIDriverList" } }, "401": { @@ -99054,13 +85934,13 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "storage_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } }, "parameters": [ @@ -99076,15 +85956,15 @@ "consumes": [ "*/*" ], - "description": "create a PriorityClass", - "operationId": "createPriorityClass", + "description": "create a CSIDriver", + "operationId": "createCSIDriver", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, { @@ -99111,19 +85991,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, "401": { @@ -99134,24 +86014,24 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "storage_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { + "/apis/storage.k8s.io/v1/csidrivers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PriorityClass", - "operationId": "deletePriorityClass", + "description": "delete a CSIDriver", + "operationId": "deleteCSIDriver", "parameters": [ { "in": "body", @@ -99198,13 +86078,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.CSIDriver" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.CSIDriver" } }, "401": { @@ -99215,13 +86095,13 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "storage_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -99229,8 +86109,8 @@ "consumes": [ "*/*" ], - "description": "read the specified PriorityClass", - "operationId": "readPriorityClass", + "description": "read the specified CSIDriver", + "operationId": "readCSIDriver", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -99256,7 +86136,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, "401": { @@ -99267,18 +86147,18 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "storage_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } }, "parameters": [ { - "description": "name of the PriorityClass", + "description": "name of the CSIDriver", "in": "path", "name": "name", "required": true, @@ -99300,8 +86180,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified PriorityClass", - "operationId": "patchPriorityClass", + "description": "partially update the specified CSIDriver", + "operationId": "patchCSIDriver", "parameters": [ { "in": "body", @@ -99342,7 +86222,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, "401": { @@ -99353,13 +86233,13 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "storage_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -99367,15 +86247,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PriorityClass", - "operationId": "replacePriorityClass", + "description": "replace the specified CSIDriver", + "operationId": "replaceCSIDriver", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, { @@ -99402,13 +86282,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.PriorityClass" + "$ref": "#/definitions/v1.CSIDriver" } }, "401": { @@ -99419,235 +86299,27 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "storage_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PriorityClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/settings.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "settings" - ] - } - }, - "/apis/settings.k8s.io/v1alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "settings_v1alpha1" - ] - } - }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { + "/apis/storage.k8s.io/v1/csinodes": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PodPreset", - "operationId": "deleteCollectionNamespacedPodPreset", + "description": "delete collection of CSINode", + "operationId": "deleteCollectionCSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99758,24 +86430,24 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodPreset", - "operationId": "listNamespacedPodPreset", + "description": "list or watch objects of kind CSINode", + "operationId": "listCSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99842,7 +86514,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPresetList" + "$ref": "#/definitions/v1.CSINodeList" } }, "401": { @@ -99853,24 +86525,16 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -99883,15 +86547,15 @@ "consumes": [ "*/*" ], - "description": "create a PodPreset", - "operationId": "createNamespacedPodPreset", + "description": "create a CSINode", + "operationId": "createCSINode", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, { @@ -99918,19 +86582,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, "401": { @@ -99941,24 +86605,24 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { + "/apis/storage.k8s.io/v1/csinodes/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PodPreset", - "operationId": "deleteNamespacedPodPreset", + "description": "delete a CSINode", + "operationId": "deleteCSINode", "parameters": [ { "in": "body", @@ -100005,13 +86669,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.CSINode" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.CSINode" } }, "401": { @@ -100022,13 +86686,13 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -100036,8 +86700,8 @@ "consumes": [ "*/*" ], - "description": "read the specified PodPreset", - "operationId": "readNamespacedPodPreset", + "description": "read the specified CSINode", + "operationId": "readCSINode", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -100063,7 +86727,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, "401": { @@ -100074,32 +86738,24 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, "parameters": [ { - "description": "name of the PodPreset", + "description": "name of the CSINode", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -100115,8 +86771,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified PodPreset", - "operationId": "patchNamespacedPodPreset", + "description": "partially update the specified CSINode", + "operationId": "patchCSINode", "parameters": [ { "in": "body", @@ -100157,7 +86813,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, "401": { @@ -100168,13 +86824,13 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -100182,15 +86838,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PodPreset", - "operationId": "replaceNamespacedPodPreset", + "description": "replace the specified CSINode", + "operationId": "replaceCSINode", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, { @@ -100217,13 +86873,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1.CSINode" } }, "401": { @@ -100234,412 +86890,17 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/settings.k8s.io/v1alpha1/podpresets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodPreset", - "operationId": "listPodPresetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.PodPresetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "settings_v1alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodPreset", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage" - ] - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ] - } - }, "/apis/storage.k8s.io/v1/storageclasses": { "delete": { "consumes": [ @@ -100649,7 +86910,7 @@ "operationId": "deleteCollectionStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100777,7 +87038,7 @@ "operationId": "listStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100999,13 +87260,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.StorageClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.StorageClass" } }, "401": { @@ -101240,7 +87501,7 @@ "operationId": "deleteCollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101368,7 +87629,7 @@ "operationId": "listVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101590,13 +87851,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "401": { @@ -102012,10 +88273,294 @@ "x-codegen-request-body-name": "body" } }, + "/apis/storage.k8s.io/v1/watch/csidrivers": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CSIDriver", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CSINode", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, "/apis/storage.k8s.io/v1/watch/storageclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102082,7 +88627,7 @@ "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102157,7 +88702,7 @@ "/apis/storage.k8s.io/v1/watch/volumeattachments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102224,7 +88769,7 @@ "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102338,7 +88883,7 @@ "operationId": "deleteCollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102466,7 +89011,7 @@ "operationId": "listVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102688,13 +89233,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } }, "401": { @@ -102923,7 +89468,7 @@ "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102990,7 +89535,7 @@ "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103104,7 +89649,7 @@ "operationId": "deleteCollectionCSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103232,7 +89777,7 @@ "operationId": "listCSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103454,13 +89999,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CSIDriver" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CSIDriver" } }, "401": { @@ -103695,7 +90240,7 @@ "operationId": "deleteCollectionCSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103823,7 +90368,7 @@ "operationId": "listCSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104045,13 +90590,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CSINode" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CSINode" } }, "401": { @@ -104286,7 +90831,7 @@ "operationId": "deleteCollectionStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104414,7 +90959,7 @@ "operationId": "listStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104636,13 +91181,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.StorageClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.StorageClass" } }, "401": { @@ -104877,7 +91422,7 @@ "operationId": "deleteCollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105005,7 +91550,7 @@ "operationId": "listVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105227,13 +91772,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.VolumeAttachment" } }, "401": { @@ -105462,7 +92007,7 @@ "/apis/storage.k8s.io/v1beta1/watch/csidrivers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105529,7 +92074,7 @@ "/apis/storage.k8s.io/v1beta1/watch/csidrivers/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105604,7 +92149,7 @@ "/apis/storage.k8s.io/v1beta1/watch/csinodes": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105671,7 +92216,7 @@ "/apis/storage.k8s.io/v1beta1/watch/csinodes/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105746,7 +92291,7 @@ "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105813,7 +92358,7 @@ "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105888,7 +92433,7 @@ "/apis/storage.k8s.io/v1beta1/watch/volumeattachments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105955,7 +92500,7 @@ "/apis/storage.k8s.io/v1beta1/watch/volumeattachments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106189,6 +92734,13 @@ ], "description": "list or watch namespace scoped custom objects", "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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue" + }, { "uniqueItems": true, "in": "query", @@ -106203,6 +92755,13 @@ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "name": "labelSelector" }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit" + }, { "uniqueItems": true, "in": "query", @@ -106322,6 +92881,13 @@ ], "description": "list or watch cluster scoped custom objects", "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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue" + }, { "uniqueItems": true, "in": "query", @@ -106336,6 +92902,13 @@ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "name": "labelSelector" }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit" + }, { "uniqueItems": true, "in": "query", @@ -106455,6 +93028,7 @@ "custom_objects" ], "consumes": [ + "application/json-patch+json", "application/merge-patch+json" ], "operationId": "patchClusterCustomObjectStatus" @@ -106594,6 +93168,7 @@ "custom_objects" ], "consumes": [ + "application/json-patch+json", "application/merge-patch+json" ], "operationId": "patchNamespacedCustomObject" @@ -106619,7 +93194,6 @@ "schema": { "$ref": "#/definitions/v1.DeleteOptions" }, - "required": true, "name": "body", "in": "body" }, @@ -106806,6 +93380,7 @@ "custom_objects" ], "consumes": [ + "application/json-patch+json", "application/merge-patch+json" ], "operationId": "patchNamespacedCustomObjectScale" @@ -106961,6 +93536,7 @@ "custom_objects" ], "consumes": [ + "application/json-patch+json", "application/merge-patch+json" ], "operationId": "patchClusterCustomObjectScale" @@ -107100,6 +93676,7 @@ "custom_objects" ], "consumes": [ + "application/json-patch+json", "application/merge-patch+json" ], "operationId": "patchClusterCustomObject" @@ -107125,7 +93702,6 @@ "schema": { "$ref": "#/definitions/v1.DeleteOptions" }, - "required": true, "name": "body", "in": "body" }, @@ -107305,6 +93881,7 @@ "custom_objects" ], "consumes": [ + "application/json-patch+json", "application/merge-patch+json" ], "operationId": "patchNamespacedCustomObjectStatus" diff --git a/src/KubernetesClient/generated/swagger.json.unprocessed b/src/KubernetesClient/generated/swagger.json.unprocessed index a3b662884..58ee6d78d 100644 --- a/src/KubernetesClient/generated/swagger.json.unprocessed +++ b/src/KubernetesClient/generated/swagger.json.unprocessed @@ -390,7 +390,7 @@ "type": "array" }, "sideEffects": { - "description": "SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", "type": "string" }, "timeoutSeconds": { @@ -581,7 +581,7 @@ "type": "array" }, "sideEffects": { - "description": "SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", "type": "string" }, "timeoutSeconds": { @@ -1595,54 +1595,45 @@ }, "type": "object" }, - "io.k8s.api.apps.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.", + "io.k8s.api.auditregistration.v1alpha1.AuditSink": { + "description": "AuditSink represents a cluster level audit sink", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "data": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "Data is the serialized representation of the state." - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "revision": { - "description": "Revision indicates the revision of the state represented by Data.", - "format": "int64", - "type": "integer" + "spec": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec", + "description": "Spec defines the audit configuration spec" } }, - "required": [ - "revision" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } ] }, - "io.k8s.api.apps.v1beta1.ControllerRevisionList": { - "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", + "io.k8s.api.auditregistration.v1alpha1.AuditSinkList": { + "description": "AuditSinkList is a list of AuditSink 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of ControllerRevisions", + "description": "List of audit configurations.", "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" }, "type": "array" }, @@ -1651,8 +1642,7 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } }, "required": [ @@ -1661,306 +1651,153 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "ControllerRevisionList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.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": { - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata." - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentSpec", - "description": "Specification of the desired behavior of the Deployment." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStatus", - "description": "Most recently observed status of the Deployment." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSinkList", + "version": "v1alpha1" } ] }, - "io.k8s.api.apps.v1beta1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec": { + "description": "AuditSinkSpec holds the spec for the audit sink", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "lastUpdateTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time this condition was updated." - }, - "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" + "policy": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.Policy", + "description": "Policy defines the policy for selecting which events should be sent to the webhook required" }, - "type": { - "description": "Type of deployment condition.", - "type": "string" + "webhook": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.Webhook", + "description": "Webhook to send events required" } }, "required": [ - "type", - "status" + "policy", + "webhook" ], "type": "object" }, - "io.k8s.api.apps.v1beta1.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", + "io.k8s.api.auditregistration.v1alpha1.Policy": { + "description": "Policy defines the configuration of how audit events are logged", "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/sig-architecture/api-conventions.md#resources", + "level": { + "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required", "type": "string" }, - "items": { - "description": "Items is the list of Deployments.", + "stages": { + "description": "Stages is a list of stages for which events are created.", "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "type": "string" }, "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." } }, "required": [ - "items" + "level" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DeploymentList", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.apps.v1beta1.DeploymentRollback": { - "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", + "io.k8s.api.auditregistration.v1alpha1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "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/sig-architecture/api-conventions.md#resources", + "name": { + "description": "`name` is the name of the service. Required", "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/sig-architecture/api-conventions.md#types-kinds", + "namespace": { + "description": "`namespace` is the namespace of the service. Required", "type": "string" }, - "name": { - "description": "Required: This must match the Name of a deployment.", + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", "type": "string" }, - "rollbackTo": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.RollbackConfig", - "description": "The config of this deployment rollback." - }, - "updatedAnnotations": { - "additionalProperties": { - "type": "string" - }, - "description": "The annotations to be updated to a deployment", - "type": "object" - } - }, - "required": [ - "name", - "rollbackTo" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DeploymentRollback", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.apps.v1beta1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", - "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)", - "format": "int32", - "type": "integer" - }, - "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. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "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.", + "port": { + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", "format": "int32", "type": "integer" - }, - "rollbackTo": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.RollbackConfig", - "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." - }, - "strategy": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStrategy", - "description": "The deployment strategy to use to replace existing pods with new ones.", - "x-kubernetes-patch-strategy": "retainKeys" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "Template describes the pods that will be created." } }, "required": [ - "template" + "namespace", + "name" ], "type": "object" }, - "io.k8s.api.apps.v1beta1.DeploymentStatus": { - "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "io.k8s.api.auditregistration.v1alpha1.Webhook": { + "description": "Webhook holds the configuration of the webhook", "properties": { - "availableReplicas": { - "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" + "clientConfig": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig", + "description": "ClientConfig holds the connection parameters for the webhook required" }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "format": "int32", - "type": "integer" + "throttle": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig", + "description": "Throttle holds the options for throttling the webhook" } }, + "required": [ + "clientConfig" + ], "type": "object" }, - "io.k8s.api.apps.v1beta1.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", + "io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a connection with the webhook", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.RollingUpdateDeployment", - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "format": "byte", + "type": "string" }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", + "service": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.ServiceReference", + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", "type": "string" } }, "type": "object" }, - "io.k8s.api.apps.v1beta1.RollbackConfig": { - "description": "DEPRECATED.", + "io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig": { + "description": "WebhookThrottleConfig holds the configuration for throttling events", "properties": { - "revision": { - "description": "The revision to rollback to. If set to 0, rollback to the last revision.", + "burst": { + "description": "ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS", "format": "int64", "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1beta1.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", - "properties": { - "maxSurge": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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 ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." }, - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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 ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." + "qps": { + "description": "ThrottleQPS maximum number of batches per second default 10 QPS", + "format": "int64", + "type": "integer" } }, "type": "object" }, - "io.k8s.api.apps.v1beta1.RollingUpdateStatefulSetStrategy": { - "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", + "io.k8s.api.authentication.v1.BoundObjectReference": { + "description": "BoundObjectReference is a reference to an object that a token is bound to.", "properties": { - "partition": { - "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "format": "int32", - "type": "integer" + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent. Valid kinds are 'Pod' and 'Secret'.", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + }, + "uid": { + "description": "UID of the referent.", + "type": "string" } }, "type": "object" }, - "io.k8s.api.apps.v1beta1.Scale": { - "description": "Scale represents a scaling request for a resource.", + "io.k8s.api.authentication.v1.TokenRequest": { + "description": "TokenRequest requests a token for a given service account.", "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/sig-architecture/api-conventions.md#resources", @@ -1971,65 +1808,72 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestSpec" }, "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestStatus" } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "group": "authentication.k8s.io", + "kind": "TokenRequest", + "version": "v1" } ] }, - "io.k8s.api.apps.v1beta1.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource", + "io.k8s.api.authentication.v1.TokenRequestSpec": { + "description": "TokenRequestSpec contains client provided parameters of a token request.", "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", + "audiences": { + "description": "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.", + "items": { + "type": "string" + }, + "type": "array" + }, + "boundObjectRef": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.BoundObjectReference", + "description": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation." + }, + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.", + "format": "int64", "type": "integer" } }, + "required": [ + "audiences" + ], "type": "object" }, - "io.k8s.api.apps.v1beta1.ScaleStatus": { - "description": "ScaleStatus represents the current status of a scale subresource.", + "io.k8s.api.authentication.v1.TokenRequestStatus": { + "description": "TokenRequestStatus is the result of a token request.", "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "format": "int32", - "type": "integer" - }, - "selector": { - "additionalProperties": { - "type": "string" - }, - "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object" + "expirationTimestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "ExpirationTimestamp is the time of expiration of the returned token." }, - "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", + "token": { + "description": "Token is the opaque bearer token.", "type": "string" } }, "required": [ - "replicas" + "token", + "expirationTimestamp" ], "type": "object" }, - "io.k8s.api.apps.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.", + "io.k8s.api.authentication.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.", "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/sig-architecture/api-conventions.md#resources", @@ -2043,487 +1887,445 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSetSpec", - "description": "Spec defines the desired identities of pods in this set." + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewSpec", + "description": "Spec holds information about the request being evaluated" }, "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSetStatus", - "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/io.k8s.api.authentication.v1.TokenReviewStatus", + "description": "Status is filled in by the server and indicates whether the request can be authenticated." } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" } ] }, - "io.k8s.api.apps.v1beta1.StatefulSetCondition": { - "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", + "io.k8s.api.authentication.v1.TokenReviewSpec": { + "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "items": { + "type": "string" + }, + "type": "array" }, - "message": { - "description": "A human readable message indicating details about the transition.", + "token": { + "description": "Token is the opaque bearer token.", "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.authentication.v1.TokenReviewStatus": { + "description": "TokenReviewStatus is the result of the token authentication request.", + "properties": { + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "items": { + "type": "string" + }, + "type": "array" }, - "reason": { - "description": "The reason for the condition's last transition.", + "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", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", + "user": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.UserInfo", + "description": "User is the UserInfo associated with the provided token." + } + }, + "type": "object" + }, + "io.k8s.api.authentication.v1.UserInfo": { + "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "properties": { + "extra": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": "Any additional information provided by the authenticator.", + "type": "object" + }, + "groups": { + "description": "The names of groups this user is a part of.", + "items": { + "type": "string" + }, + "type": "array" + }, + "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" }, - "type": { - "description": "Type of statefulset condition.", + "username": { + "description": "The name that uniquely identifies this user among all active users.", "type": "string" } }, - "required": [ - "type", - "status" - ], "type": "object" }, - "io.k8s.api.apps.v1beta1.StatefulSetList": { - "description": "StatefulSetList is a collection of StatefulSets.", + "io.k8s.api.authentication.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.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewSpec", + "description": "Spec holds information about the request being evaluated" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewStatus", + "description": "Status is filled in by the server and indicates whether the request can be authenticated." } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "StatefulSetList", + "group": "authentication.k8s.io", + "kind": "TokenReview", "version": "v1beta1" } ] }, - "io.k8s.api.apps.v1beta1.StatefulSetSpec": { - "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "io.k8s.api.authentication.v1beta1.TokenReviewSpec": { + "description": "TokenReviewSpec is a description of the token authentication request.", "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" + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "items": { + "type": "string" + }, + "type": "array" }, - "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.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "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" - }, - "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.", + "token": { + "description": "Token is the opaque bearer token.", "type": "string" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "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." - }, - "updateStrategy": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSetUpdateStrategy", - "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." - }, - "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": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - }, - "type": "array" } }, - "required": [ - "template", - "serviceName" - ], "type": "object" }, - "io.k8s.api.apps.v1beta1.StatefulSetStatus": { - "description": "StatefulSetStatus represents the current state of a StatefulSet.", + "io.k8s.api.authentication.v1beta1.TokenReviewStatus": { + "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a statefulset's current state.", + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSetCondition" + "type": "string" }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "currentReplicas": { - "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "format": "int32", - "type": "integer" - }, - "currentRevision": { - "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", - "type": "string" - }, - "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.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "format": "int32", - "type": "integer" + "type": "array" }, - "replicas": { - "description": "replicas is the number of Pods created by the StatefulSet controller.", - "format": "int32", - "type": "integer" + "authenticated": { + "description": "Authenticated indicates that the token was associated with a known user.", + "type": "boolean" }, - "updateRevision": { - "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", + "error": { + "description": "Error indicates that the token couldn't be checked", "type": "string" }, - "updatedReplicas": { - "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "format": "int32", - "type": "integer" + "user": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.UserInfo", + "description": "User is the UserInfo associated with the provided token." } }, - "required": [ - "replicas" - ], "type": "object" }, - "io.k8s.api.apps.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.", + "io.k8s.api.authentication.v1beta1.UserInfo": { + "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.RollingUpdateStatefulSetStrategy", - "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." + "extra": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": "Any additional information provided by the authenticator.", + "type": "object" }, - "type": { - "description": "Type indicates the type of the StatefulSetUpdateStrategy.", + "groups": { + "description": "The names of groups this user is a part of.", + "items": { + "type": "string" + }, + "type": "array" + }, + "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" + }, + "username": { + "description": "The name that uniquely identifies this user among all active users.", "type": "string" } }, "type": "object" }, - "io.k8s.api.apps.v1beta2.ControllerRevision": { - "description": "DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1/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.", + "io.k8s.api.authorization.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.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "data": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "Data is the serialized representation of the state." - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "revision": { - "description": "Revision indicates the revision of the state represented by Data.", - "format": "int64", - "type": "integer" + "spec": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewSpec", + "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." + }, + "status": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "required": [ - "revision" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" } ] }, - "io.k8s.api.apps.v1beta2.ControllerRevisionList": { - "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", + "io.k8s.api.authorization.v1.NonResourceAttributes": { + "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "path": { + "description": "Path is the URL path of the request", "type": "string" }, - "items": { - "description": "Items is the list of ControllerRevisions", + "verb": { + "description": "Verb is the standard HTTP verb", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.authorization.v1.NonResourceRule": { + "description": "NonResourceRule holds information that describes a rule for the non-resource", + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" + "type": "string" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "verbs": { + "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "items" + "verbs" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ControllerRevisionList", - "version": "v1beta2" - } - ] + "type": "object" }, - "io.k8s.api.apps.v1beta2.DaemonSet": { - "description": "DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.", + "io.k8s.api.authorization.v1.ResourceAttributes": { + "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "group": { + "description": "Group is the API Group of the Resource. \"*\" means all.", "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/sig-architecture/api-conventions.md#types-kinds", + "name": { + "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "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" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSetSpec", - "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "resource": { + "description": "Resource is one of the existing resource types. \"*\" means all.", + "type": "string" }, - "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" + "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" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } - ] + "type": "object" }, - "io.k8s.api.apps.v1beta2.DaemonSetCondition": { - "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", + "io.k8s.api.authorization.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.", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "A human readable message indicating details about the transition.", - "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. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" }, - "reason": { - "description": "The reason for the condition's last transition.", - "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.", + "items": { + "type": "string" + }, + "type": "array" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "resources": { + "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", + "items": { + "type": "string" + }, + "type": "array" }, - "type": { - "description": "Type of DaemonSet condition.", - "type": "string" + "verbs": { + "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "type", - "status" + "verbs" ], "type": "object" }, - "io.k8s.api.apps.v1beta2.DaemonSetList": { - "description": "DaemonSetList is a collection of daemon sets.", + "io.k8s.api.authorization.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", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "A list of daemon sets.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec", + "description": "Spec holds information about the request being evaluated. user and groups must be empty" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "DaemonSetList", - "version": "v1beta2" + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" } ] }, - "io.k8s.api.apps.v1beta2.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", + "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec": { + "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "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).", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "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" + "nonResourceAttributes": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes", + "description": "NonResourceAttributes describes information for a non-resource access request" }, - "updateStrategy": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSetUpdateStrategy", - "description": "An update strategy to replace existing DaemonSet pods with new pods." + "resourceAttributes": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes", + "description": "ResourceAuthorizationAttributes describes information for a resource access request" } }, - "required": [ - "selector", - "template" - ], "type": "object" }, - "io.k8s.api.apps.v1beta2.DaemonSetStatus": { - "description": "DaemonSetStatus represents the current status of a daemon set.", + "io.k8s.api.authorization.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.", "properties": { - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a DaemonSet's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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)", - "format": "int32", - "type": "integer" - }, - "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/", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "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.", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "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)", - "format": "int32", - "type": "integer" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "observedGeneration": { - "description": "The most recent generation observed by the daemon set controller.", - "format": "int64", - "type": "integer" + "spec": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec", + "description": "Spec holds information about the request being evaluated." }, - "updatedNumberScheduled": { - "description": "The total number of nodes that are running updated daemon pod", - "format": "int32", - "type": "integer" + "status": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectRulesReviewStatus", + "description": "Status is filled in by the server and indicates the set of actions a user can perform." } }, "required": [ - "currentNumberScheduled", - "numberMisscheduled", - "desiredNumberScheduled", - "numberReady" + "spec" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" + } + ] }, - "io.k8s.api.apps.v1beta2.DaemonSetUpdateStrategy": { - "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", + "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec": { "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.RollingUpdateDaemonSet", - "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." - }, - "type": { - "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.", + "namespace": { + "description": "Namespace to evaluate rules for. Required.", "type": "string" } }, "type": "object" }, - "io.k8s.api.apps.v1beta2.Deployment": { - "description": "DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.", + "io.k8s.api.authorization.v1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "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/sig-architecture/api-conventions.md#resources", @@ -2534,209 +2336,271 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentSpec", - "description": "Specification of the desired behavior of the Deployment." + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewSpec", + "description": "Spec holds information about the request being evaluated" }, "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentStatus", - "description": "Most recently observed status of the Deployment." + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" } ] }, - "io.k8s.api.apps.v1beta2.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "io.k8s.api.authorization.v1.SubjectAccessReviewSpec": { + "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." + "extra": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "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" }, - "lastUpdateTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time this condition was updated." + "groups": { + "description": "Groups is the groups you're testing for.", + "items": { + "type": "string" + }, + "type": "array" }, - "message": { - "description": "A human readable message indicating details about the transition.", + "nonResourceAttributes": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes", + "description": "NonResourceAttributes describes information for a non-resource access request" + }, + "resourceAttributes": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes", + "description": "ResourceAuthorizationAttributes describes information for a resource access request" + }, + "uid": { + "description": "UID information about the requesting user.", "type": "string" }, - "reason": { - "description": "The reason for the condition's last transition.", + "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" + } + }, + "type": "object" + }, + "io.k8s.api.authorization.v1.SubjectAccessReviewStatus": { + "description": "SubjectAccessReviewStatus", + "properties": { + "allowed": { + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", + "denied": { + "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", + "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" }, - "type": { - "description": "Type of deployment condition.", + "reason": { + "description": "Reason is optional. It indicates why a request was allowed or denied.", "type": "string" } }, "required": [ - "type", - "status" + "allowed" ], "type": "object" }, - "io.k8s.api.apps.v1beta2.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", + "io.k8s.api.authorization.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.", "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/sig-architecture/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 the list of Deployments.", + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceRule" + }, + "type": "array" + }, + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceRule" }, "type": "array" + } + }, + "required": [ + "resourceRules", + "nonResourceRules", + "incomplete" + ], + "type": "object" + }, + "io.k8s.api.authorization.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.", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec", + "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." + }, + "status": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "DeploymentList", - "version": "v1beta2" + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1beta1" } ] }, - "io.k8s.api.apps.v1beta2.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "io.k8s.api.authorization.v1beta1.NonResourceAttributes": { + "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "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)", - "format": "int32", - "type": "integer" - }, - "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. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels." + "path": { + "description": "Path is the URL path of the request", + "type": "string" }, - "strategy": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentStrategy", - "description": "The deployment strategy to use to replace existing pods with new ones.", - "x-kubernetes-patch-strategy": "retainKeys" + "verb": { + "description": "Verb is the standard HTTP verb", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.authorization.v1beta1.NonResourceRule": { + "description": "NonResourceRule holds information that describes a rule for the non-resource", + "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.", + "items": { + "type": "string" + }, + "type": "array" }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "Template describes the pods that will be created." + "verbs": { + "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "selector", - "template" + "verbs" ], "type": "object" }, - "io.k8s.api.apps.v1beta2.DeploymentStatus": { - "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "io.k8s.api.authorization.v1beta1.ResourceAttributes": { + "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { - "availableReplicas": { - "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" + "group": { + "description": "Group is the API Group of the Resource. \"*\" means all.", + "type": "string" }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "name": { + "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", + "type": "string" }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "format": "int64", - "type": "integer" + "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" }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "format": "int32", - "type": "integer" + "resource": { + "description": "Resource is one of the existing resource types. \"*\" means all.", + "type": "string" }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "format": "int32", - "type": "integer" + "subresource": { + "description": "Subresource is one of the existing resource types. \"\" means none.", + "type": "string" }, - "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.", - "format": "int32", - "type": "integer" + "verb": { + "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "string" }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "format": "int32", - "type": "integer" + "version": { + "description": "Version is the API Version of the Resource. \"*\" means all.", + "type": "string" } }, "type": "object" }, - "io.k8s.api.apps.v1beta2.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", + "io.k8s.api.authorization.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.", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.RollingUpdateDeployment", - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." + "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.", + "items": { + "type": "string" + }, + "type": "array" }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", - "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", + "items": { + "type": "string" + }, + "type": "array" + }, + "verbs": { + "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "verbs" + ], "type": "object" }, - "io.k8s.api.apps.v1beta2.ReplicaSet": { - "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.", + "io.k8s.api.authorization.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", "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/sig-architecture/api-conventions.md#resources", @@ -2747,199 +2611,243 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "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/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSetSpec", - "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec", + "description": "Spec holds information about the request being evaluated. user and groups must be empty" }, "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1beta1" } ] }, - "io.k8s.api.apps.v1beta2.ReplicaSetCondition": { - "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", + "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec": { + "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time the condition transitioned from one status to another." - }, - "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" + "nonResourceAttributes": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceAttributes", + "description": "NonResourceAttributes describes information for a non-resource access request" }, - "type": { - "description": "Type of replica set condition.", - "type": "string" + "resourceAttributes": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceAttributes", + "description": "ResourceAuthorizationAttributes describes information for a resource access request" } }, - "required": [ - "type", - "status" - ], "type": "object" }, - "io.k8s.api.apps.v1beta2.ReplicaSetList": { - "description": "ReplicaSetList is a collection of ReplicaSets.", + "io.k8s.api.authorization.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.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec", + "description": "Spec holds information about the request being evaluated." + }, + "status": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus", + "description": "Status is filled in by the server and indicates the set of actions a user can perform." } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "ReplicaSetList", - "version": "v1beta2" + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1beta1" } ] }, - "io.k8s.api.apps.v1beta2.ReplicaSetSpec": { - "description": "ReplicaSetSpec is the specification of a ReplicaSet.", + "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec": { "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)", - "format": "int32", - "type": "integer" + "namespace": { + "description": "Namespace to evaluate rules for. Required.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.authorization.v1beta1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "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", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "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" + "spec": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec", + "description": "Spec holds information about the request being evaluated" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" } }, "required": [ - "selector" + "spec" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1beta1" + } + ] }, - "io.k8s.api.apps.v1beta2.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec": { + "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "format": "int32", - "type": "integer" + "extra": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "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" }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", + "group": { + "description": "Groups is the groups you're testing for.", "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSetCondition" + "type": "string" }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "type": "array" }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "format": "int32", - "type": "integer" + "nonResourceAttributes": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceAttributes", + "description": "NonResourceAttributes describes information for a non-resource access request" }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "format": "int64", - "type": "integer" + "resourceAttributes": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceAttributes", + "description": "ResourceAuthorizationAttributes describes information for a resource access request" }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", - "format": "int32", - "type": "integer" + "uid": { + "description": "UID information about the requesting user.", + "type": "string" }, - "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", - "format": "int32", - "type": "integer" + "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" } }, - "required": [ - "replicas" - ], "type": "object" }, - "io.k8s.api.apps.v1beta2.RollingUpdateDaemonSet": { - "description": "Spec to control the desired behavior of daemon set rolling update.", + "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus": { + "description": "SubjectAccessReviewStatus", "properties": { - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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." + "allowed": { + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" + }, + "denied": { + "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", + "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" } }, + "required": [ + "allowed" + ], "type": "object" }, - "io.k8s.api.apps.v1beta2.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", + "io.k8s.api.authorization.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.", "properties": { - "maxSurge": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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 ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." + "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" }, - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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 ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceRule" + }, + "type": "array" + }, + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceRule" + }, + "type": "array" } }, + "required": [ + "resourceRules", + "nonResourceRules", + "incomplete" + ], "type": "object" }, - "io.k8s.api.apps.v1beta2.RollingUpdateStatefulSetStrategy": { - "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", + "io.k8s.api.autoscaling.v1.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { - "partition": { - "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "format": "int32", - "type": "integer" + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/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" } }, + "required": [ + "kind", + "name" + ], "type": "object" }, - "io.k8s.api.apps.v1beta2.Scale": { - "description": "Scale represents a scaling request for a resource.", + "io.k8s.api.autoscaling.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -2951,134 +2859,37 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec", + "description": "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus", + "description": "current information about the autoscaler." } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } ] }, - "io.k8s.api.apps.v1beta2.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource", - "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1beta2.ScaleStatus": { - "description": "ScaleStatus represents the current status of a scale subresource.", - "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "format": "int32", - "type": "integer" - }, - "selector": { - "additionalProperties": { - "type": "string" - }, - "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object" - }, - "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" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "io.k8s.api.apps.v1beta2.StatefulSet": { - "description": "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSetSpec", - "description": "Spec defines the desired identities of pods in this set." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSetStatus", - "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - ] - }, - "io.k8s.api.apps.v1beta2.StatefulSetCondition": { - "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "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 statefulset condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.apps.v1beta2.StatefulSetList": { - "description": "StatefulSetList is a collection of StatefulSets.", + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList": { + "description": "list of horizontal pod autoscaler 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { + "description": "list of horizontal pod autoscaler objects.", "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" }, "type": "array" }, @@ -3087,7 +2898,8 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata." } }, "required": [ @@ -3096,132 +2908,77 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apps", - "kind": "StatefulSetList", - "version": "v1beta2" + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v1" } ] }, - "io.k8s.api.apps.v1beta2.StatefulSetSpec": { - "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec": { + "description": "specification of a horizontal pod autoscaler.", "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.", + "maxReplicas": { + "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", "format": "int32", "type": "integer" }, - "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.", + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", "format": "int32", "type": "integer" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" - }, - "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": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "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." - }, - "updateStrategy": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSetUpdateStrategy", - "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." + "scaleTargetRef": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.CrossVersionObjectReference", + "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." }, - "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": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - }, - "type": "array" + "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.", + "format": "int32", + "type": "integer" } }, "required": [ - "selector", - "template", - "serviceName" + "scaleTargetRef", + "maxReplicas" ], "type": "object" }, - "io.k8s.api.apps.v1beta2.StatefulSetStatus": { - "description": "StatefulSetStatus represents the current state of a StatefulSet.", + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus": { + "description": "current status of a horizontal pod autoscaler", "properties": { - "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.", + "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.", "format": "int32", "type": "integer" }, - "conditions": { - "description": "Represents the latest available observations of a statefulset's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, "currentReplicas": { - "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "format": "int32", - "type": "integer" - }, - "currentRevision": { - "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", - "type": "string" - }, - "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.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", + "description": "current number of replicas of pods managed by this autoscaler.", "format": "int32", "type": "integer" }, - "replicas": { - "description": "replicas is the number of Pods created by the StatefulSet controller.", + "desiredReplicas": { + "description": "desired number of replicas of pods managed by this autoscaler.", "format": "int32", "type": "integer" }, - "updateRevision": { - "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", - "type": "string" + "lastScaleTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." }, - "updatedReplicas": { - "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "format": "int32", + "observedGeneration": { + "description": "most recent generation observed by this autoscaler.", + "format": "int64", "type": "integer" } }, "required": [ - "replicas" + "currentReplicas", + "desiredReplicas" ], "type": "object" }, - "io.k8s.api.apps.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": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.RollingUpdateStatefulSetStrategy", - "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." - }, - "type": { - "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.auditregistration.v1alpha1.AuditSink": { - "description": "AuditSink represents a cluster level audit sink", + "io.k8s.api.autoscaling.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/sig-architecture/api-conventions.md#resources", @@ -3232,197 +2989,131 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec", - "description": "Spec defines the audit configuration spec" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - } - ] - }, - "io.k8s.api.auditregistration.v1alpha1.AuditSinkList": { - "description": "AuditSinkList is a list of AuditSink 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of audit configurations.", - "items": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.ScaleSpec", + "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + "status": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.ScaleStatus", + "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, - "required": [ - "items" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "auditregistration.k8s.io", - "kind": "AuditSinkList", - "version": "v1alpha1" + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } ] }, - "io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec": { - "description": "AuditSinkSpec holds the spec for the audit sink", + "io.k8s.api.autoscaling.v1.ScaleSpec": { + "description": "ScaleSpec describes the attributes of a scale subresource.", "properties": { - "policy": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.Policy", - "description": "Policy defines the policy for selecting which events should be sent to the webhook required" - }, - "webhook": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.Webhook", - "description": "Webhook to send events required" + "replicas": { + "description": "desired number of instances for the scaled object.", + "format": "int32", + "type": "integer" } }, - "required": [ - "policy", - "webhook" - ], "type": "object" }, - "io.k8s.api.auditregistration.v1alpha1.Policy": { - "description": "Policy defines the configuration of how audit events are logged", + "io.k8s.api.autoscaling.v1.ScaleStatus": { + "description": "ScaleStatus represents the current status of a scale subresource.", "properties": { - "level": { - "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required", - "type": "string" + "replicas": { + "description": "actual number of observed instances of the scaled object.", + "format": "int32", + "type": "integer" }, - "stages": { - "description": "Stages is a list of stages for which events are created.", - "items": { - "type": "string" - }, - "type": "array" + "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" } }, "required": [ - "level" + "replicas" ], "type": "object" }, - "io.k8s.api.auditregistration.v1alpha1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { - "name": { - "description": "`name` is the name of the service. Required", + "apiVersion": { + "description": "API version of the referent", "type": "string" }, - "namespace": { - "description": "`namespace` is the namespace of the service. Required", + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"", "type": "string" }, - "path": { - "description": "`path` is an optional URL path which will be sent in any request to this service.", + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" - }, - "port": { - "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", - "format": "int32", - "type": "integer" } }, "required": [ - "namespace", + "kind", "name" ], "type": "object" }, - "io.k8s.api.auditregistration.v1alpha1.Webhook": { - "description": "Webhook holds the configuration of the webhook", - "properties": { - "clientConfig": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig", - "description": "ClientConfig holds the connection parameters for the webhook required" - }, - "throttle": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig", - "description": "Throttle holds the options for throttling the webhook" - } - }, - "required": [ - "clientConfig" - ], - "type": "object" - }, - "io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a connection with the webhook", + "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource": { + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set.", "properties": { - "caBundle": { - "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", + "metricName": { + "description": "metricName is the name of the metric in question.", "type": "string" }, - "service": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.ServiceReference", - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." + "metricSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "metricSelector is used to identify a specific time series within a given metric." }, - "url": { - "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig": { - "description": "WebhookThrottleConfig holds the configuration for throttling events", - "properties": { - "burst": { - "description": "ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS", - "format": "int64", - "type": "integer" + "targetAverageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue." }, - "qps": { - "description": "ThrottleQPS maximum number of batches per second default 10 QPS", - "format": "int64", - "type": "integer" + "targetValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue." } }, + "required": [ + "metricName" + ], "type": "object" }, - "io.k8s.api.authentication.v1.BoundObjectReference": { - "description": "BoundObjectReference is a reference to an object that a token is bound to.", + "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" + "currentAverageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "currentAverageValue is the current value of metric averaged over autoscaled pods." }, - "kind": { - "description": "Kind of the referent. Valid kinds are 'Pod' and 'Secret'.", - "type": "string" + "currentValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "currentValue is the current value of the metric (as a quantity)" }, - "name": { - "description": "Name of the referent.", + "metricName": { + "description": "metricName is the name of a metric used for autoscaling in metric system.", "type": "string" }, - "uid": { - "description": "UID of the referent.", - "type": "string" + "metricSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "metricSelector is used to identify a specific time series within a given metric." } }, + "required": [ + "metricName", + "currentValue" + ], "type": "object" }, - "io.k8s.api.authentication.v1.TokenRequest": { - "description": "TokenRequest requests a token for a given service account.", + "io.k8s.api.autoscaling.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -3433,431 +3124,483 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestSpec" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec", + "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestStatus" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus", + "description": "status is the current information about the autoscaler." } }, - "required": [ - "spec" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "authentication.k8s.io", - "kind": "TokenRequest", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } ] }, - "io.k8s.api.authentication.v1.TokenRequestSpec": { - "description": "TokenRequestSpec contains client provided parameters of a token request.", + "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition": { + "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { - "audiences": { - "description": "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.", - "items": { - "type": "string" - }, - "type": "array" + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, - "boundObjectRef": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.BoundObjectReference", - "description": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation." + "message": { + "description": "message is a human-readable explanation containing details about the transition", + "type": "string" }, - "expirationSeconds": { - "description": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "audiences" - ], - "type": "object" - }, - "io.k8s.api.authentication.v1.TokenRequestStatus": { - "description": "TokenRequestStatus is the result of a token request.", - "properties": { - "expirationTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "ExpirationTimestamp is the time of expiration of the returned token." + "reason": { + "description": "reason is the reason for the condition's last transition.", + "type": "string" }, - "token": { - "description": "Token is the opaque bearer token.", + "status": { + "description": "status is the status of the condition (True, False, Unknown)", + "type": "string" + }, + "type": { + "description": "type describes the current condition", "type": "string" } }, "required": [ - "token", - "expirationTimestamp" + "type", + "status" ], "type": "object" }, - "io.k8s.api.authentication.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.", + "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList": { + "description": "HorizontalPodAutoscaler is a list of horizontal pod autoscaler 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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "items is the list of horizontal pod autoscaler objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewStatus", - "description": "Status is filled in by the server and indicates whether the request can be authenticated." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "metadata is the standard list metadata." } }, "required": [ - "spec" + "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v2beta1" } ] }, - "io.k8s.api.authentication.v1.TokenReviewSpec": { - "description": "TokenReviewSpec is a description of the token authentication request.", - "properties": { - "audiences": { - "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec": { + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "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.", + "format": "int32", + "type": "integer" + }, + "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.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.MetricSpec" }, "type": "array" }, - "token": { - "description": "Token is the opaque bearer token.", - "type": "string" + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", + "format": "int32", + "type": "integer" + }, + "scaleTargetRef": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", + "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." } }, + "required": [ + "scaleTargetRef", + "maxReplicas" + ], "type": "object" }, - "io.k8s.api.authentication.v1.TokenReviewStatus": { - "description": "TokenReviewStatus is the result of the token authentication request.", + "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus": { + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { - "audiences": { - "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "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.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition" }, "type": "array" }, - "authenticated": { - "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "currentMetrics": { + "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.MetricStatus" + }, + "type": "array" }, - "error": { - "description": "Error indicates that the token couldn't be checked", - "type": "string" + "currentReplicas": { + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", + "format": "int32", + "type": "integer" }, - "user": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.UserInfo", - "description": "User is the UserInfo associated with the provided token." + "desiredReplicas": { + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", + "format": "int32", + "type": "integer" + }, + "lastScaleTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "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." + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed by this autoscaler.", + "format": "int64", + "type": "integer" } }, + "required": [ + "currentReplicas", + "desiredReplicas", + "conditions" + ], "type": "object" }, - "io.k8s.api.authentication.v1.UserInfo": { - "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "io.k8s.api.autoscaling.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).", "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "Any additional information provided by the authenticator.", - "type": "object" + "external": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ExternalMetricSource", + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, - "groups": { - "description": "The names of groups this user is a part of.", - "items": { - "type": "string" - }, - "type": "array" + "object": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource", + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, - "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" + "pods": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.PodsMetricSource", + "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." }, - "username": { - "description": "The name that uniquely identifies this user among all active users.", + "resource": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ResourceMetricSource", + "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." + }, + "type": { + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", "type": "string" } }, + "required": [ + "type" + ], "type": "object" }, - "io.k8s.api.authentication.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.", + "io.k8s.api.autoscaling.v2beta1.MetricStatus": { + "description": "MetricStatus describes the last-read state of a single metric.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "external": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus", + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "object": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus", + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "pods": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus", + "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." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewSpec", - "description": "Spec holds information about the request being evaluated" + "resource": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus", + "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." }, - "status": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewStatus", - "description": "Status is filled in by the server and indicates whether the request can be authenticated." + "type": { + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", + "type": "string" } }, "required": [ - "spec" + "type" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.authentication.v1beta1.TokenReviewSpec": { - "description": "TokenReviewSpec is a description of the token authentication request.", + "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource": { + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { - "audiences": { - "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", - "items": { - "type": "string" - }, - "type": "array" + "averageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" }, - "token": { - "description": "Token is the opaque bearer token.", + "metricName": { + "description": "metricName is the name of the metric in question.", "type": "string" + }, + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." + }, + "target": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", + "description": "target is the described Kubernetes object." + }, + "targetValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "targetValue is the target value of the metric (as a quantity)." } }, + "required": [ + "target", + "metricName", + "targetValue" + ], "type": "object" }, - "io.k8s.api.authentication.v1beta1.TokenReviewStatus": { - "description": "TokenReviewStatus is the result of the token authentication request.", + "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus": { + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { - "audiences": { - "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", - "items": { - "type": "string" - }, - "type": "array" + "averageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, - "authenticated": { - "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "currentValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "currentValue is the current value of the metric (as a quantity)." }, - "error": { - "description": "Error indicates that the token couldn't be checked", + "metricName": { + "description": "metricName is the name of the metric in question.", "type": "string" }, - "user": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.UserInfo", - "description": "User is the UserInfo associated with the provided token." + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." + }, + "target": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", + "description": "target is the described Kubernetes object." } }, + "required": [ + "target", + "metricName", + "currentValue" + ], "type": "object" }, - "io.k8s.api.authentication.v1beta1.UserInfo": { - "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "io.k8s.api.autoscaling.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.", "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "Any additional information provided by the authenticator.", - "type": "object" - }, - "groups": { - "description": "The names of groups this user is a part of.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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.", + "metricName": { + "description": "metricName is the name of the metric in question", "type": "string" }, - "username": { - "description": "The name that uniquely identifies this user among all active users.", - "type": "string" + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." + }, + "targetAverageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)" } }, + "required": [ + "metricName", + "targetAverageValue" + ], "type": "object" }, - "io.k8s.api.authorization.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.", + "io.k8s.api.autoscaling.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).", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "currentAverageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "metricName": { + "description": "metricName is the name of the metric in question", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewSpec", - "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." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "required": [ - "spec" + "metricName", + "currentAverageValue" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.authorization.v1.NonResourceAttributes": { - "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", + "io.k8s.api.autoscaling.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.", "properties": { - "path": { - "description": "Path is the URL path of the request", + "name": { + "description": "name is the name of the resource in question.", "type": "string" }, - "verb": { - "description": "Verb is the standard HTTP verb", - "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.", + "format": "int32", + "type": "integer" + }, + "targetAverageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "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." } }, + "required": [ + "name" + ], "type": "object" }, - "io.k8s.api.authorization.v1.NonResourceRule": { - "description": "NonResourceRule holds information that describes a rule for the non-resource", + "io.k8s.api.autoscaling.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.", "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.", - "items": { - "type": "string" - }, - "type": "array" + "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.", + "format": "int32", + "type": "integer" }, - "verbs": { - "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "currentAverageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "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." + }, + "name": { + "description": "name is the name of the resource in question.", + "type": "string" } }, "required": [ - "verbs" + "name", + "currentAverageValue" ], "type": "object" }, - "io.k8s.api.authorization.v1.ResourceAttributes": { - "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { - "group": { - "description": "Group is the API Group of the Resource. \"*\" means all.", + "apiVersion": { + "description": "API version of the referent", "type": "string" }, - "name": { - "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"", "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", + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource": { + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "properties": { + "metric": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", + "description": "metric identifies the target metric by name and selector" }, - "resource": { - "description": "Resource is one of the existing resource types. \"*\" means all.", - "type": "string" + "target": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", + "description": "target specifies the target value for the given metric" + } + }, + "required": [ + "metric", + "target" + ], + "type": "object" + }, + "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "properties": { + "current": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", + "description": "current contains the current value for the given metric" }, - "subresource": { - "description": "Subresource is one of the existing resource types. \"\" means none.", - "type": "string" + "metric": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", + "description": "metric identifies the target metric by name and selector" + } + }, + "required": [ + "metric", + "current" + ], + "type": "object" + }, + "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy": { + "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.", + "properties": { + "periodSeconds": { + "description": "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).", + "format": "int32", + "type": "integer" }, - "verb": { - "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": { + "description": "Type is used to specify the scaling policy.", "type": "string" }, - "version": { - "description": "Version is the API Version of the Resource. \"*\" means all.", - "type": "string" + "value": { + "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero", + "format": "int32", + "type": "integer" } }, + "required": [ + "type", + "value", + "periodSeconds" + ], "type": "object" }, - "io.k8s.api.authorization.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.", + "io.k8s.api.autoscaling.v2beta2.HPAScalingRules": { + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.", "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. \"*\" means all.", + "policies": { + "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid", "items": { - "type": "string" - }, - "type": "array" - }, - "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.", - "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy" }, "type": "array" }, - "resources": { - "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", - "items": { - "type": "string" - }, - "type": "array" + "selectPolicy": { + "description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.", + "type": "string" }, - "verbs": { - "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "stabilizationWindowSeconds": { + "description": "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).", + "format": "int32", + "type": "integer" } }, - "required": [ - "verbs" - ], "type": "object" }, - "io.k8s.api.authorization.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", + "io.k8s.api.autoscaling.v2beta2.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -3868,413 +3611,423 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated. user and groups must be empty" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec", + "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." }, "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus", + "description": "status is the current information about the autoscaler." } }, - "required": [ - "spec" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } ] }, - "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec": { - "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior": { + "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).", "properties": { - "nonResourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes", - "description": "NonResourceAttributes describes information for a non-resource access request" + "scaleDown": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingRules", + "description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)." }, - "resourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes", - "description": "ResourceAuthorizationAttributes describes information for a resource access request" + "scaleUp": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingRules", + "description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used." } }, "type": "object" }, - "io.k8s.api.authorization.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.", + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition": { + "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "message": { + "description": "message is a human-readable explanation containing details about the transition", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec", - "description": "Spec holds information about the request being evaluated." + "reason": { + "description": "reason is the reason for the condition's last transition.", + "type": "string" }, "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectRulesReviewStatus", - "description": "Status is filled in by the server and indicates the set of actions a user can perform." + "description": "status is the status of the condition (True, False, Unknown)", + "type": "string" + }, + "type": { + "description": "type describes the current condition", + "type": "string" } }, "required": [ - "spec" + "type", + "status" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1" - } - ] - }, - "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec": { - "properties": { - "namespace": { - "description": "Namespace to evaluate rules for. Required.", - "type": "string" - } - }, "type": "object" }, - "io.k8s.api.authorization.v1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList": { + "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler 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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "items is the list of horizontal pod autoscaler objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "metadata is the standard list metadata." } }, "required": [ - "spec" + "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v2beta2" } ] }, - "io.k8s.api.authorization.v1.SubjectAccessReviewSpec": { - "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec": { + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "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" + "behavior": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior", + "description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used." }, - "groups": { - "description": "Groups is the groups you're testing for.", + "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.", + "format": "int32", + "type": "integer" + }, + "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. If not set, the default metric will be set to 80% average CPU utilization.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricSpec" }, "type": "array" }, - "nonResourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes", - "description": "NonResourceAttributes describes information for a non-resource access request" - }, - "resourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes", - "description": "ResourceAuthorizationAttributes describes information for a resource access request" - }, - "uid": { - "description": "UID information about the requesting user.", - "type": "string" + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", + "format": "int32", + "type": "integer" }, - "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" + "scaleTargetRef": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference", + "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." } }, + "required": [ + "scaleTargetRef", + "maxReplicas" + ], "type": "object" }, - "io.k8s.api.authorization.v1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", + "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus": { + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition" + }, + "type": "array" }, - "denied": { - "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "currentMetrics": { + "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricStatus" + }, + "type": "array" }, - "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" + "currentReplicas": { + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", + "format": "int32", + "type": "integer" }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", - "type": "string" + "desiredReplicas": { + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", + "format": "int32", + "type": "integer" + }, + "lastScaleTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "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." + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed by this autoscaler.", + "format": "int64", + "type": "integer" } }, "required": [ - "allowed" + "currentReplicas", + "desiredReplicas", + "conditions" ], "type": "object" }, - "io.k8s.api.authorization.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.", + "io.k8s.api.autoscaling.v2beta2.MetricIdentifier": { + "description": "MetricIdentifier defines the name and optionally selector for a metric", "properties": { - "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.", + "name": { + "description": "name is the name of the given metric", "type": "string" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceRule" - }, - "type": "array" - }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceRule" - }, - "type": "array" + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "required": [ - "resourceRules", - "nonResourceRules", - "incomplete" + "name" ], "type": "object" }, - "io.k8s.api.authorization.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.", + "io.k8s.api.autoscaling.v2beta2.MetricSpec": { + "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "external": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource", + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "object": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource", + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "pods": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricSource", + "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." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec", - "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." + "resource": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource", + "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." }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "type": { + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", + "type": "string" } }, "required": [ - "spec" + "type" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.authorization.v1beta1.NonResourceAttributes": { - "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", + "io.k8s.api.autoscaling.v2beta2.MetricStatus": { + "description": "MetricStatus describes the last-read state of a single metric.", "properties": { - "path": { - "description": "Path is the URL path of the request", - "type": "string" + "external": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus", + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, - "verb": { - "description": "Verb is the standard HTTP verb", + "object": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus", + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus", + "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." + }, + "resource": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus", + "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." + }, + "type": { + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", "type": "string" } }, + "required": [ + "type" + ], "type": "object" }, - "io.k8s.api.authorization.v1beta1.NonResourceRule": { - "description": "NonResourceRule holds information that describes a rule for the non-resource", + "io.k8s.api.autoscaling.v2beta2.MetricTarget": { + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", "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.", - "items": { - "type": "string" - }, - "type": "array" + "averageUtilization": { + "description": "averageUtilization 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. Currently only valid for Resource metric source type", + "format": "int32", + "type": "integer" }, - "verbs": { - "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "averageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" + }, + "type": { + "description": "type represents whether the metric type is Utilization, Value, or AverageValue", + "type": "string" + }, + "value": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "value is the target value of the metric (as a quantity)." } }, "required": [ - "verbs" + "type" ], "type": "object" }, - "io.k8s.api.authorization.v1beta1.ResourceAttributes": { - "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "io.k8s.api.autoscaling.v2beta2.MetricValueStatus": { + "description": "MetricValueStatus holds the current value for a metric", "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" + "averageUtilization": { + "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.", + "format": "int32", + "type": "integer" }, - "resource": { - "description": "Resource is one of the existing resource types. \"*\" means all.", - "type": "string" + "averageValue": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, - "subresource": { - "description": "Subresource is one of the existing resource types. \"\" means none.", - "type": "string" + "value": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "value is the current value of the metric (as a quantity)." + } + }, + "type": "object" + }, + "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource": { + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "properties": { + "describedObject": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" }, - "verb": { - "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "type": "string" + "metric": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", + "description": "metric identifies the target metric by name and selector" }, - "version": { - "description": "Version is the API Version of the Resource. \"*\" means all.", - "type": "string" + "target": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", + "description": "target specifies the target value for the given metric" } }, + "required": [ + "describedObject", + "target", + "metric" + ], "type": "object" }, - "io.k8s.api.authorization.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.", + "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus": { + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "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. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "current": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", + "description": "current contains the current value for the given metric" }, - "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.", - "items": { - "type": "string" - }, - "type": "array" + "describedObject": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" }, - "resources": { - "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", - "items": { - "type": "string" - }, - "type": "array" + "metric": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", + "description": "metric identifies the target metric by name and selector" + } + }, + "required": [ + "metric", + "current", + "describedObject" + ], + "type": "object" + }, + "io.k8s.api.autoscaling.v2beta2.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.", + "properties": { + "metric": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", + "description": "metric identifies the target metric by name and selector" }, - "verbs": { - "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "target": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", + "description": "target specifies the target value for the given metric" } }, "required": [ - "verbs" + "metric", + "target" ], "type": "object" }, - "io.k8s.api.authorization.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", + "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus": { + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "current": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", + "description": "current contains the current value for the given metric" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "metric": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", + "description": "metric identifies the target metric by name and selector" + } + }, + "required": [ + "metric", + "current" + ], + "type": "object" + }, + "io.k8s.api.autoscaling.v2beta2.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.", + "properties": { + "name": { + "description": "name is the name of the resource in question.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated. user and groups must be empty" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "target": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", + "description": "target specifies the target value for the given metric" } }, "required": [ - "spec" + "name", + "target" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec": { - "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "io.k8s.api.autoscaling.v2beta2.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.", "properties": { - "nonResourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceAttributes", - "description": "NonResourceAttributes describes information for a non-resource access request" + "current": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", + "description": "current contains the current value for the given metric" }, - "resourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceAttributes", - "description": "ResourceAuthorizationAttributes describes information for a resource access request" + "name": { + "description": "Name is the name of the resource in question.", + "type": "string" } }, + "required": [ + "name", + "current" + ], "type": "object" }, - "io.k8s.api.authorization.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.", + "io.k8s.api.batch.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/sig-architecture/api-conventions.md#resources", @@ -4285,194 +4038,182 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec", - "description": "Spec holds information about the request being evaluated." + "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", + "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus", - "description": "Status is filled in by the server and indicates the set of actions a user can perform." + "$ref": "#/definitions/io.k8s.api.batch.v1.JobStatus", + "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "spec" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } ] }, - "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec": { + "io.k8s.api.batch.v1.JobCondition": { + "description": "JobCondition describes current state of a job.", "properties": { - "namespace": { - "description": "Namespace to evaluate rules for. Required.", + "lastProbeTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Last time the condition was checked." + }, + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Last time the condition transit from one status to another." + }, + "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 job condition, Complete or Failed.", "type": "string" } }, + "required": [ + "type", + "status" + ], "type": "object" }, - "io.k8s.api.authorization.v1beta1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "io.k8s.api.batch.v1.JobList": { + "description": "JobList is a collection of jobs.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "items is the list of Jobs.", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "spec" + "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1beta1" + "group": "batch", + "kind": "JobList", + "version": "v1" } ] }, - "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec": { - "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "io.k8s.api.batch.v1.JobSpec": { + "description": "JobSpec describes how the job execution will look like.", "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "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" - }, - "group": { - "description": "Groups is the groups you're testing for.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nonResourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceAttributes", - "description": "NonResourceAttributes describes information for a non-resource access request" + "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", + "format": "int64", + "type": "integer" }, - "resourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceAttributes", - "description": "ResourceAuthorizationAttributes describes information for a resource access request" + "backoffLimit": { + "description": "Specifies the number of retries before marking this job failed. Defaults to 6", + "format": "int32", + "type": "integer" }, - "uid": { - "description": "UID information about the requesting user.", - "type": "string" + "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/", + "format": "int32", + "type": "integer" }, - "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" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", - "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "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://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", "type": "boolean" }, - "denied": { - "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "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/", + "format": "int32", + "type": "integer" }, - "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" + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "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" }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", - "type": "string" + "template": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", + "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/" + }, + "ttlSecondsAfterFinished": { + "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", + "format": "int32", + "type": "integer" } }, "required": [ - "allowed" + "template" ], "type": "object" }, - "io.k8s.api.authorization.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.", + "io.k8s.api.batch.v1.JobStatus": { + "description": "JobStatus represents the current state of a Job.", "properties": { - "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" + "active": { + "description": "The number of actively running pods.", + "format": "int32", + "type": "integer" }, - "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" + "completionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "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." }, - "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.", + "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/", "items": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceRule" + "$ref": "#/definitions/io.k8s.api.batch.v1.JobCondition" }, - "type": "array" + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceRule" - }, - "type": "array" - } - }, - "required": [ - "resourceRules", - "nonResourceRules", - "incomplete" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v1.CrossVersionObjectReference": { - "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", - "properties": { - "apiVersion": { - "description": "API version of the referent", - "type": "string" + "failed": { + "description": "The number of pods which reached phase Failed.", + "format": "int32", + "type": "integer" }, - "kind": { - "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"", - "type": "string" + "startTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "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." }, - "name": { - "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" + "succeeded": { + "description": "The number of pods which reached phase Succeeded.", + "format": "int32", + "type": "integer" } }, - "required": [ - "kind", - "name" - ], "type": "object" }, - "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler": { - "description": "configuration of a horizontal pod autoscaler.", + "io.k8s.api.batch.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -4484,37 +4225,37 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec", - "description": "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobSpec", + "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus", - "description": "current information about the autoscaler." + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobStatus", + "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } ] }, - "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList": { - "description": "list of horizontal pod autoscaler objects.", + "io.k8s.api.batch.v1beta1.CronJobList": { + "description": "CronJobList is a collection of cron jobs.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "list of horizontal pod autoscaler objects.", + "description": "items is the list of CronJobs.", "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" }, "type": "array" }, @@ -4524,7 +4265,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -4533,77 +4274,86 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "autoscaling", - "kind": "HorizontalPodAutoscalerList", - "version": "v1" + "group": "batch", + "kind": "CronJobList", + "version": "v1beta1" } ] }, - "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec": { - "description": "specification of a horizontal pod autoscaler.", + "io.k8s.api.batch.v1beta1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "properties": { - "maxReplicas": { - "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "format": "int32", - "type": "integer" + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", + "type": "string" }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", + "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.", "format": "int32", "type": "integer" }, - "scaleTargetRef": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.CrossVersionObjectReference", - "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." + "jobTemplate": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.JobTemplateSpec", + "description": "Specifies the job that will be created when executing a CronJob." }, - "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.", + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "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.", + "format": "int64", + "type": "integer" + }, + "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.", "format": "int32", "type": "integer" + }, + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" } }, "required": [ - "scaleTargetRef", - "maxReplicas" + "schedule", + "jobTemplate" ], "type": "object" }, - "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus": { - "description": "current status of a horizontal pod autoscaler", + "io.k8s.api.batch.v1beta1.CronJobStatus": { + "description": "CronJobStatus represents the current state of a cron job.", "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.", - "format": "int32", - "type": "integer" - }, - "currentReplicas": { - "description": "current number of replicas of pods managed by this autoscaler.", - "format": "int32", - "type": "integer" - }, - "desiredReplicas": { - "description": "desired number of replicas of pods managed by this autoscaler.", - "format": "int32", - "type": "integer" + "active": { + "description": "A list of pointers to currently running jobs.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "type": "array" }, - "lastScaleTime": { + "lastScheduleTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." + "description": "Information when was the last time the job was successfully scheduled." + } + }, + "type": "object" + }, + "io.k8s.api.batch.v1beta1.JobTemplateSpec": { + "description": "JobTemplateSpec describes the data a Job should have when created from a template", + "properties": { + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "observedGeneration": { - "description": "most recent generation observed by this autoscaler.", - "format": "int64", - "type": "integer" + "spec": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", + "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "currentReplicas", - "desiredReplicas" - ], "type": "object" }, - "io.k8s.api.autoscaling.v1.Scale": { - "description": "Scale represents a scaling request for a resource.", + "io.k8s.api.batch.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -4615,202 +4365,198 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobSpec", + "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobStatus", + "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } ] }, - "io.k8s.api.autoscaling.v1.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource.", - "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.autoscaling.v1.ScaleStatus": { - "description": "ScaleStatus represents the current status of a scale subresource.", - "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "format": "int32", - "type": "integer" - }, - "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" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference": { - "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "io.k8s.api.batch.v2alpha1.CronJobList": { + "description": "CronJobList is a collection of cron jobs.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "items is the list of CronJobs.", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + }, + "type": "array" + }, "kind": { - "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/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" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "kind", - "name" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "CronJobList", + "version": "v2alpha1" + } + ] }, - "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource": { - "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set.", + "io.k8s.api.batch.v2alpha1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "properties": { - "metricName": { - "description": "metricName is the name of the metric in question.", + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", "type": "string" }, - "metricSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "metricSelector is used to identify a specific time series within a given metric." + "failedJobsHistoryLimit": { + "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", + "format": "int32", + "type": "integer" }, - "targetAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue." + "jobTemplate": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.JobTemplateSpec", + "description": "Specifies the job that will be created when executing a CronJob." }, - "targetValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue." + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "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.", + "format": "int64", + "type": "integer" + }, + "successfulJobsHistoryLimit": { + "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", + "format": "int32", + "type": "integer" + }, + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" } }, "required": [ - "metricName" + "schedule", + "jobTemplate" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus": { - "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "io.k8s.api.batch.v2alpha1.CronJobStatus": { + "description": "CronJobStatus represents the current state of a cron job.", "properties": { - "currentAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentAverageValue is the current value of metric averaged over autoscaled pods." - }, - "currentValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentValue is the current value of the metric (as a quantity)" - }, - "metricName": { - "description": "metricName is the name of a metric used for autoscaling in metric system.", - "type": "string" + "active": { + "description": "A list of pointers to currently running jobs.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "type": "array" }, - "metricSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "metricSelector is used to identify a specific time series within a given metric." + "lastScheduleTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Information when was the last time the job was successfully scheduled." } }, - "required": [ - "metricName", - "currentValue" - ], "type": "object" }, - "io.k8s.api.autoscaling.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.", + "io.k8s.api.batch.v2alpha1.JobTemplateSpec": { + "description": "JobTemplateSpec describes the data a Job should have when created from a template", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", + "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object" + }, + "io.k8s.api.certificates.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: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "spec": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec", - "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec", + "description": "The certificate request itself and any additional information." }, "status": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus", - "description": "status is the current information about the autoscaler." + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus", + "description": "Derived information about the request." } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } ] }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition": { - "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", + "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition": { "properties": { - "lastTransitionTime": { + "lastUpdateTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime is the last time the condition transitioned from one status to another" + "description": "timestamp for the last update to this condition" }, "message": { - "description": "message is a human-readable explanation containing details about the transition", + "description": "human readable message with details about the request state", "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)", + "description": "brief reason for the request state", "type": "string" }, "type": { - "description": "type describes the current condition", + "description": "request approval state, currently Approved or Denied.", "type": "string" } }, "required": [ - "type", - "status" + "type" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList": { - "description": "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.", + "io.k8s.api.certificates.v1beta1.CertificateSigningRequestList": { "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of horizontal pod autoscaler objects.", "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" }, "type": "array" }, @@ -4819,8 +4565,7 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "metadata is the standard list metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } }, "required": [ @@ -4829,356 +4574,409 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "autoscaling", - "kind": "HorizontalPodAutoscalerList", - "version": "v2beta1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequestList", + "version": "v1beta1" } ] }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec": { - "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "io.k8s.api.certificates.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.", "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.", - "format": "int32", - "type": "integer" + "extra": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": "Extra information about the requesting user. See user.Info interface for details.", + "type": "object" }, - "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.", + "groups": { + "description": "Group information about the requesting user. See user.Info interface for details.", "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.MetricSpec" + "type": "string" }, "type": "array" }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", - "format": "int32", - "type": "integer" + "request": { + "description": "Base64-encoded PKCS#10 CSR data", + "format": "byte", + "type": "string" }, - "scaleTargetRef": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", - "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." + "signerName": { + "description": "Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:\n 1. If it's a kubelet client certificate, it is assigned\n \"kubernetes.io/kube-apiserver-client-kubelet\".\n 2. If it's a kubelet serving certificate, it is assigned\n \"kubernetes.io/kubelet-serving\".\n 3. Otherwise, it is assigned \"kubernetes.io/legacy-unknown\".\nDistribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.", + "type": "string" + }, + "uid": { + "description": "UID information about the requesting user. See user.Info interface for details.", + "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", + "items": { + "type": "string" + }, + "type": "array" + }, + "username": { + "description": "Information about the requesting user. See user.Info interface for details.", + "type": "string" } }, "required": [ - "scaleTargetRef", - "maxReplicas" + "request" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus": { - "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", + "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus": { "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition" - }, - "type": "array" + "certificate": { + "description": "If request was approved, the controller will place the issued certificate here.", + "format": "byte", + "type": "string" }, - "currentMetrics": { - "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "conditions": { + "description": "Conditions applied to the request, such as approval or denial.", "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.MetricStatus" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition" }, "type": "array" - }, - "currentReplicas": { - "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "format": "int32", - "type": "integer" - }, - "desiredReplicas": { - "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "format": "int32", - "type": "integer" - }, - "lastScaleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "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." - }, - "observedGeneration": { - "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "format": "int64", - "type": "integer" } }, - "required": [ - "currentReplicas", - "desiredReplicas", - "conditions" - ], "type": "object" }, - "io.k8s.api.autoscaling.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).", + "io.k8s.api.coordination.v1.Lease": { + "description": "Lease defines a lease concept.", "properties": { - "external": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ExternalMetricSource", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "pods": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.PodsMetricSource", - "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." + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "resource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ResourceMetricSource", - "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." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "type": { - "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", - "type": "string" + "spec": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseSpec", + "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "type" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + ] }, - "io.k8s.api.autoscaling.v2beta1.MetricStatus": { - "description": "MetricStatus describes the last-read state of a single metric.", + "io.k8s.api.coordination.v1.LeaseList": { + "description": "LeaseList is a list of Lease objects.", "properties": { - "external": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." - }, - "pods": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus", - "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." + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "resource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus", - "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." + "items": { + "description": "Items is a list of schema objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + }, + "type": "array" }, - "type": { - "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "type" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseList", + "version": "v1" + } + ] }, - "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource": { - "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "io.k8s.api.coordination.v1.LeaseSpec": { + "description": "LeaseSpec is a specification of a Lease.", "properties": { - "averageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" + "acquireTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "acquireTime is a time when the current lease was acquired." }, - "metricName": { - "description": "metricName is the name of the metric in question.", + "holderIdentity": { + "description": "holderIdentity contains the identity of the holder of a current lease.", "type": "string" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." + "leaseDurationSeconds": { + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", + "format": "int32", + "type": "integer" }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", - "description": "target is the described Kubernetes object." + "leaseTransitions": { + "description": "leaseTransitions is the number of transitions of a lease between holders.", + "format": "int32", + "type": "integer" }, - "targetValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetValue is the target value of the metric (as a quantity)." + "renewTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "renewTime is a time when the current holder of a lease has last updated the lease." } }, - "required": [ - "target", - "metricName", - "targetValue" - ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus": { - "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "io.k8s.api.coordination.v1beta1.Lease": { + "description": "Lease defines a lease concept.", "properties": { - "averageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" - }, - "currentValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentValue is the current value of the metric (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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", - "description": "target is the described Kubernetes object." + "spec": { + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseSpec", + "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "target", - "metricName", - "currentValue" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + ] }, - "io.k8s.api.autoscaling.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.", + "io.k8s.api.coordination.v1beta1.LeaseList": { + "description": "LeaseList is a list of Lease objects.", "properties": { - "metricName": { - "description": "metricName is the name of the metric in question", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." + "items": { + "description": "Items is a list of schema objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + }, + "type": "array" }, - "targetAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "metricName", - "targetAverageValue" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseList", + "version": "v1beta1" + } + ] }, - "io.k8s.api.autoscaling.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).", + "io.k8s.api.coordination.v1beta1.LeaseSpec": { + "description": "LeaseSpec is a specification of a Lease.", "properties": { - "currentAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)" + "acquireTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "acquireTime is a time when the current lease was acquired." }, - "metricName": { - "description": "metricName is the name of the metric in question", + "holderIdentity": { + "description": "holderIdentity contains the identity of the holder of a current lease.", "type": "string" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." + "leaseDurationSeconds": { + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", + "format": "int32", + "type": "integer" + }, + "leaseTransitions": { + "description": "leaseTransitions is the number of transitions of a lease between holders.", + "format": "int32", + "type": "integer" + }, + "renewTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "renewTime is a time when the current holder of a lease has last updated the lease." } }, - "required": [ - "metricName", - "currentAverageValue" - ], "type": "object" }, - "io.k8s.api.autoscaling.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.", + "io.k8s.api.core.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.", "properties": { - "name": { - "description": "name is the name of the resource in question.", + "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" }, - "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.", + "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).", "format": "int32", "type": "integer" }, - "targetAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "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." + "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" + }, + "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" } }, "required": [ - "name" + "volumeID" ], "type": "object" }, - "io.k8s.api.autoscaling.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.", + "io.k8s.api.core.v1.Affinity": { + "description": "Affinity is a group of affinity scheduling rules.", "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.", - "format": "int32", - "type": "integer" + "nodeAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeAffinity", + "description": "Describes node affinity scheduling rules for the pod." }, - "currentAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "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." + "podAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinity", + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." + }, + "podAntiAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.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))." + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.AttachedVolume": { + "description": "AttachedVolume describes a volume attached to a node", + "properties": { + "devicePath": { + "description": "DevicePath represents the device path where the volume should be available", + "type": "string" }, "name": { - "description": "name is the name of the resource in question.", + "description": "Name of the attached volume", "type": "string" } }, "required": [ "name", - "currentAverageValue" + "devicePath" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference": { - "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "io.k8s.api.core.v1.AzureDiskVolumeSource": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", "properties": { - "apiVersion": { - "description": "API version of the referent", + "cachingMode": { + "description": "Host Caching mode: None, Read Only, Read Write.", "type": "string" }, - "kind": { - "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"", + "diskName": { + "description": "The Name of the data disk in the blob storage", "type": "string" }, - "name": { - "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "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: multiple 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" } }, "required": [ - "kind", - "name" + "diskName", + "diskURI" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource": { - "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "io.k8s.api.core.v1.AzureFilePersistentVolumeSource": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "properties": { - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" + "secretName": { + "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" } }, "required": [ - "metric", - "target" + "secretName", + "shareName" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus": { - "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "io.k8s.api.core.v1.AzureFileVolumeSource": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "properties": { - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" }, - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" + "secretName": { + "description": "the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "Share Name", + "type": "string" } }, "required": [ - "metric", - "current" + "secretName", + "shareName" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.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.", + "io.k8s.api.core.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.", "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/sig-architecture/api-conventions.md#resources", @@ -5190,409 +4988,301 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec", - "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "status": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus", - "description": "status is the current information about the autoscaler." + "target": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "The target object that you want to bind to the standard object." } }, + "required": [ + "target" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "", + "kind": "Binding", + "version": "v1" } ] }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition": { - "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", + "io.k8s.api.core.v1.CSIPersistentVolumeSource": { + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime is the last time the condition transitioned from one status to another" + "controllerExpandSecretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, - "message": { - "description": "message is a human-readable explanation containing details about the transition", - "type": "string" + "controllerPublishSecretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, - "reason": { - "description": "reason is the reason for the condition's last transition.", + "driver": { + "description": "Driver is the name of the driver to use for this volume. Required.", "type": "string" }, - "status": { - "description": "status is the status of the condition (True, False, Unknown)", + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".", "type": "string" }, - "type": { - "description": "type describes the current condition", + "nodePublishSecretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." + }, + "nodeStageSecretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." + }, + "readOnly": { + "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "additionalProperties": { + "type": "string" + }, + "description": "Attributes of the volume to publish.", + "type": "object" + }, + "volumeHandle": { + "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required.", "type": "string" } }, "required": [ - "type", - "status" + "driver", + "volumeHandle" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList": { - "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", + "io.k8s.api.core.v1.CSIVolumeSource": { + "description": "Represents a source location of a volume to mount, managed by an external CSI driver", "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/sig-architecture/api-conventions.md#resources", + "driver": { + "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", "type": "string" }, - "items": { - "description": "items is the list of horizontal pod autoscaler objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", + "fsType": { + "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "metadata is the standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscalerList", - "version": "v2beta2" - } - ] - }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec": { - "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", - "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.", - "format": "int32", - "type": "integer" - }, - "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. If not set, the default metric will be set to 80% average CPU utilization.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricSpec" - }, - "type": "array" + "nodePublishSecretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed." }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", - "format": "int32", - "type": "integer" + "readOnly": { + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", + "type": "boolean" }, - "scaleTargetRef": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference", - "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." + "volumeAttributes": { + "additionalProperties": { + "type": "string" + }, + "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", + "type": "object" } }, "required": [ - "scaleTargetRef", - "maxReplicas" + "driver" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus": { - "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", + "io.k8s.api.core.v1.Capabilities": { + "description": "Adds and removes POSIX capabilities from running containers.", "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.", + "add": { + "description": "Added capabilities", "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition" + "type": "string" }, "type": "array" }, - "currentMetrics": { - "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "drop": { + "description": "Removed capabilities", "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricStatus" + "type": "string" }, "type": "array" - }, - "currentReplicas": { - "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "format": "int32", - "type": "integer" - }, - "desiredReplicas": { - "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "format": "int32", - "type": "integer" - }, - "lastScaleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "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." - }, - "observedGeneration": { - "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "format": "int64", - "type": "integer" } }, - "required": [ - "currentReplicas", - "desiredReplicas", - "conditions" - ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.MetricIdentifier": { - "description": "MetricIdentifier defines the name and optionally selector for a metric", + "io.k8s.api.core.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.", "properties": { - "name": { - "description": "name is the name of the given metric", - "type": "string" + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "items": { + "type": "string" + }, + "type": "array" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.MetricSpec": { - "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", - "properties": { - "external": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." + "path": { + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" }, - "object": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" }, - "pods": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricSource", - "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." + "secretFile": { + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" }, - "resource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource", - "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." + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" }, - "type": { - "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", + "user": { + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "type": "string" } }, "required": [ - "type" + "monitors" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.MetricStatus": { - "description": "MetricStatus describes the last-read state of a single metric.", + "io.k8s.api.core.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.", "properties": { - "external": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "items": { + "type": "string" + }, + "type": "array" }, - "pods": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus", - "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." + "path": { + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" }, - "resource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus", - "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." + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" }, - "type": { - "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", + "secretFile": { + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.MetricTarget": { - "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", - "properties": { - "averageUtilization": { - "description": "averageUtilization 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. Currently only valid for Resource metric source type", - "format": "int32", - "type": "integer" }, - "averageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" }, - "type": { - "description": "type represents whether the metric type is Utilization, Value, or AverageValue", + "user": { + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "type": "string" - }, - "value": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "value is the target value of the metric (as a quantity)." } }, "required": [ - "type" + "monitors" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.MetricValueStatus": { - "description": "MetricValueStatus holds the current value for a metric", + "io.k8s.api.core.v1.CinderPersistentVolumeSource": { + "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.", "properties": { - "averageUtilization": { - "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.", - "format": "int32", - "type": "integer" - }, - "averageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" + "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://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" }, - "value": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "value is the current value of the metric (as a quantity)." - } - }, - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource": { - "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", - "properties": { - "describedObject": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" }, - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack." }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" + "volumeID": { + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" } }, "required": [ - "describedObject", - "target", - "metric" + "volumeID" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus": { - "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "io.k8s.api.core.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.", "properties": { - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" + "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://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" }, - "describedObject": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" }, - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" - } - }, - "required": [ - "metric", - "current", - "describedObject" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.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.", - "properties": { - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack." }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" + "volumeID": { + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" } }, "required": [ - "metric", - "target" + "volumeID" ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus": { - "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", + "io.k8s.api.core.v1.ClientIPConfig": { + "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" - }, - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" + "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).", + "format": "int32", + "type": "integer" } }, - "required": [ - "metric", - "current" - ], "type": "object" }, - "io.k8s.api.autoscaling.v2beta2.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.", + "io.k8s.api.core.v1.ComponentCondition": { + "description": "Information about the condition of a component.", "properties": { - "name": { - "description": "name is the name of the resource in question.", + "error": { + "description": "Condition error code for a component. For example, a health check error code.", "type": "string" }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" - } - }, - "required": [ - "name", - "target" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.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.", - "properties": { - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" + "message": { + "description": "Message about the condition for a component. For example, information about a health check.", + "type": "string" }, - "name": { - "description": "Name is the name of the resource in question.", + "status": { + "description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".", + "type": "string" + }, + "type": { + "description": "Type of condition for a component. Valid value: \"Healthy\"", "type": "string" } }, "required": [ - "name", - "current" + "type", + "status" ], "type": "object" }, - "io.k8s.api.batch.v1.Job": { - "description": "Job represents the configuration of a single job.", + "io.k8s.api.core.v1.ComponentStatus": { + "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "conditions": { + "description": "List of component conditions observed", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentCondition" + }, + "type": "array", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -5600,70 +5290,28 @@ "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", - "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobStatus", - "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "batch", - "kind": "Job", + "group": "", + "kind": "ComponentStatus", "version": "v1" } ] }, - "io.k8s.api.batch.v1.JobCondition": { - "description": "JobCondition describes current state of a job.", - "properties": { - "lastProbeTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition was checked." - }, - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transit from one status to another." - }, - "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 job condition, Complete or Failed.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.batch.v1.JobList": { - "description": "JobList is a collection of jobs.", + "io.k8s.api.core.v1.ComponentStatusList": { + "description": "Status of all the conditions for the component as a list of ComponentStatus 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of Jobs.", + "description": "List of ComponentStatus objects.", "items": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" }, "type": "array" }, @@ -5673,7 +5321,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ @@ -5682,140 +5330,102 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "batch", - "kind": "JobList", + "group": "", + "kind": "ComponentStatusList", "version": "v1" } ] }, - "io.k8s.api.batch.v1.JobSpec": { - "description": "JobSpec describes how the job execution will look like.", + "io.k8s.api.core.v1.ConfigMap": { + "description": "ConfigMap holds configuration data for pods to consume.", "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", - "format": "int64", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "backoffLimit": { - "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "format": "int32", - "type": "integer" + "binaryData": { + "additionalProperties": { + "format": "byte", + "type": "string" + }, + "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", + "type": "object" }, - "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/", - "format": "int32", - "type": "integer" + "data": { + "additionalProperties": { + "type": "string" + }, + "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", + "type": "object" }, - "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://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", + "immutable": { + "description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate.", "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/", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "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" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "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/" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "ttlSecondsAfterFinished": { - "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "format": "int32", - "type": "integer" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, - "required": [ - "template" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + ] }, - "io.k8s.api.batch.v1.JobStatus": { - "description": "JobStatus represents the current state of a Job.", + "io.k8s.api.core.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": { - "active": { - "description": "The number of actively running pods.", - "format": "int32", - "type": "integer" - }, - "completionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "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." - }, - "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/", - "items": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "failed": { - "description": "The number of pods which reached phase Failed.", - "format": "int32", - "type": "integer" - }, - "startTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "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." + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" }, - "succeeded": { - "description": "The number of pods which reached phase Succeeded.", - "format": "int32", - "type": "integer" + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" } }, "type": "object" }, - "io.k8s.api.batch.v1beta1.CronJob": { - "description": "CronJob represents the configuration of a single cron job.", + "io.k8s.api.core.v1.ConfigMapKeySelector": { + "description": "Selects a key from a ConfigMap.", "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/sig-architecture/api-conventions.md#resources", + "key": { + "description": "The key to select.", "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/sig-architecture/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": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobSpec", - "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobStatus", - "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - ] + "required": [ + "key" + ], + "type": "object" }, - "io.k8s.api.batch.v1beta1.CronJobList": { - "description": "CronJobList is a collection of cron jobs.", + "io.k8s.api.core.v1.ConfigMapList": { + "description": "ConfigMapList is a resource containing a list of ConfigMap 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of CronJobs.", + "description": "Items is the list of ConfigMaps.", "items": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" }, "type": "array" }, @@ -5825,7 +5435,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -5834,469 +5444,569 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "batch", - "kind": "CronJobList", - "version": "v1beta1" + "group": "", + "kind": "ConfigMapList", + "version": "v1" } ] }, - "io.k8s.api.batch.v1beta1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "io.k8s.api.core.v1.ConfigMapNodeConfigSource": { + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", "properties": { - "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", + "kubeletConfigKey": { + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", "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.", - "format": "int32", - "type": "integer" - }, - "jobTemplate": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.JobTemplateSpec", - "description": "Specifies the job that will be created when executing a CronJob." - }, - "schedule": { - "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "name": { + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", "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.", - "format": "int64", - "type": "integer" + "namespace": { + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", + "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.", - "format": "int32", - "type": "integer" + "resourceVersion": { + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" }, - "suspend": { - "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "uid": { + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" } }, "required": [ - "schedule", - "jobTemplate" + "namespace", + "name", + "kubeletConfigKey" ], "type": "object" }, - "io.k8s.api.batch.v1beta1.CronJobStatus": { - "description": "CronJobStatus represents the current state of a cron job.", + "io.k8s.api.core.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": { - "active": { - "description": "A list of pointers to currently running jobs.", + "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 '..'.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" }, "type": "array" }, - "lastScheduleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Information when was the last time the job was successfully scheduled." + "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 its keys must be defined", + "type": "boolean" } }, "type": "object" }, - "io.k8s.api.batch.v1beta1.JobTemplateSpec": { - "description": "JobTemplateSpec describes the data a Job should have when created from a template", + "io.k8s.api.core.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": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "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.", + "format": "int32", + "type": "integer" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", - "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "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 '..'.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + }, + "type": "array" + }, + "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 its keys must be defined", + "type": "boolean" } }, "type": "object" }, - "io.k8s.api.batch.v2alpha1.CronJob": { - "description": "CronJob represents the configuration of a single cron job.", + "io.k8s.api.core.v1.Container": { + "description": "A single application container that you want to run within 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "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", + "items": { + "type": "string" + }, + "type": "array" + }, + "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", + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "type": "array", + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "type": "array" + }, + "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" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "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" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "lifecycle": { + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle", + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobSpec", - "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "livenessProbe": { + "$ref": "#/definitions/io.k8s.api.core.v1.Probe", + "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" }, - "status": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobStatus", - "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - ] - }, - "io.k8s.api.batch.v2alpha1.CronJobList": { - "description": "CronJobList is a collection of cron jobs.", - "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/sig-architecture/api-conventions.md#resources", + "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" }, - "items": { - "description": "items is the list of CronJobs.", + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" }, - "type": "array" + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "readinessProbe": { + "$ref": "#/definitions/io.k8s.api.core.v1.Probe", + "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" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJobList", - "version": "v2alpha1" - } - ] - }, - "io.k8s.api.batch.v2alpha1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", - "properties": { - "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", - "type": "string" + "resources": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" }, - "failedJobsHistoryLimit": { - "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "format": "int32", - "type": "integer" + "securityContext": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext", + "description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" }, - "jobTemplate": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.JobTemplateSpec", - "description": "Specifies the job that will be created when executing a CronJob." + "startupProbe": { + "$ref": "#/definitions/io.k8s.api.core.v1.Probe", + "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, - "schedule": { - "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "type": "string" + "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" }, - "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.", - "format": "int64", - "type": "integer" + "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" }, - "successfulJobsHistoryLimit": { - "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "format": "int32", - "type": "integer" + "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" }, - "suspend": { - "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "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" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "type": "array", + "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" } }, "required": [ - "schedule", - "jobTemplate" + "name" ], "type": "object" }, - "io.k8s.api.batch.v2alpha1.CronJobStatus": { - "description": "CronJobStatus represents the current state of a cron job.", + "io.k8s.api.core.v1.ContainerImage": { + "description": "Describe a container image", "properties": { - "active": { - "description": "A list of pointers to currently running jobs.", + "names": { + "description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + "type": "string" }, "type": "array" }, - "lastScheduleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Information when was the last time the job was successfully scheduled." + "sizeBytes": { + "description": "The size of the image in bytes.", + "format": "int64", + "type": "integer" } }, + "required": [ + "names" + ], "type": "object" }, - "io.k8s.api.batch.v2alpha1.JobTemplateSpec": { - "description": "JobTemplateSpec describes the data a Job should have when created from a template", + "io.k8s.api.core.v1.ContainerPort": { + "description": "ContainerPort represents a network port in a single container.", "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "containerPort": { + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", + "format": "int32", + "type": "integer" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", - "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "hostIP": { + "description": "What host IP to bind the external port to.", + "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.", + "format": "int32", + "type": "integer" + }, + "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.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", + "type": "string" } }, + "required": [ + "containerPort" + ], "type": "object" }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequest": { - "description": "Describes a certificate signing request", + "io.k8s.api.core.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": { - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "running": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateRunning", + "description": "Details about a running container" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec", - "description": "The certificate request itself and any additional information." + "terminated": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateTerminated", + "description": "Details about a terminated container" }, - "status": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus", - "description": "Derived information about the request." + "waiting": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateWaiting", + "description": "Details about a waiting container" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "type": "object" + }, + "io.k8s.api.core.v1.ContainerStateRunning": { + "description": "ContainerStateRunning is a running state of a container.", + "properties": { + "startedAt": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Time at which the container was last (re-)started" } - ] + }, + "type": "object" }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition": { + "io.k8s.api.core.v1.ContainerStateTerminated": { + "description": "ContainerStateTerminated is a terminated state of a container.", "properties": { - "lastUpdateTime": { + "containerID": { + "description": "Container's ID in the format 'docker://'", + "type": "string" + }, + "exitCode": { + "description": "Exit status from the last termination of the container", + "format": "int32", + "type": "integer" + }, + "finishedAt": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "timestamp for the last update to this condition" + "description": "Time at which the container last terminated" }, "message": { - "description": "human readable message with details about the request state", + "description": "Message regarding the last termination of the container", "type": "string" }, "reason": { - "description": "brief reason for the request state", + "description": "(brief) reason from the last termination of the container", "type": "string" }, - "type": { - "description": "request approval state, currently Approved or Denied.", - "type": "string" + "signal": { + "description": "Signal from the last termination of the container", + "format": "int32", + "type": "integer" + }, + "startedAt": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Time at which previous execution of the container started" } }, "required": [ - "type" + "exitCode" ], "type": "object" }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequestList": { + "io.k8s.api.core.v1.ContainerStateWaiting": { + "description": "ContainerStateWaiting is a waiting 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "message": { + "description": "Message regarding why the container is not yet running.", "type": "string" }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - }, - "type": "array" + "reason": { + "description": "(brief) reason the container is not yet running.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.ContainerStatus": { + "description": "ContainerStatus contains details for the current status of this container.", + "properties": { + "containerID": { + "description": "Container's ID in the format 'docker://'.", + "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/sig-architecture/api-conventions.md#types-kinds", + "image": { + "description": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + "imageID": { + "description": "ImageID of the container's image.", + "type": "string" + }, + "lastState": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState", + "description": "Details about the container's last termination condition." + }, + "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.", + "format": "int32", + "type": "integer" + }, + "started": { + "description": "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.", + "type": "boolean" + }, + "state": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState", + "description": "Details about the container's current condition." } }, "required": [ - "items" + "name", + "ready", + "restartCount", + "image", + "imageID" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequestList", - "version": "v1beta1" + "type": "object" + }, + "io.k8s.api.core.v1.DaemonEndpoint": { + "description": "DaemonEndpoint contains information about a single Daemon endpoint.", + "properties": { + "Port": { + "description": "Port number of the given endpoint.", + "format": "int32", + "type": "integer" } - ] + }, + "required": [ + "Port" + ], + "type": "object" }, - "io.k8s.api.certificates.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.", + "io.k8s.api.core.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": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object" - }, - "groups": { - "description": "Group information about the requesting user. See user.Info interface for details.", + "items": { + "description": "Items is a list of DownwardAPIVolume file", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" }, "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.DownwardAPIVolumeFile": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "properties": { + "fieldRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector", + "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." }, - "request": { - "description": "Base64-encoded PKCS#10 CSR data", - "format": "byte", - "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.", + "format": "int32", + "type": "integer" }, - "uid": { - "description": "UID information about the requesting user. See user.Info interface for details.", + "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" }, - "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", - "items": { - "type": "string" - }, - "type": "array" - }, - "username": { - "description": "Information about the requesting user. See user.Info interface for details.", - "type": "string" + "resourceFieldRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector", + "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." } }, "required": [ - "request" + "path" ], "type": "object" }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus": { + "io.k8s.api.core.v1.DownwardAPIVolumeSource": { + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", "properties": { - "certificate": { - "description": "If request was approved, the controller will place the issued certificate here.", - "format": "byte", - "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.", + "format": "int32", + "type": "integer" }, - "conditions": { - "description": "Conditions applied to the request, such as approval or denial.", + "items": { + "description": "Items is a list of downward API volume file", "items": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition" + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" }, "type": "array" } }, "type": "object" }, - "io.k8s.api.coordination.v1.Lease": { - "description": "Lease defines a lease concept.", + "io.k8s.api.core.v1.EmptyDirVolumeSource": { + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "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" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseSpec", - "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "sizeLimit": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "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": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.coordination.v1.LeaseList": { - "description": "LeaseList is a list of Lease objects.", + "io.k8s.api.core.v1.EndpointAddress": { + "description": "EndpointAddress is a tuple that describes single IP address.", "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/sig-architecture/api-conventions.md#resources", + "hostname": { + "description": "The Hostname of this endpoint", "type": "string" }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - }, - "type": "array" + "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" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "nodeName": { + "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "targetRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "Reference to object providing the endpoint." } }, "required": [ - "items" + "ip" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "coordination.k8s.io", - "kind": "LeaseList", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.coordination.v1.LeaseSpec": { - "description": "LeaseSpec is a specification of a Lease.", + "io.k8s.api.core.v1.EndpointPort": { + "description": "EndpointPort is a tuple that describes a single port.", "properties": { - "acquireTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "acquireTime is a time when the current lease was acquired." + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate.", + "type": "string" }, - "holderIdentity": { - "description": "holderIdentity contains the identity of the holder of a current lease.", + "name": { + "description": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.", "type": "string" }, - "leaseDurationSeconds": { - "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", + "port": { + "description": "The port number of the endpoint.", "format": "int32", "type": "integer" }, - "leaseTransitions": { - "description": "leaseTransitions is the number of transitions of a lease between holders.", - "format": "int32", - "type": "integer" + "protocol": { + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "io.k8s.api.core.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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointAddress" + }, + "type": "array" }, - "renewTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "renewTime is a time when the current holder of a lease has last updated the lease." + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointAddress" + }, + "type": "array" + }, + "ports": { + "description": "Port numbers available on the related IP addresses.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointPort" + }, + "type": "array" } }, "type": "object" }, - "io.k8s.api.coordination.v1beta1.Lease": { - "description": "Lease defines a lease concept.", + "io.k8s.api.core.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 ]", "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/sig-architecture/api-conventions.md#resources", @@ -6308,33 +6018,36 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseSpec", - "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointSubset" + }, + "type": "array" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "", + "kind": "Endpoints", + "version": "v1" } ] }, - "io.k8s.api.coordination.v1beta1.LeaseList": { - "description": "LeaseList is a list of Lease objects.", + "io.k8s.api.core.v1.EndpointsList": { + "description": "EndpointsList is a list of endpoints.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "List of endpoints.", "items": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" }, "type": "array" }, @@ -6344,7 +6057,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ @@ -6353,309 +6066,393 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "coordination.k8s.io", - "kind": "LeaseList", - "version": "v1beta1" + "group": "", + "kind": "EndpointsList", + "version": "v1" } ] }, - "io.k8s.api.coordination.v1beta1.LeaseSpec": { - "description": "LeaseSpec is a specification of a Lease.", + "io.k8s.api.core.v1.EnvFromSource": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", "properties": { - "acquireTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "acquireTime is a time when the current lease was acquired." + "configMapRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapEnvSource", + "description": "The ConfigMap to select from" }, - "holderIdentity": { - "description": "holderIdentity contains the identity of the holder of a current lease.", + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", "type": "string" }, - "leaseDurationSeconds": { - "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "format": "int32", - "type": "integer" - }, - "leaseTransitions": { - "description": "leaseTransitions is the number of transitions of a lease between holders.", - "format": "int32", - "type": "integer" - }, - "renewTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "renewTime is a time when the current holder of a lease has last updated the lease." + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretEnvSource", + "description": "The Secret to select from" } }, "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.EnvVar": { + "description": "EnvVar represents an environment variable present in a Container.", "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: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", "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).", - "format": "int32", - "type": "integer" - }, - "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" - }, - "volumeID": { - "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "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": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVarSource", + "description": "Source for the environment variable's value. Cannot be used if value is not empty." } }, "required": [ - "volumeID" + "name" ], "type": "object" }, - "io.k8s.api.core.v1.Affinity": { - "description": "Affinity is a group of affinity scheduling rules.", + "io.k8s.api.core.v1.EnvVarSource": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { - "nodeAffinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeAffinity", - "description": "Describes node affinity scheduling rules for the pod." + "configMapKeyRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector", + "description": "Selects a key of a ConfigMap." }, - "podAffinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinity", - "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." + "fieldRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector", + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." }, - "podAntiAffinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.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))." + "resourceFieldRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector", + "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." + }, + "secretKeyRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", + "description": "Selects a key of a secret in the pod's namespace" } }, "type": "object" }, - "io.k8s.api.core.v1.AttachedVolume": { - "description": "AttachedVolume describes a volume attached to a node", + "io.k8s.api.core.v1.EphemeralContainer": { + "description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.", "properties": { - "devicePath": { - "description": "DevicePath represents the device path where the volume should be available", - "type": "string" + "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", + "items": { + "type": "string" + }, + "type": "array" }, - "name": { - "description": "Name of the attached volume", + "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", + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "type": "array", + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "type": "array" + }, + "image": { + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", "type": "string" - } - }, - "required": [ - "name", - "devicePath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.AzureDiskVolumeSource": { - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", - "properties": { - "cachingMode": { - "description": "Host Caching mode: None, Read Only, Read Write.", + }, + "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" }, - "diskName": { - "description": "The Name of the data disk in the blob storage", + "lifecycle": { + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle", + "description": "Lifecycle is not allowed for ephemeral containers." + }, + "livenessProbe": { + "$ref": "#/definitions/io.k8s.api.core.v1.Probe", + "description": "Probes are not allowed for ephemeral containers." + }, + "name": { + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.", "type": "string" }, - "diskURI": { - "description": "The URI the data disk in the blob storage", + "ports": { + "description": "Ports are not allowed for ephemeral containers.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "type": "array" + }, + "readinessProbe": { + "$ref": "#/definitions/io.k8s.api.core.v1.Probe", + "description": "Probes are not allowed for ephemeral containers." + }, + "resources": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", + "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." + }, + "securityContext": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext", + "description": "SecurityContext is not allowed for ephemeral containers." + }, + "startupProbe": { + "$ref": "#/definitions/io.k8s.api.core.v1.Probe", + "description": "Probes are not allowed for ephemeral containers." + }, + "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" + }, + "targetContainerName": { + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.", "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.", + "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" }, - "kind": { - "description": "Expected values Shared: multiple 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", + "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" }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "type": "array", + "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" } }, "required": [ - "diskName", - "diskURI" + "name" ], "type": "object" }, - "io.k8s.api.core.v1.AzureFilePersistentVolumeSource": { - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "io.k8s.api.core.v1.Event": { + "description": "Event is a report of an event somewhere in the cluster.", "properties": { - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "action": { + "description": "What action was taken/failed regarding to the Regarding object.", + "type": "string" }, - "secretName": { - "description": "the name of secret that contains Azure Storage Account Name and Key", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "secretNamespace": { - "description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod", + "count": { + "description": "The number of times this event has occurred.", + "format": "int32", + "type": "integer" + }, + "eventTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "Time when this Event was first observed." + }, + "firstTimestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" + }, + "involvedObject": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "The object that this event is about." + }, + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "shareName": { - "description": "Share Name", + "lastTimestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "The time at which the most recent occurrence of this event was recorded." + }, + "message": { + "description": "A human-readable description of the status of this operation.", "type": "string" - } - }, - "required": [ - "secretName", - "shareName" - ], - "type": "object" - }, - "io.k8s.api.core.v1.AzureFileVolumeSource": { - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", - "properties": { - "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", + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "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" }, - "shareName": { - "description": "Share Name", + "related": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "Optional secondary object for more complex actions." + }, + "reportingComponent": { + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", + "type": "string" + }, + "reportingInstance": { + "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", + "type": "string" + }, + "series": { + "$ref": "#/definitions/io.k8s.api.core.v1.EventSeries", + "description": "Data about the Event series this event represents or nil if it's a singleton Event." + }, + "source": { + "$ref": "#/definitions/io.k8s.api.core.v1.EventSource", + "description": "The component reporting this event. Should be a short machine understandable string." + }, + "type": { + "description": "Type of this event (Normal, Warning), new types could be added in the future", "type": "string" } }, "required": [ - "secretName", - "shareName" + "metadata", + "involvedObject" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Event", + "version": "v1" + } + ] }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.EventList": { + "description": "EventList is a list of events.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "List of events", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "target": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "The target object that you want to bind to the standard object." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ - "target" + "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "Binding", + "kind": "EventList", "version": "v1" } ] }, - "io.k8s.api.core.v1.CSIPersistentVolumeSource": { - "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", + "io.k8s.api.core.v1.EventSeries": { + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { - "controllerExpandSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." + "count": { + "description": "Number of occurrences in this series up to the last heartbeat time", + "format": "int32", + "type": "integer" }, - "controllerPublishSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." + "lastObservedTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "Time of the last occurrence observed" }, - "driver": { - "description": "Driver is the name of the driver to use for this volume. Required.", + "state": { + "description": "State of this Series: Ongoing or Finished Deprecated. Planned removal for 1.18", "type": "string" - }, - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".", + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.EventSource": { + "description": "EventSource contains information for an event.", + "properties": { + "component": { + "description": "Component from which the event is generated.", "type": "string" }, - "nodePublishSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." - }, - "nodeStageSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." - }, - "readOnly": { - "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" - }, - "volumeAttributes": { - "additionalProperties": { + "host": { + "description": "Node name on which the event is generated.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.ExecAction": { + "description": "ExecAction describes a \"run in container\" action.", + "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.", + "items": { "type": "string" }, - "description": "Attributes of the volume to publish.", - "type": "object" - }, - "volumeHandle": { - "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required.", - "type": "string" + "type": "array" } }, - "required": [ - "driver", - "volumeHandle" - ], "type": "object" }, - "io.k8s.api.core.v1.CSIVolumeSource": { - "description": "Represents a source location of a volume to mount, managed by an external CSI driver", + "io.k8s.api.core.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": { - "driver": { - "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", - "type": "string" - }, "fsType": { - "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", + "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" }, - "nodePublishSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed." + "lun": { + "description": "Optional: FC target lun number", + "format": "int32", + "type": "integer" }, "readOnly": { - "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", "type": "boolean" }, - "volumeAttributes": { - "additionalProperties": { - "type": "string" - }, - "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", - "type": "object" - } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", + "targetWWNs": { + "description": "Optional: FC target worldwide names (WWNs)", "items": { "type": "string" }, "type": "array" }, - "drop": { - "description": "Removed capabilities", + "wwids": { + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", "items": { "type": "string" }, @@ -6664,255 +6461,442 @@ }, "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.FlexPersistentVolumeSource": { + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", "properties": { - "monitors": { - "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array" + "driver": { + "description": "Driver is the name of the driver to use for this volume.", + "type": "string" }, - "path": { - "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "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": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional: Extra command options if any.", + "type": "object" + }, "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", "type": "boolean" }, - "secretFile": { - "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - }, "secretRef": { "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" - }, - "user": { - "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" + "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." } }, "required": [ - "monitors" + "driver" ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.FlexVolumeSource": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", "properties": { - "monitors": { - "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array" + "driver": { + "description": "Driver is the name of the driver to use for this volume.", + "type": "string" }, - "path": { - "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "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": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional: Extra command options if any.", + "type": "object" + }, "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", "type": "boolean" }, - "secretFile": { - "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - }, "secretRef": { "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" - }, - "user": { - "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" + "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." } }, "required": [ - "monitors" + "driver" ], "type": "object" }, - "io.k8s.api.core.v1.CinderPersistentVolumeSource": { - "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.", + "io.k8s.api.core.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": { - "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://examples.k8s.io/mysql-cinder-pd/README.md", + "datasetName": { + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", "type": "string" }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "Optional: points to a secret object containing parameters used to connect to OpenStack." - }, - "volumeID": { - "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "datasetUUID": { + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset", "type": "string" } }, - "required": [ - "volumeID" - ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.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.", "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://examples.k8s.io/mysql-cinder-pd/README.md", + "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" }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "Optional: points to a secret object containing parameters used to connect to OpenStack." + "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", + "format": "int32", + "type": "integer" }, - "volumeID": { - "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "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": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } }, "required": [ - "volumeID" + "pdName" ], "type": "object" }, - "io.k8s.api.core.v1.ClientIPConfig": { - "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", + "io.k8s.api.core.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.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "properties": { - "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).", - "format": "int32", - "type": "integer" + "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" } }, + "required": [ + "repository" + ], "type": "object" }, - "io.k8s.api.core.v1.ComponentCondition": { - "description": "Information about the condition of a component.", + "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "properties": { - "error": { - "description": "Condition error code for a component. For example, a health check error code.", + "endpoints": { + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", "type": "string" }, - "message": { - "description": "Message about the condition for a component. For example, information about a health check.", + "endpointsNamespace": { + "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", "type": "string" }, - "status": { - "description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".", + "path": { + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", "type": "string" }, - "type": { - "description": "Type of condition for a component. Valid value: \"Healthy\"", + "readOnly": { + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + }, + "required": [ + "endpoints", + "path" + ], + "type": "object" + }, + "io.k8s.api.core.v1.GlusterfsVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "properties": { + "endpoints": { + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" } }, "required": [ - "type", - "status" + "endpoints", + "path" ], "type": "object" }, - "io.k8s.api.core.v1.ComponentStatus": { - "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info.", + "io.k8s.api.core.v1.HTTPGetAction": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", "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/sig-architecture/api-conventions.md#resources", + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", "type": "string" }, - "conditions": { - "description": "List of component conditions observed", + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ComponentCondition" + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPHeader" }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "path": { + "description": "Path to access on the HTTP server.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "port": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "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." + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ComponentStatus", - "version": "v1" - } - ] + "required": [ + "port" + ], + "type": "object" }, - "io.k8s.api.core.v1.ComponentStatusList": { - "description": "Status of all the conditions for the component as a list of ComponentStatus objects.", + "io.k8s.api.core.v1.HTTPHeader": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", "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/sig-architecture/api-conventions.md#resources", + "name": { + "description": "The header field name", "type": "string" }, - "items": { - "description": "List of ComponentStatus objects.", + "value": { + "description": "The header field value", + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "io.k8s.api.core.v1.Handler": { + "description": "Handler defines a specific action that should be taken", + "properties": { + "exec": { + "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction", + "description": "One and only one of the following should be specified. Exec specifies the action to take." + }, + "httpGet": { + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", + "description": "HTTPGet specifies the http request to perform." + }, + "tcpSocket": { + "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", + "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" + } + }, + "type": "object" + }, + "io.k8s.api.core.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.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" + "type": "string" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.HostPathVolumeSource": { + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", + "properties": { + "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" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/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" } }, "required": [ - "items" + "path" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ComponentStatusList", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.core.v1.ConfigMap": { - "description": "ConfigMap holds configuration data for pods to consume.", + "io.k8s.api.core.v1.ISCSIPersistentVolumeSource": { + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", "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/sig-architecture/api-conventions.md#resources", + "chapAuthDiscovery": { + "description": "whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "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" }, - "binaryData": { - "additionalProperties": { - "format": "byte", + "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": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "iSCSI Target Lun number.", + "format": "int32", + "type": "integer" + }, + "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).", + "items": { "type": "string" }, - "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object" + "type": "array" }, - "data": { - "additionalProperties": { + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "CHAP Secret for iSCSI target and initiator authentication" + }, + "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" + } + }, + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "type": "object" + }, + "io.k8s.api.core.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.", + "properties": { + "chapAuthDiscovery": { + "description": "whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "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" + }, + "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": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "iSCSI Target Lun number.", + "format": "int32", + "type": "integer" + }, + "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).", + "items": { "type": "string" }, - "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object" + "type": "array" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "description": "CHAP Secret for iSCSI target and initiator authentication" + }, + "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" + } + }, + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "type": "object" + }, + "io.k8s.api.core.v1.KeyToPath": { + "description": "Maps a string key to a path within a volume.", + "properties": { + "key": { + "description": "The key to project.", + "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.", + "format": "int32", + "type": "integer" + }, + "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" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "io.k8s.api.core.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": { + "postStart": { + "$ref": "#/definitions/io.k8s.api.core.v1.Handler", + "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" + }, + "preStop": { + "$ref": "#/definitions/io.k8s.api.core.v1.Handler", + "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" + } + }, + "type": "object" + }, + "io.k8s.api.core.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: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", @@ -6921,63 +6905,80 @@ "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeSpec", + "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "ConfigMap", + "kind": "LimitRange", "version": "v1" } ] }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.LimitRangeItem": { + "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", "properties": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "default": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Default resource requirement limit value by resource name if resource limit is omitted.", + "type": "object" }, - "optional": { - "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ConfigMapKeySelector": { - "description": "Selects a key from a ConfigMap.", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" + "defaultRequest": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", + "type": "object" }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "max": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Max usage constraints on this kind by resource name.", + "type": "object" }, - "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", - "type": "boolean" + "maxLimitRequestRatio": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "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" + }, + "min": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Min usage constraints on this kind by resource name.", + "type": "object" + }, + "type": { + "description": "Type of resource that this limit applies to.", + "type": "string" } }, "required": [ - "key" + "type" ], "type": "object" }, - "io.k8s.api.core.v1.ConfigMapList": { - "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", + "io.k8s.api.core.v1.LimitRangeList": { + "description": "LimitRangeList is a list of LimitRange 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of ConfigMaps.", + "description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" }, "type": "array" }, @@ -6987,7 +6988,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ @@ -6997,564 +6998,697 @@ "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "ConfigMapList", + "kind": "LimitRangeList", "version": "v1" } ] }, - "io.k8s.api.core.v1.ConfigMapNodeConfigSource": { - "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", + "io.k8s.api.core.v1.LimitRangeSpec": { + "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", "properties": { - "kubeletConfigKey": { - "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", - "type": "string" - }, - "name": { - "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", - "type": "string" - }, - "resourceVersion": { - "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "limits": { + "description": "Limits is the list of LimitRangeItem objects that are enforced.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeItem" + }, + "type": "array" + } + }, + "required": [ + "limits" + ], + "type": "object" + }, + "io.k8s.api.core.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" }, - "uid": { - "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "ip": { + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", "type": "string" } }, - "required": [ - "namespace", - "name", - "kubeletConfigKey" - ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.LoadBalancerStatus": { + "description": "LoadBalancerStatus represents the status of a load-balancer.", "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 '..'.", + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerIngress" }, "type": "array" - }, + } + }, + "type": "object" + }, + "io.k8s.api.core.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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its keys must be defined", - "type": "boolean" } }, "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.LocalVolumeSource": { + "description": "Local represents directly-attached storage with node affinity (Beta feature)", "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.", - "format": "int32", - "type": "integer" - }, - "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 '..'.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" - }, - "type": "array" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "fsType": { + "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.", "type": "string" }, - "optional": { - "description": "Specify whether the ConfigMap or its keys must be defined", - "type": "boolean" + "path": { + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).", + "type": "string" } }, + "required": [ + "path" + ], "type": "object" }, - "io.k8s.api.core.v1.Container": { - "description": "A single application container that you want to run within a pod.", + "io.k8s.api.core.v1.NFSVolumeSource": { + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", "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", - "items": { - "type": "string" - }, - "type": "array" - }, - "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", - "items": { - "type": "string" - }, - "type": "array" - }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "path": { + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" - }, - "type": "array" + "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" }, - "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.", + "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" - }, - "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", + } + }, + "required": [ + "server", + "path" + ], + "type": "object" + }, + "io.k8s.api.core.v1.Namespace": { + "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "lifecycle": { - "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle", - "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated." - }, - "livenessProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "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" - }, - "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.", + "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/sig-architecture/api-conventions.md#types-kinds", "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "containerPort", - "protocol" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "containerPort", - "x-kubernetes-patch-strategy": "merge" - }, - "readinessProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "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" - }, - "resources": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", - "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" - }, - "securityContext": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext", - "description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" - }, - "startupProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is an alpha feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "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" + "spec": { + "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceSpec", + "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, - "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" + "status": { + "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceStatus", + "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Namespace", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.NamespaceCondition": { + "description": "NamespaceCondition contains details about state of namespace.", + "properties": { + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" }, - "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.", + "message": { "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.", + "reason": { "type": "string" }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" + "type": { + "description": "Type of namespace controller condition.", + "type": "string" + } + }, + "required": [ + "type", + "status" + ], + "type": "object" + }, + "io.k8s.api.core.v1.NamespaceList": { + "description": "NamespaceList is a list of Namespaces.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "items": { + "description": "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" }, - "type": "array", - "x-kubernetes-patch-merge-key": "mountPath", - "x-kubernetes-patch-strategy": "merge" + "type": "array" }, - "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.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ - "name" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "NamespaceList", + "version": "v1" + } + ] }, - "io.k8s.api.core.v1.ContainerImage": { - "description": "Describe a container image", + "io.k8s.api.core.v1.NamespaceSpec": { + "description": "NamespaceSpec describes the attributes on a Namespace.", "properties": { - "names": { - "description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", + "finalizers": { + "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", "items": { "type": "string" }, "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.NamespaceStatus": { + "description": "NamespaceStatus is information about the current status of a Namespace.", + "properties": { + "conditions": { + "description": "Represents the latest available observations of a namespace's current state.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceCondition" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "sizeBytes": { - "description": "The size of the image in bytes.", - "format": "int64", - "type": "integer" + "phase": { + "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", + "type": "string" } }, - "required": [ - "names" - ], "type": "object" }, - "io.k8s.api.core.v1.ContainerPort": { - "description": "ContainerPort represents a network port in a single container.", + "io.k8s.api.core.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": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "hostIP": { - "description": "What host IP to bind the external port 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/sig-architecture/api-conventions.md#types-kinds", "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.", - "format": "int32", - "type": "integer" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "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.", + "spec": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSpec", + "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeStatus", + "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Node", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.NodeAddress": { + "description": "NodeAddress contains information for the node's address.", + "properties": { + "address": { + "description": "The node address.", "type": "string" }, - "protocol": { - "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", + "type": { + "description": "Node address type, one of Hostname, ExternalIP or InternalIP.", "type": "string" } }, "required": [ - "containerPort" + "type", + "address" ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.NodeAffinity": { + "description": "Node affinity is a group of node affinity scheduling rules.", "properties": { - "running": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateRunning", - "description": "Details about a running container" - }, - "terminated": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateTerminated", - "description": "Details about a terminated container" + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm" + }, + "type": "array" }, - "waiting": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateWaiting", - "description": "Details about a waiting container" + "requiredDuringSchedulingIgnoredDuringExecution": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "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." } }, "type": "object" }, - "io.k8s.api.core.v1.ContainerStateRunning": { - "description": "ContainerStateRunning is a running state of a container.", + "io.k8s.api.core.v1.NodeCondition": { + "description": "NodeCondition contains condition information for a node.", "properties": { - "startedAt": { + "lastHeartbeatTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time at which the container was last (re-)started" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ContainerStateTerminated": { - "description": "ContainerStateTerminated is a terminated state of a container.", - "properties": { - "containerID": { - "description": "Container's ID in the format 'docker://'", - "type": "string" - }, - "exitCode": { - "description": "Exit status from the last termination of the container", - "format": "int32", - "type": "integer" + "description": "Last time we got an update on a given condition." }, - "finishedAt": { + "lastTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time at which the container last terminated" + "description": "Last time the condition transit from one status to another." }, "message": { - "description": "Message regarding the last termination of the container", + "description": "Human readable message indicating details about last transition.", "type": "string" }, "reason": { - "description": "(brief) reason from the last termination of the container", + "description": "(brief) reason for the condition's last transition.", "type": "string" }, - "signal": { - "description": "Signal from the last termination of the container", - "format": "int32", - "type": "integer" + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" }, - "startedAt": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time at which previous execution of the container started" + "type": { + "description": "Type of node condition.", + "type": "string" } }, "required": [ - "exitCode" + "type", + "status" ], "type": "object" }, - "io.k8s.api.core.v1.ContainerStateWaiting": { - "description": "ContainerStateWaiting is a waiting state of a container.", + "io.k8s.api.core.v1.NodeConfigSource": { + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", "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" + "configMap": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapNodeConfigSource", + "description": "ConfigMap is a reference to a Node's ConfigMap" } }, "type": "object" }, - "io.k8s.api.core.v1.ContainerStatus": { - "description": "ContainerStatus contains details for the current status of this container.", + "io.k8s.api.core.v1.NodeConfigStatus": { + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", "properties": { - "containerID": { - "description": "Container's ID in the format 'docker://'.", - "type": "string" - }, - "image": { - "description": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images", - "type": "string" - }, - "imageID": { - "description": "ImageID of the container's image.", - "type": "string" + "active": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", + "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error." }, - "lastState": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState", - "description": "Details about the container's last termination condition." + "assigned": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", + "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned." }, - "name": { - "description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.", + "error": { + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", "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.", - "format": "int32", - "type": "integer" - }, - "started": { - "description": "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.", - "type": "boolean" - }, - "state": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState", - "description": "Details about the container's current condition." + "lastKnownGood": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", + "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future." } }, - "required": [ - "name", - "ready", - "restartCount", - "image", - "imageID" - ], "type": "object" }, - "io.k8s.api.core.v1.DaemonEndpoint": { - "description": "DaemonEndpoint contains information about a single Daemon endpoint.", + "io.k8s.api.core.v1.NodeDaemonEndpoints": { + "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", "properties": { - "Port": { - "description": "Port number of the given endpoint.", - "format": "int32", - "type": "integer" + "kubeletEndpoint": { + "$ref": "#/definitions/io.k8s.api.core.v1.DaemonEndpoint", + "description": "Endpoint on which Kubelet is listening." } }, - "required": [ - "Port" - ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.NodeList": { + "description": "NodeList is the whole list of all Nodes which have been registered with master.", "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, "items": { - "description": "Items is a list of DownwardAPIVolume file", + "description": "List of nodes", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" }, "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.DownwardAPIVolumeFile": { - "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", - "properties": { - "fieldRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector", - "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." - }, - "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.", - "format": "int32", - "type": "integer" }, - "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 '..'", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "resourceFieldRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector", - "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ - "path" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "NodeList", + "version": "v1" + } + ] }, - "io.k8s.api.core.v1.DownwardAPIVolumeSource": { - "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", + "io.k8s.api.core.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.", "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.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "Items is a list of downward API volume file", + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" }, "type": "array" } }, + "required": [ + "nodeSelectorTerms" + ], "type": "object" }, - "io.k8s.api.core.v1.EmptyDirVolumeSource": { - "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", + "io.k8s.api.core.v1.NodeSelectorRequirement": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "key": { + "description": "The label key that the selector applies to.", "type": "string" }, - "sizeLimit": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "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" + "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.", + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "key", + "operator" + ], "type": "object" }, - "io.k8s.api.core.v1.EndpointAddress": { - "description": "EndpointAddress is a tuple that describes single IP address.", + "io.k8s.api.core.v1.NodeSelectorTerm": { + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "properties": { - "hostname": { - "description": "The Hostname of this endpoint", - "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.", - "type": "string" - }, - "nodeName": { - "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", - "type": "string" + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + }, + "type": "array" }, - "targetRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "Reference to object providing the endpoint." + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + }, + "type": "array" } }, - "required": [ - "ip" - ], "type": "object" }, - "io.k8s.api.core.v1.EndpointPort": { - "description": "EndpointPort is a tuple that describes a single port.", + "io.k8s.api.core.v1.NodeSpec": { + "description": "NodeSpec describes the attributes that a node is created with.", "properties": { - "name": { - "description": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.", + "configSource": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", + "description": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field" + }, + "externalID": { + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", "type": "string" }, - "port": { - "description": "The port number of the endpoint.", - "format": "int32", - "type": "integer" + "podCIDR": { + "description": "PodCIDR represents the pod IP range assigned to the node.", + "type": "string" }, - "protocol": { - "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", + "podCIDRs": { + "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-patch-strategy": "merge" + }, + "providerID": { + "description": "ID of the node assigned by the cloud provider in the format: ://", "type": "string" + }, + "taints": { + "description": "If specified, the node's taints.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Taint" + }, + "type": "array" + }, + "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" } }, - "required": [ - "port" - ], "type": "object" }, - "io.k8s.api.core.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 ]", + "io.k8s.api.core.v1.NodeStatus": { + "description": "NodeStatus is information about the current status of a node.", "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.", + "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointAddress" + "$ref": "#/definitions/io.k8s.api.core.v1.NodeAddress" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "allocatable": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", + "type": "object" + }, + "capacity": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "type": "object" + }, + "conditions": { + "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeCondition" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "config": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigStatus", + "description": "Status of the config assigned to the node via the dynamic Kubelet config feature." + }, + "daemonEndpoints": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints", + "description": "Endpoints of daemons running on the Node." + }, + "images": { + "description": "List of container images on this node", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerImage" }, "type": "array" }, - "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.", + "nodeInfo": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSystemInfo", + "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info" + }, + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointAddress" + "$ref": "#/definitions/io.k8s.api.core.v1.AttachedVolume" }, "type": "array" }, - "ports": { - "description": "Port numbers available on the related IP addresses.", + "volumesInUse": { + "description": "List of attachable volumes in use (mounted) by the node.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointPort" + "type": "string" }, "type": "array" } }, "type": "object" }, - "io.k8s.api.core.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 ]", + "io.k8s.api.core.v1.NodeSystemInfo": { + "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", + "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 preferred. 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 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" + } + }, + "required": [ + "machineID", + "systemUUID", + "bootID", + "kernelVersion", + "osImage", + "containerRuntimeVersion", + "kubeletVersion", + "kubeProxyVersion", + "operatingSystem", + "architecture" + ], + "type": "object" + }, + "io.k8s.api.core.v1.ObjectFieldSelector": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object" + }, + "io.k8s.api.core.v1.ObjectReference": { + "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "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.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string" + }, + "resourceVersion": { + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.core.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -7568,962 +7702,1014 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointSubset" - }, - "type": "array" + "spec": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", + "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" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeStatus", + "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" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "Endpoints", + "kind": "PersistentVolume", "version": "v1" } ] }, - "io.k8s.api.core.v1.EndpointsList": { - "description": "EndpointsList is a list of endpoints.", + "io.k8s.api.core.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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "List of endpoints.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec", + "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" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimStatus", + "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" } }, - "required": [ - "items" - ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "EndpointsList", + "kind": "PersistentVolumeClaim", "version": "v1" } ] }, - "io.k8s.api.core.v1.EnvFromSource": { - "description": "EnvFromSource represents the source of a set of ConfigMaps", + "io.k8s.api.core.v1.PersistentVolumeClaimCondition": { + "description": "PersistentVolumeClaimCondition contails details about state of pvc", "properties": { - "configMapRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapEnvSource", - "description": "The ConfigMap to select from" + "lastProbeTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Last time we probed the condition." }, - "prefix": { - "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Last time the condition transitioned from one status to another." + }, + "message": { + "description": "Human-readable message indicating details about last transition.", "type": "string" }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretEnvSource", - "description": "The Secret to select from" + "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" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" } }, + "required": [ + "type", + "status" + ], "type": "object" }, - "io.k8s.api.core.v1.EnvVar": { - "description": "EnvVar represents an environment variable present in a Container.", + "io.k8s.api.core.v1.PersistentVolumeClaimList": { + "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", "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/sig-architecture/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 \"\".", + "items": { + "description": "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "valueFrom": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvVarSource", - "description": "Source for the environment variable's value. Cannot be used if value is not empty." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ - "name" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeClaimList", + "version": "v1" + } + ] }, - "io.k8s.api.core.v1.EnvVarSource": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", + "io.k8s.api.core.v1.PersistentVolumeClaimSpec": { + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", "properties": { - "configMapKeyRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector", - "description": "Selects a key of a ConfigMap." + "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", + "items": { + "type": "string" + }, + "type": "array" }, - "fieldRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector", - "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP." + "dataSource": { + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", + "description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change." }, - "resourceFieldRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector", - "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." + "resources": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", + "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" }, - "secretKeyRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", - "description": "Selects a key of a secret in the pod's namespace" + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "A label query over volumes to consider for binding." + }, + "storageClassName": { + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" } }, "type": "object" }, - "io.k8s.api.core.v1.EphemeralContainer": { - "description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.", + "io.k8s.api.core.v1.PersistentVolumeClaimStatus": { + "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", "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", + "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", "items": { "type": "string" }, "type": "array" }, - "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", - "items": { - "type": "string" + "capacity": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, - "type": "array" + "description": "Represents the actual resources of the underlying volume.", + "type": "object" }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", + "conditions": { + "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimCondition" }, "type": "array", - "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-merge-key": "type", "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" - }, - "type": "array" - }, - "image": { - "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", - "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: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "phase": { + "description": "Phase represents the current phase of PersistentVolumeClaim.", "type": "string" - }, - "lifecycle": { - "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle", - "description": "Lifecycle is not allowed for ephemeral containers." - }, - "livenessProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "Probes are not allowed for ephemeral containers." - }, - "name": { - "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.", + } + }, + "type": "object" + }, + "io.k8s.api.core.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).", + "properties": { + "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" }, - "ports": { - "description": "Ports are not allowed for ephemeral containers.", + "readOnly": { + "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "io.k8s.api.core.v1.PersistentVolumeList": { + "description": "PersistentVolumeList is a list of PersistentVolume 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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" }, "type": "array" }, - "readinessProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "Probes are not allowed for ephemeral containers." + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "resources": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", - "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.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", + "items": { + "type": "string" + }, + "type": "array" }, - "securityContext": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext", - "description": "SecurityContext is not allowed for ephemeral containers." + "awsElasticBlockStore": { + "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", + "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" }, - "startupProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "Probes are not allowed for ephemeral containers." + "azureDisk": { + "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource", + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." }, - "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" + "azureFile": { + "$ref": "#/definitions/io.k8s.api.core.v1.AzureFilePersistentVolumeSource", + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." }, - "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" + "capacity": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "type": "object" }, - "targetContainerName": { - "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.", - "type": "string" + "cephfs": { + "$ref": "#/definitions/io.k8s.api.core.v1.CephFSPersistentVolumeSource", + "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime" }, - "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" + "cinder": { + "$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource", + "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, - "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" + "claimRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "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" }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "csi": { + "$ref": "#/definitions/io.k8s.api.core.v1.CSIPersistentVolumeSource", + "description": "CSI represents storage that is handled by an external CSI driver (Beta feature)." }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" + "fc": { + "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource", + "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "mountPath", - "x-kubernetes-patch-strategy": "merge" + "flexVolume": { + "$ref": "#/definitions/io.k8s.api.core.v1.FlexPersistentVolumeSource", + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." }, - "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" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Event": { - "description": "Event is a report of an event somewhere in the cluster.", - "properties": { - "action": { - "description": "What action was taken/failed regarding to the Regarding object.", - "type": "string" + "flocker": { + "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource", + "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" }, - "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "gcePersistentDisk": { + "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", + "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" }, - "count": { - "description": "The number of times this event has occurred.", - "format": "int32", - "type": "integer" + "glusterfs": { + "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource", + "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, - "eventTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "Time when this Event was first observed." + "hostPath": { + "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", + "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" }, - "firstTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" + "iscsi": { + "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIPersistentVolumeSource", + "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." }, - "involvedObject": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "The object that this event is about." + "local": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalVolumeSource", + "description": "Local represents directly-attached storage with node affinity" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "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", + "items": { + "type": "string" + }, + "type": "array" }, - "lastTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The time at which the most recent occurrence of this event was recorded." + "nfs": { + "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource", + "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, - "message": { - "description": "A human-readable description of the status of this operation.", + "nodeAffinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeNodeAffinity", + "description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume." + }, + "persistentVolumeReclaimPolicy": { + "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "photonPersistentDisk": { + "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", + "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" }, - "reason": { - "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", + "portworxVolume": { + "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource", + "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine" + }, + "quobyte": { + "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource", + "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime" + }, + "rbd": { + "$ref": "#/definitions/io.k8s.api.core.v1.RBDPersistentVolumeSource", + "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" + }, + "scaleIO": { + "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOPersistentVolumeSource", + "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." + }, + "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" }, - "related": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "Optional secondary object for more complex actions." + "storageos": { + "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource", + "description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" }, - "reportingComponent": { - "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", + "volumeMode": { + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.", "type": "string" }, - "reportingInstance": { - "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", + "vsphereVolume": { + "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", + "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.PersistentVolumeStatus": { + "description": "PersistentVolumeStatus is the current status of a persistent volume.", + "properties": { + "message": { + "description": "A human-readable message indicating details about why the volume is in this state.", "type": "string" }, - "series": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventSeries", - "description": "Data about the Event series this event represents or nil if it's a singleton Event." + "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" }, - "source": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventSource", - "description": "The component reporting this event. Should be a short machine understandable 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" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource": { + "description": "Represents a Photon Controller persistent disk 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" }, - "type": { - "description": "Type of this event (Normal, Warning), new types could be added in the future", + "pdID": { + "description": "ID that identifies Photon Controller persistent disk", "type": "string" } }, "required": [ - "metadata", - "involvedObject" + "pdID" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Event", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.core.v1.EventList": { - "description": "EventList is a list of events.", + "io.k8s.api.core.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "List of events", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec", + "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodStatus", + "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/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "items" - ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "EventList", + "kind": "Pod", "version": "v1" } ] }, - "io.k8s.api.core.v1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", + "io.k8s.api.core.v1.PodAffinity": { + "description": "Pod affinity is a group of inter pod affinity scheduling rules.", "properties": { - "count": { - "description": "Number of occurrences in this series up to the last heartbeat time", - "format": "int32", - "type": "integer" - }, - "lastObservedTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "Time of the last occurrence observed" + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" + }, + "type": "array" }, - "state": { - "description": "State of this Series: Ongoing or Finished Deprecated. Planned removal for 1.18", - "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 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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" + }, + "type": "array" } }, "type": "object" }, - "io.k8s.api.core.v1.EventSource": { - "description": "EventSource contains information for an event.", + "io.k8s.api.core.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 matches that of any node on which a pod of the set of pods is running", "properties": { - "component": { - "description": "Component from which the event is generated.", - "type": "string" + "labelSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "A label query over a set of resources, in this case pods." }, - "host": { - "description": "Node name on which the event is generated.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ExecAction": { - "description": "ExecAction describes a \"run in container\" action.", - "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.", + "namespaces": { + "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"", "items": { "type": "string" }, "type": "array" + }, + "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. Empty topologyKey is not allowed.", + "type": "string" } }, + "required": [ + "topologyKey" + ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.PodAntiAffinity": { + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling 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.", - "type": "string" - }, - "lun": { - "description": "Optional: FC target lun number", - "format": "int32", - "type": "integer" - }, - "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)", + "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.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" }, "type": "array" }, - "wwids": { - "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "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.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" }, "type": "array" } }, "type": "object" }, - "io.k8s.api.core.v1.FlexPersistentVolumeSource": { - "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", + "io.k8s.api.core.v1.PodCondition": { + "description": "PodCondition contains details for the current condition of this pod.", "properties": { - "driver": { - "description": "Driver is the name of the driver to use for this volume.", - "type": "string" + "lastProbeTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Last time we probed the condition." }, - "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.", + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Last time the condition transitioned from one status to another." + }, + "message": { + "description": "Human-readable message indicating details about last transition.", "type": "string" }, - "options": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional: Extra command options if any.", - "type": "object" + "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.", - "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" }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "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." + "type": { + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "type": "string" } }, "required": [ - "driver" + "type", + "status" ], "type": "object" }, - "io.k8s.api.core.v1.FlexVolumeSource": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + "io.k8s.api.core.v1.PodDNSConfig": { + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", "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": { - "additionalProperties": { + "nameservers": { + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", + "items": { "type": "string" }, - "description": "Optional: Extra command options if any.", - "type": "object" + "type": "array" }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "options": { + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfigOption" + }, + "type": "array" }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "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." + "searches": { + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "driver" - ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.PodDNSConfigOption": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", "properties": { - "datasetName": { - "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", + "name": { + "description": "Required.", "type": "string" }, - "datasetUUID": { - "description": "UUID of the dataset. This is unique identifier of a Flocker dataset", + "value": { "type": "string" } }, "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.PodIP": { + "description": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n IP: An IP address allocated to the pod. Routable at least within the cluster.", "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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "ip": { + "description": "ip is an IP address (IPv4 or IPv6) assigned to the pod", "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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "format": "int32", - "type": "integer" - }, - "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": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" } }, - "required": [ - "pdName" - ], "type": "object" }, - "io.k8s.api.core.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.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + "io.k8s.api.core.v1.PodList": { + "description": "PodList is a list of Pods.", "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.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "repository": { - "description": "Repository URL", - "type": "string" + "items": { + "description": "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + }, + "type": "array" }, - "revision": { - "description": "Commit hash for the specified revision.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ - "repository" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PodList", + "version": "v1" + } + ] }, - "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource": { - "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "io.k8s.api.core.v1.PodReadinessGate": { + "description": "PodReadinessGate contains the reference to a pod condition", "properties": { - "endpoints": { - "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "endpointsNamespace": { - "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "path": { - "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "conditionType": { + "description": "ConditionType refers to a condition in the pod's condition list with matching type.", "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" } }, "required": [ - "endpoints", - "path" + "conditionType" ], "type": "object" }, - "io.k8s.api.core.v1.GlusterfsVolumeSource": { - "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "io.k8s.api.core.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": { - "endpoints": { - "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" + "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.", + "format": "int64", + "type": "integer" }, - "path": { - "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\".", "type": "string" }, - "readOnly": { - "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", + "format": "int64", + "type": "integer" + }, + "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" - } - }, - "required": [ - "endpoints", - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.HTTPGetAction": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "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.", + "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.", + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "$ref": "#/definitions/io.k8s.api.core.v1.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." + }, + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.HTTPHeader" + "format": "int64", + "type": "integer" }, "type": "array" }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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." + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Sysctl" + }, + "type": "array" }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" + "windowsOptions": { + "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions", + "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." } }, - "required": [ - "port" - ], "type": "object" }, - "io.k8s.api.core.v1.HTTPHeader": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "io.k8s.api.core.v1.PodSpec": { + "description": "PodSpec is a description of a pod.", "properties": { - "name": { - "description": "The header field name", - "type": "string" + "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.", + "format": "int64", + "type": "integer" }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Handler": { - "description": "Handler defines a specific action that should be taken", - "properties": { - "exec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction", - "description": "One and only one of the following should be specified. Exec specifies the action to take." + "affinity": { + "$ref": "#/definitions/io.k8s.api.core.v1.Affinity", + "description": "If specified, the pod's scheduling constraints" }, - "httpGet": { - "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", - "description": "HTTPGet specifies the http request to perform." + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", + "type": "boolean" }, - "tcpSocket": { - "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", - "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" - } - }, - "type": "object" - }, - "io.k8s.api.core.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.", + "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.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.Container" }, - "type": "array" + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" }, - "ip": { - "description": "IP address of the host file entry.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.HostPathVolumeSource": { - "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", - "properties": { - "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" + "dnsConfig": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfig", + "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy." }, - "type": { - "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "dnsPolicy": { + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", "type": "string" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ISCSIPersistentVolumeSource": { - "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", - "properties": { - "chapAuthDiscovery": { - "description": "whether support iSCSI Discovery CHAP authentication", + }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.", "type": "boolean" }, - "chapAuthSession": { - "description": "whether support iSCSI Session CHAP authentication", + "ephemeralContainers": { + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralContainer" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" + }, + "type": "array", + "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" }, - "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" + "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" }, - "initiatorName": { - "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", + "hostPID": { + "description": "Use the host's pid namespace. Optional: Default to false.", + "type": "boolean" + }, + "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" }, - "iqn": { - "description": "Target iSCSI Qualified Name.", + "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", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "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, Liveness probes, or Startup 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/", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Container" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "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.", "type": "string" }, - "iscsiInterface": { - "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "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" + }, + "overhead": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.", + "type": "object" + }, + "preemptionPolicy": { + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", "type": "string" }, - "lun": { - "description": "iSCSI Target Lun number.", + "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.", "format": "int32", "type": "integer" }, - "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).", + "priorityClassName": { + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being 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" + }, + "readinessGates": { + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.PodReadinessGate" }, "type": "array" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "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" }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "CHAP Secret for iSCSI target and initiator authentication" + "runtimeClassName": { + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.", + "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).", + "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" - } - }, - "required": [ - "targetPortal", - "iqn", - "lun" - ], - "type": "object" - }, - "io.k8s.api.core.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.", - "properties": { - "chapAuthDiscovery": { - "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" }, - "chapAuthSession": { - "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "securityContext": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext", + "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field." }, - "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", + "serviceAccount": { + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", "type": "string" }, - "initiatorName": { - "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", + "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" }, - "iqn": { - "description": "Target iSCSI Qualified Name.", - "type": "string" + "shareProcessNamespace": { + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.", + "type": "boolean" }, - "iscsiInterface": { - "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "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" }, - "lun": { - "description": "iSCSI Target Lun number.", - "format": "int32", + "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.", + "format": "int64", "type": "integer" }, - "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).", + "tolerations": { + "description": "If specified, the pod's tolerations.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" }, "type": "array" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "CHAP Secret for iSCSI target and initiator authentication" + "topologySpreadConstraints": { + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is only honored by clusters that enable the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "topologyKey", + "whenUnsatisfiable" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "topologyKey", + "x-kubernetes-patch-strategy": "merge" }, - "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" + "volumes": { + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge,retainKeys" } }, "required": [ - "targetPortal", - "iqn", - "lun" + "containers" ], "type": "object" }, - "io.k8s.api.core.v1.KeyToPath": { - "description": "Maps a string key to a path within a volume.", + "io.k8s.api.core.v1.PodStatus": { + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", "properties": { - "key": { - "description": "The key to project.", + "conditions": { + "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodCondition" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "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: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" + }, + "type": "array" + }, + "ephemeralContainerStatuses": { + "description": "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" + }, + "type": "array" + }, + "hostIP": { + "description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.", "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.", - "format": "int32", - "type": "integer" + "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", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" + }, + "type": "array" }, - "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 '..'.", + "message": { + "description": "A human readable message indicating details about why the pod is in this condition.", "type": "string" - } - }, - "required": [ - "key", - "path" - ], - "type": "object" - }, - "io.k8s.api.core.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": { - "postStart": { - "$ref": "#/definitions/io.k8s.api.core.v1.Handler", - "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" }, - "preStop": { - "$ref": "#/definitions/io.k8s.api.core.v1.Handler", - "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" - } - }, - "type": "object" - }, - "io.k8s.api.core.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "nominatedNodeName": { + "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.", "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/sig-architecture/api-conventions.md#types-kinds", + "phase": { + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "podIP": { + "description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", + "type": "string" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeSpec", - "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "podIPs": { + "description": "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodIP" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "ip", + "x-kubernetes-patch-strategy": "merge" + }, + "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://git.k8s.io/community/contributors/design-proposals/node/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": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "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": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.core.v1.LimitRangeItem": { - "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", + "io.k8s.api.core.v1.PodTemplate": { + "description": "PodTemplate describes a template for creating copies of a predefined pod.", "properties": { - "default": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object" - }, - "defaultRequest": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object" - }, - "max": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Max usage constraints on this kind by resource name.", - "type": "object" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "maxLimitRequestRatio": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "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" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "min": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Min usage constraints on this kind by resource name.", - "type": "object" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "type": { - "description": "Type of resource that this limit applies to.", - "type": "string" + "template": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", + "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + ] }, - "io.k8s.api.core.v1.LimitRangeList": { - "description": "LimitRangeList is a list of LimitRange items.", + "io.k8s.api.core.v1.PodTemplateList": { + "description": "PodTemplateList is a list of PodTemplates.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "description": "List of pod templates", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" }, "type": "array" }, @@ -8543,105 +8729,255 @@ "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "LimitRangeList", + "kind": "PodTemplateList", "version": "v1" } ] }, - "io.k8s.api.core.v1.LimitRangeSpec": { - "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", + "io.k8s.api.core.v1.PodTemplateSpec": { + "description": "PodTemplateSpec describes the data a pod should have when created from a template", "properties": { - "limits": { - "description": "Limits is the list of LimitRangeItem objects that are enforced.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeItem" - }, - "type": "array" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec", + "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "limits" - ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.PortworxVolumeSource": { + "description": "PortworxVolumeSource represents a Portworx volume resource.", "properties": { - "hostname": { - "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)", + "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" }, - "ip": { - "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", + "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" } }, + "required": [ + "volumeID" + ], "type": "object" }, - "io.k8s.api.core.v1.LoadBalancerStatus": { - "description": "LoadBalancerStatus represents the status of a load-balancer.", + "io.k8s.api.core.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).", "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.", + "preference": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm", + "description": "A node selector term, associated with the corresponding weight." + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "weight", + "preference" + ], + "type": "object" + }, + "io.k8s.api.core.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": { + "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction", + "description": "One and only one of the following should be specified. Exec specifies the action to take." + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "httpGet": { + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", + "description": "HTTPGet specifies the http request to perform." + }, + "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", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", + "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" + }, + "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", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.ProjectedVolumeSource": { + "description": "Represents a projected volume source", + "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.", + "format": "int32", + "type": "integer" + }, + "sources": { + "description": "list of volume projections", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerIngress" + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeProjection" }, "type": "array" } }, + "required": [ + "sources" + ], "type": "object" }, - "io.k8s.api.core.v1.LocalObjectReference": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "io.k8s.api.core.v1.QuobyteVolumeSource": { + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", "properties": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "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" + }, + "tenant": { + "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "User to map volume access to Defaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "Volume is a string that references an already created Quobyte volume by name.", "type": "string" } }, + "required": [ + "registry", + "volume" + ], "type": "object" }, - "io.k8s.api.core.v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity (Beta feature)", + "io.k8s.api.core.v1.RBDPersistentVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { "fsType": { - "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem 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#rbd", "type": "string" }, - "path": { - "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).", + "image": { + "description": "The rados image name. More info: https://examples.k8s.io/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: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "items": { + "type": "string" + }, + "type": "array" + }, + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/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: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "user": { + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "type": "string" } }, "required": [ - "path" + "monitors", + "image" ], "type": "object" }, - "io.k8s.api.core.v1.NFSVolumeSource": { - "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", + "io.k8s.api.core.v1.RBDVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { - "path": { - "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "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#rbd", + "type": "string" + }, + "image": { + "description": "The rados image name. More info: https://examples.k8s.io/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: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "items": { + "type": "string" + }, + "type": "array" + }, + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "type": "string" }, "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", + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "type": "boolean" }, - "server": { - "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "user": { + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "type": "string" } }, "required": [ - "server", - "path" + "monitors", + "image" ], "type": "object" }, - "io.k8s.api.core.v1.Namespace": { - "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", + "io.k8s.api.core.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -8653,36 +8989,39 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceSpec", - "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerSpec", + "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceStatus", - "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerStatus", + "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/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "Namespace", + "kind": "ReplicationController", "version": "v1" } ] }, - "io.k8s.api.core.v1.NamespaceCondition": { - "description": "NamespaceCondition contains details about state of namespace.", + "io.k8s.api.core.v1.ReplicationControllerCondition": { + "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", "properties": { "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "The last time the condition transitioned from one status to another." }, "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": { @@ -8690,7 +9029,7 @@ "type": "string" }, "type": { - "description": "Type of namespace controller condition.", + "description": "Type of replication controller condition.", "type": "string" } }, @@ -8700,17 +9039,17 @@ ], "type": "object" }, - "io.k8s.api.core.v1.NamespaceList": { - "description": "NamespaceList is a list of Namespaces.", + "io.k8s.api.core.v1.ReplicationControllerList": { + "description": "ReplicationControllerList is a collection of replication controllers.", "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/sig-architecture/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/", + "description": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" }, "type": "array" }, @@ -8730,45 +9069,104 @@ "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "NamespaceList", + "kind": "ReplicationControllerList", "version": "v1" } ] }, - "io.k8s.api.core.v1.NamespaceSpec": { - "description": "NamespaceSpec describes the attributes on a Namespace.", + "io.k8s.api.core.v1.ReplicationControllerSpec": { + "description": "ReplicationControllerSpec is the specification of a replication controller.", "properties": { - "finalizers": { - "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", - "items": { + "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)", + "format": "int32", + "type": "integer" + }, + "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", + "format": "int32", + "type": "integer" + }, + "selector": { + "additionalProperties": { "type": "string" }, - "type": "array" + "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" + }, + "template": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", + "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" } }, "type": "object" }, - "io.k8s.api.core.v1.NamespaceStatus": { - "description": "NamespaceStatus is information about the current status of a Namespace.", + "io.k8s.api.core.v1.ReplicationControllerStatus": { + "description": "ReplicationControllerStatus represents the current status of a replication controller.", "properties": { + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", + "format": "int32", + "type": "integer" + }, "conditions": { - "description": "Represents the latest available observations of a namespace's current state.", + "description": "Represents the latest available observations of a replication controller's current state.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceCondition" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerCondition" }, "type": "array", "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, - "phase": { - "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", + "format": "int32", + "type": "integer" + }, + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", + "format": "int64", + "type": "integer" + }, + "readyReplicas": { + "description": "The number of ready replicas for this replication controller.", + "format": "int32", + "type": "integer" + }, + "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", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "replicas" + ], + "type": "object" + }, + "io.k8s.api.core.v1.ResourceFieldSelector": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "Specifies the output format of the exposed resources, defaults to \"1\"" + }, + "resource": { + "description": "Required: resource to select", "type": "string" } }, + "required": [ + "resource" + ], "type": "object" }, - "io.k8s.api.core.v1.Node": { - "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", + "io.k8s.api.core.v1.ResourceQuota": { + "description": "ResourceQuota sets aggregate quota restrictions enforced per 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -8783,457 +9181,513 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSpec", - "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaSpec", + "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeStatus", - "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaStatus", + "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "Node", + "kind": "ResourceQuota", "version": "v1" } ] }, - "io.k8s.api.core.v1.NodeAddress": { - "description": "NodeAddress contains information for the node's address.", + "io.k8s.api.core.v1.ResourceQuotaList": { + "description": "ResourceQuotaList is a list of ResourceQuota items.", "properties": { - "address": { - "description": "The node address.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "type": { - "description": "Node address type, one of Hostname, ExternalIP or InternalIP.", + "items": { + "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ - "type", - "address" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuotaList", + "version": "v1" + } + ] }, - "io.k8s.api.core.v1.NodeAffinity": { - "description": "Node affinity is a group of node affinity scheduling rules.", + "io.k8s.api.core.v1.ResourceQuotaSpec": { + "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm" + "hard": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, - "type": "array" + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "type": "object" }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "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." + "scopeSelector": { + "$ref": "#/definitions/io.k8s.api.core.v1.ScopeSelector", + "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched." + }, + "scopes": { + "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "io.k8s.api.core.v1.NodeCondition": { - "description": "NodeCondition contains condition information for a node.", + "io.k8s.api.core.v1.ResourceQuotaStatus": { + "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", "properties": { - "lastHeartbeatTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time we got an update on a given condition." + "hard": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "type": "object" }, - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transit from one status to another." + "used": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Used is the current observed total usage of the resource in the namespace.", + "type": "object" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.ResourceRequirements": { + "description": "ResourceRequirements describes the compute resource requirements.", + "properties": { + "limits": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "object" }, - "message": { - "description": "Human readable message indicating details about last transition.", + "requests": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "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" + } + }, + "type": "object" + }, + "io.k8s.api.core.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" }, - "reason": { - "description": "(brief) reason for the condition's last transition.", + "role": { + "description": "Role is a SELinux role label that applies to the container.", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", + "type": { + "description": "Type is a SELinux type label that applies to the container.", "type": "string" }, - "type": { - "description": "Type of node condition.", + "user": { + "description": "User is a SELinux user label that applies to the container.", "type": "string" } }, - "required": [ - "type", - "status" - ], "type": "object" }, - "io.k8s.api.core.v1.NodeConfigSource": { - "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", + "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource": { + "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", "properties": { - "configMap": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapNodeConfigSource", - "description": "ConfigMap is a reference to a Node's ConfigMap" + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"", + "type": "string" + }, + "gateway": { + "description": "The host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "The name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", + "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." + }, + "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 ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "The ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "The name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", + "type": "string" } }, + "required": [ + "gateway", + "system", + "secretRef" + ], "type": "object" }, - "io.k8s.api.core.v1.NodeConfigStatus": { - "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", + "io.k8s.api.core.v1.ScaleIOVolumeSource": { + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", "properties": { - "active": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", - "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error." + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", + "type": "string" }, - "assigned": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", - "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned." + "gateway": { + "description": "The host address of the ScaleIO API Gateway.", + "type": "string" }, - "error": { - "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", + "protectionDomain": { + "description": "The name of the ScaleIO Protection Domain for the configured storage.", "type": "string" }, - "lastKnownGood": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", - "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future." + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." + }, + "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 ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "The ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "The name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", + "type": "string" } }, + "required": [ + "gateway", + "system", + "secretRef" + ], "type": "object" }, - "io.k8s.api.core.v1.NodeDaemonEndpoints": { - "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", + "io.k8s.api.core.v1.ScopeSelector": { + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", "properties": { - "kubeletEndpoint": { - "$ref": "#/definitions/io.k8s.api.core.v1.DaemonEndpoint", - "description": "Endpoint on which Kubelet is listening." + "matchExpressions": { + "description": "A list of scope selector requirements by scope of the resources.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ScopedResourceSelectorRequirement" + }, + "type": "array" } }, "type": "object" }, - "io.k8s.api.core.v1.NodeList": { - "description": "NodeList is the whole list of all Nodes which have been registered with master.", + "io.k8s.api.core.v1.ScopedResourceSelectorRequirement": { + "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", "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/sig-architecture/api-conventions.md#resources", + "operator": { + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", "type": "string" }, - "items": { - "description": "List of nodes", + "scopeName": { + "description": "The name of the scope that the selector applies to.", + "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. This array is replaced during a strategic merge patch.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" + "type": "string" }, "type": "array" + } + }, + "required": [ + "scopeName", + "operator" + ], + "type": "object" + }, + "io.k8s.api.core.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "data": { + "additionalProperties": { + "format": "byte", + "type": "string" + }, + "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" + }, + "immutable": { + "description": "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "stringData": { + "additionalProperties": { + "type": "string" + }, + "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" + }, + "type": { + "description": "Used to facilitate programmatic handling of secret data.", + "type": "string" } }, - "required": [ - "items" - ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "NodeList", + "kind": "Secret", "version": "v1" } ] }, - "io.k8s.api.core.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.", + "io.k8s.api.core.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": { - "nodeSelectorTerms": { - "description": "Required. A list of node selector terms. The terms are ORed.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" - }, - "type": "array" + "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" } }, - "required": [ - "nodeSelectorTerms" - ], "type": "object" }, - "io.k8s.api.core.v1.NodeSelectorRequirement": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "io.k8s.api.core.v1.SecretKeySelector": { + "description": "SecretKeySelector selects a key of a Secret.", "properties": { "key": { - "description": "The label key that the selector applies to.", + "description": "The key of the secret to select from. Must be a valid secret key.", "type": "string" }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "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.", - "items": { - "type": "string" - }, - "type": "array" + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" } }, "required": [ - "key", - "operator" + "key" ], "type": "object" }, - "io.k8s.api.core.v1.NodeSelectorTerm": { - "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "io.k8s.api.core.v1.SecretList": { + "description": "SecretList is a list of Secret.", "properties": { - "matchExpressions": { - "description": "A list of node selector requirements by node's labels.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" }, "type": "array" }, - "matchFields": { - "description": "A list of node selector requirements by node's fields.", + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "SecretList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.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": { + "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 '..'.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" }, "type": "array" + }, + "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 its key must be defined", + "type": "boolean" } }, "type": "object" }, - "io.k8s.api.core.v1.NodeSpec": { - "description": "NodeSpec describes the attributes that a node is created with.", + "io.k8s.api.core.v1.SecretReference": { + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", "properties": { - "configSource": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", - "description": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field" - }, - "externalID": { - "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", - "type": "string" - }, - "podCIDR": { - "description": "PodCIDR represents the pod IP range assigned to the node.", + "name": { + "description": "Name is unique within a namespace to reference a secret resource.", "type": "string" }, - "podCIDRs": { - "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-patch-strategy": "merge" - }, - "providerID": { - "description": "ID of the node assigned by the cloud provider in the format: ://", + "namespace": { + "description": "Namespace defines the space within which the secret name must be unique.", "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.core.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.", + "format": "int32", + "type": "integer" }, - "taints": { - "description": "If specified, the node's taints.", + "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 '..'.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Taint" + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" }, "type": "array" }, - "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", + "optional": { + "description": "Specify whether the Secret or its 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" } }, "type": "object" }, - "io.k8s.api.core.v1.NodeStatus": { - "description": "NodeStatus is information about the current status of a node.", + "io.k8s.api.core.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": { - "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 Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeAddress" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "allocatable": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object" + "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" }, - "capacity": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object" + "capabilities": { + "$ref": "#/definitions/io.k8s.api.core.v1.Capabilities", + "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime." }, - "conditions": { - "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", + "type": "boolean" }, - "config": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigStatus", - "description": "Status of the config assigned to the node via the dynamic Kubelet config feature." + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", + "type": "string" }, - "daemonEndpoints": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints", - "description": "Endpoints of daemons running on the Node." + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false.", + "type": "boolean" }, - "images": { - "description": "List of container images on this node", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerImage" - }, - "type": "array" + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "format": "int64", + "type": "integer" }, - "nodeInfo": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSystemInfo", - "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info" + "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" }, - "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" + "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.", + "format": "int64", + "type": "integer" }, - "volumesAttached": { - "description": "List of volumes that are attached to the node.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.AttachedVolume" - }, - "type": "array" + "seLinuxOptions": { + "$ref": "#/definitions/io.k8s.api.core.v1.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." }, - "volumesInUse": { - "description": "List of attachable volumes in use (mounted) by the node.", - "items": { - "type": "string" - }, - "type": "array" + "windowsOptions": { + "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions", + "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." } }, "type": "object" }, - "io.k8s.api.core.v1.NodeSystemInfo": { - "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", - "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 preferred. 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 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" - } - }, - "required": [ - "machineID", - "systemUUID", - "bootID", - "kernelVersion", - "osImage", - "containerRuntimeVersion", - "kubeletVersion", - "kubeProxyVersion", - "operatingSystem", - "architecture" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ObjectFieldSelector": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ObjectReference": { - "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "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.", - "type": "string" - }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "namespace": { - "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", - "type": "string" - }, - "resourceVersion": { - "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.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", + "io.k8s.api.core.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -9248,30 +9702,41 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", - "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/io.k8s.api.core.v1.ServiceSpec", + "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeStatus", - "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/io.k8s.api.core.v1.ServiceStatus", + "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "PersistentVolume", + "kind": "Service", "version": "v1" } ] }, - "io.k8s.api.core.v1.PersistentVolumeClaim": { - "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", + "io.k8s.api.core.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: https://git.k8s.io/community/contributors/devel/sig-architecture/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: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -9280,67 +9745,36 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec", - "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" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimStatus", - "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" + "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", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "PersistentVolumeClaim", + "kind": "ServiceAccount", "version": "v1" } ] }, - "io.k8s.api.core.v1.PersistentVolumeClaimCondition": { - "description": "PersistentVolumeClaimCondition contails details about state of pvc", - "properties": { - "lastProbeTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time we probed the condition." - }, - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "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" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PersistentVolumeClaimList": { - "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", + "io.k8s.api.core.v1.ServiceAccountList": { + "description": "ServiceAccountList is a list of ServiceAccount 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/sig-architecture/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", + "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" }, "type": "array" }, @@ -9360,109 +9794,44 @@ "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "PersistentVolumeClaimList", + "kind": "ServiceAccountList", "version": "v1" } ] }, - "io.k8s.api.core.v1.PersistentVolumeClaimSpec": { - "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", + "io.k8s.api.core.v1.ServiceAccountTokenProjection": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", "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", - "items": { - "type": "string" - }, - "type": "array" - }, - "dataSource": { - "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", - "description": "This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change." - }, - "resources": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", - "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over volumes to consider for binding." - }, - "storageClassName": { - "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", - "type": "string" - }, - "volumeMode": { - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.", - "type": "string" - }, - "volumeName": { - "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", + "audience": { + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.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", - "items": { - "type": "string" - }, - "type": "array" - }, - "capacity": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Represents the actual resources of the underlying volume.", - "type": "object" }, - "conditions": { - "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "format": "int64", + "type": "integer" }, - "phase": { - "description": "Phase represents the current phase of PersistentVolumeClaim.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.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).", - "properties": { - "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", + "path": { + "description": "Path is the path relative to the mount point of the file to project the token into.", "type": "string" - }, - "readOnly": { - "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" } }, "required": [ - "claimName" + "path" ], "type": "object" }, - "io.k8s.api.core.v1.PersistentVolumeList": { - "description": "PersistentVolumeList is a list of PersistentVolume items.", + "io.k8s.api.core.v1.ServiceList": { + "description": "ServiceList holds a list of services.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", + "description": "List of services", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" }, "type": "array" }, @@ -9482,775 +9851,899 @@ "x-kubernetes-group-version-kind": [ { "group": "", - "kind": "PersistentVolumeList", + "kind": "ServiceList", "version": "v1" } ] }, - "io.k8s.api.core.v1.PersistentVolumeSpec": { - "description": "PersistentVolumeSpec is the specification of a persistent volume.", + "io.k8s.api.core.v1.ServicePort": { + "description": "ServicePort contains information on service's port.", "properties": { - "accessModes": { - "description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes", - "items": { - "type": "string" - }, - "type": "array" - }, - "awsElasticBlockStore": { - "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", - "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" - }, - "azureDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource", - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." - }, - "azureFile": { - "$ref": "#/definitions/io.k8s.api.core.v1.AzureFilePersistentVolumeSource", - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." - }, - "capacity": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object" - }, - "cephfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.CephFSPersistentVolumeSource", - "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime" - }, - "cinder": { - "$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource", - "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" - }, - "claimRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "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" - }, - "csi": { - "$ref": "#/definitions/io.k8s.api.core.v1.CSIPersistentVolumeSource", - "description": "CSI represents storage that is handled by an external CSI driver (Beta feature)." - }, - "fc": { - "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource", - "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." - }, - "flexVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.FlexPersistentVolumeSource", - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." - }, - "flocker": { - "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource", - "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" + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate.", + "type": "string" }, - "gcePersistentDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", - "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" + "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. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.", + "type": "string" }, - "glusterfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource", - "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md" + "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", + "format": "int32", + "type": "integer" }, - "hostPath": { - "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", - "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" + "port": { + "description": "The port that will be exposed by this service.", + "format": "int32", + "type": "integer" }, - "iscsi": { - "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIPersistentVolumeSource", - "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." + "protocol": { + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.", + "type": "string" }, - "local": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalVolumeSource", - "description": "Local represents directly-attached storage with node affinity" + "targetPort": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "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" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "io.k8s.api.core.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" }, - "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", + "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.", "items": { "type": "string" }, "type": "array" }, - "nfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource", - "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + "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 RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName.", + "type": "string" }, - "nodeAffinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeNodeAffinity", - "description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume." + "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" }, - "persistentVolumeReclaimPolicy": { - "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", + "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.", + "format": "int32", + "type": "integer" + }, + "ipFamily": { + "description": "ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is available in the cluster. If no IP family is requested, the cluster's primary IP family will be used. Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which allocate external load-balancers should use the same IP family. Endpoints for this Service will be of this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment.", "type": "string" }, - "photonPersistentDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", - "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" + "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" }, - "portworxVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource", - "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine" + "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/", + "items": { + "type": "string" + }, + "type": "array" }, - "quobyte": { - "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource", - "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime" + "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", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServicePort" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "port", + "x-kubernetes-patch-strategy": "merge" }, - "rbd": { - "$ref": "#/definitions/io.k8s.api.core.v1.RBDPersistentVolumeSource", - "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" + "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.", + "type": "boolean" }, - "scaleIO": { - "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOPersistentVolumeSource", - "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." + "selector": { + "additionalProperties": { + "type": "string" + }, + "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" }, - "storageClassName": { - "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", + "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" }, - "storageos": { - "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource", - "description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" + "sessionAffinityConfig": { + "$ref": "#/definitions/io.k8s.api.core.v1.SessionAffinityConfig", + "description": "sessionAffinityConfig contains the configurations of session affinity." }, - "volumeMode": { - "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.", - "type": "string" + "topologyKeys": { + "description": "topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.", + "items": { + "type": "string" + }, + "type": "array" }, - "vsphereVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", - "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" + "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" } }, "type": "object" }, - "io.k8s.api.core.v1.PersistentVolumeStatus": { - "description": "PersistentVolumeStatus is the current status of a persistent volume.", + "io.k8s.api.core.v1.ServiceStatus": { + "description": "ServiceStatus represents the current status of a service.", "properties": { - "message": { - "description": "A human-readable message indicating details about why the volume is in this state.", - "type": "string" - }, - "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" + "loadBalancer": { + "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", + "description": "LoadBalancer contains the current status of the load-balancer, if one is present." } }, "type": "object" }, - "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource": { - "description": "Represents a Photon Controller persistent disk resource.", + "io.k8s.api.core.v1.SessionAffinityConfig": { + "description": "SessionAffinityConfig represents the configurations of session affinity.", "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" - }, - "pdID": { - "description": "ID that identifies Photon Controller persistent disk", - "type": "string" + "clientIP": { + "$ref": "#/definitions/io.k8s.api.core.v1.ClientIPConfig", + "description": "clientIP contains the configurations of Client IP based session affinity." } }, - "required": [ - "pdID" - ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.StorageOSPersistentVolumeSource": { + "description": "Represents a StorageOS persistent volume 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/sig-architecture/api-conventions.md#resources", + "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec", - "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "volumeName": { + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", + "type": "string" }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" + "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" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Pod", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.core.v1.PodAffinity": { - "description": "Pod affinity is a group of inter pod affinity scheduling rules.", + "io.k8s.api.core.v1.StorageOSVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" - }, - "type": "array" + "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" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" - }, - "type": "array" + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", + "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." + }, + "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" } }, "type": "object" }, - "io.k8s.api.core.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 matches that of any node on which a pod of the set of pods is running", + "io.k8s.api.core.v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", "properties": { - "labelSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over a set of resources, in this case pods." - }, - "namespaces": { - "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"", - "items": { - "type": "string" - }, - "type": "array" + "name": { + "description": "Name of a property to set", + "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. Empty topologyKey is not allowed.", + "value": { + "description": "Value of a property to set", "type": "string" } }, "required": [ - "topologyKey" + "name", + "value" ], "type": "object" }, - "io.k8s.api.core.v1.PodAntiAffinity": { - "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", + "io.k8s.api.core.v1.TCPSocketAction": { + "description": "TCPSocketAction describes an action based on opening a socket", "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" - }, - "type": "array" + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" - }, - "type": "array" + "port": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "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." } }, + "required": [ + "port" + ], "type": "object" }, - "io.k8s.api.core.v1.PodCondition": { - "description": "PodCondition contains details for the current condition of this pod.", + "io.k8s.api.core.v1.Taint": { + "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", "properties": { - "lastProbeTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time we probed the condition." - }, - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "Human-readable message indicating details about last 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": "Unique, one-word, CamelCase reason for the condition's last transition.", + "key": { + "description": "Required. The taint key to be applied to a node.", "type": "string" }, - "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" + "timeAdded": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints." }, - "type": { - "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "value": { + "description": "The taint value corresponding to the taint key.", "type": "string" } }, "required": [ - "type", - "status" + "key", + "effect" ], "type": "object" }, - "io.k8s.api.core.v1.PodDNSConfig": { - "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", + "io.k8s.api.core.v1.Toleration": { + "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", "properties": { - "nameservers": { - "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", - "items": { - "type": "string" - }, - "type": "array" + "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" }, - "options": { - "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfigOption" - }, - "type": "array" + "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" }, - "searches": { - "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodDNSConfigOption": { - "description": "PodDNSConfigOption defines DNS resolver options of a pod.", - "properties": { - "name": { - "description": "Required.", + "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" }, + "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.", + "format": "int64", + "type": "integer" + }, "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" } }, "type": "object" }, - "io.k8s.api.core.v1.PodIP": { - "description": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n IP: An IP address allocated to the pod. Routable at least within the cluster.", + "io.k8s.api.core.v1.TopologySelectorLabelRequirement": { + "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", "properties": { - "ip": { - "description": "ip is an IP address (IPv4 or IPv6) assigned to the pod", + "key": { + "description": "The label key that the selector applies to.", "type": "string" + }, + "values": { + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "key", + "values" + ], "type": "object" }, - "io.k8s.api.core.v1.PodList": { - "description": "PodList is a list of Pods.", + "io.k8s.api.core.v1.TopologySelectorTerm": { + "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "matchLabelExpressions": { + "description": "A list of topology selector requirements by labels.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorLabelRequirement" }, "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.TopologySpreadConstraint": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "properties": { + "labelSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." }, - "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/sig-architecture/api-conventions.md#types-kinds", + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.", + "format": "int32", + "type": "integer" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", + "type": "string" } }, "required": [ - "items" + "maxSkew", + "topologyKey", + "whenUnsatisfiable" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "PodList", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.core.v1.PodReadinessGate": { - "description": "PodReadinessGate contains the reference to a pod condition", + "io.k8s.api.core.v1.TypedLocalObjectReference": { + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "properties": { - "conditionType": { - "description": "ConditionType refers to a condition in the pod's condition list with matching type.", + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "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" } }, "required": [ - "conditionType" + "kind", + "name" ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.core.v1.Volume": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "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.", - "format": "int64", - "type": "integer" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "format": "int64", - "type": "integer" - }, - "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" + "awsElasticBlockStore": { + "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", + "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" }, - "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.", - "format": "int64", - "type": "integer" + "azureDisk": { + "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource", + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." }, - "seLinuxOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.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." + "azureFile": { + "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource", + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." }, - "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.", - "items": { - "format": "int64", - "type": "integer" - }, - "type": "array" + "cephfs": { + "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource", + "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime" }, - "sysctls": { - "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Sysctl" - }, - "type": "array" + "cinder": { + "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource", + "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, - "windowsOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions", - "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodSpec": { - "description": "PodSpec is a description of a pod.", - "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.", - "format": "int64", - "type": "integer" + "configMap": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource", + "description": "ConfigMap represents a configMap that should populate this volume" }, - "affinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.Affinity", - "description": "If specified, the pod's scheduling constraints" + "csi": { + "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource", + "description": "CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature)." }, - "automountServiceAccountToken": { - "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "downwardAPI": { + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource", + "description": "DownwardAPI represents downward API about the pod that should populate this volume" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Container" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "emptyDir": { + "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource", + "description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" }, - "dnsConfig": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfig", - "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy." + "fc": { + "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource", + "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." }, - "dnsPolicy": { - "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", - "type": "string" + "flexVolume": { + "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource", + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." }, - "enableServiceLinks": { - "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.", - "type": "boolean" + "flocker": { + "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource", + "description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running" }, - "ephemeralContainers": { - "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralContainer" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "gcePersistentDisk": { + "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", + "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" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "ip", - "x-kubernetes-patch-strategy": "merge" + "gitRepo": { + "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource", + "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." }, - "hostIPC": { - "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "glusterfs": { + "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource", + "description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, - "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" + "hostPath": { + "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", + "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" }, - "hostPID": { - "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "iscsi": { + "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource", + "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://examples.k8s.io/volumes/iscsi/README.md" }, - "hostname": { - "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", + "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" }, - "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", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "nfs": { + "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource", + "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" }, - "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, Liveness probes, or Startup 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/", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Container" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "persistentVolumeClaim": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource", + "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, - "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" + "photonPersistentDisk": { + "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", + "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" }, - "nodeSelector": { - "additionalProperties": { - "type": "string" - }, - "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" + "portworxVolume": { + "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource", + "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine" }, - "overhead": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.", - "type": "object" + "projected": { + "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource", + "description": "Items for all in one resources secrets, configmaps, and downward API" }, - "preemptionPolicy": { - "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", - "type": "string" + "quobyte": { + "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource", + "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime" }, - "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.", - "format": "int32", - "type": "integer" + "rbd": { + "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource", + "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" }, - "priorityClassName": { - "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being 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.", + "scaleIO": { + "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource", + "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." + }, + "secret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource", + "description": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + }, + "storageos": { + "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource", + "description": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes." + }, + "vsphereVolume": { + "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", + "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.k8s.api.core.v1.VolumeDevice": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", "type": "string" }, - "readinessGates": { - "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodReadinessGate" - }, - "type": "array" + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + }, + "required": [ + "name", + "devicePath" + ], + "type": "object" + }, + "io.k8s.api.core.v1.VolumeMount": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", + "type": "string" }, - "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", + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", "type": "string" }, - "runtimeClassName": { - "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.", + "name": { + "description": "This must match the Name of a Volume.", "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.", + "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" }, - "securityContext": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext", - "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field." + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + }, + "required": [ + "name", + "mountPath" + ], + "type": "object" + }, + "io.k8s.api.core.v1.VolumeNodeAffinity": { + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", + "properties": { + "required": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "Required specifies hard node constraints that must be met." + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.VolumeProjection": { + "description": "Projection that may be projected along with other supported volume types", + "properties": { + "configMap": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection", + "description": "information about the configMap data to project" }, - "serviceAccount": { - "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", + "downwardAPI": { + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIProjection", + "description": "information about the downwardAPI data to project" + }, + "secret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection", + "description": "information about the secret data to project" + }, + "serviceAccountToken": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection", + "description": "information about the serviceAccountToken data to project" + } + }, + "type": "object" + }, + "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { + "description": "Represents a vSphere 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" }, - "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/", + "storagePolicyID": { + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", "type": "string" }, - "shareProcessNamespace": { - "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "storagePolicyName": { + "description": "Storage Policy Based Management (SPBM) profile name.", + "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.", + "volumePath": { + "description": "Path that identifies vSphere volume vmdk", "type": "string" + } + }, + "required": [ + "volumePath" + ], + "type": "object" + }, + "io.k8s.api.core.v1.WeightedPodAffinityTerm": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "properties": { + "podAffinityTerm": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", + "description": "Required. A pod affinity term, associated with the corresponding weight." }, - "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.", - "format": "int64", + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "format": "int32", "type": "integer" + } + }, + "required": [ + "weight", + "podAffinityTerm" + ], + "type": "object" + }, + "io.k8s.api.core.v1.WindowsSecurityContextOptions": { + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" }, - "tolerations": { - "description": "If specified, the pod's tolerations.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" - }, - "type": "array" + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" }, - "topologySpreadConstraints": { - "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is alpha-level and is only honored by clusters that enables the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.", + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the 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": "string" + } + }, + "type": "object" + }, + "io.k8s.api.discovery.v1beta1.Endpoint": { + "description": "Endpoint represents a single logical \"backend\" implementing a service.", + "properties": { + "addresses": { + "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint" + "type": "string" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "topologyKey", - "whenUnsatisfiable" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "topologyKey", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-type": "set" }, - "volumes": { - "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + "conditions": { + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointConditions", + "description": "conditions contains information about the current status of the endpoint." + }, + "hostname": { + "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.", + "type": "string" + }, + "targetRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." + }, + "topology": { + "additionalProperties": { + "type": "string" }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge,retainKeys" + "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.", + "type": "object" } }, "required": [ - "containers" + "addresses" ], "type": "object" }, - "io.k8s.api.core.v1.PodStatus": { - "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", + "io.k8s.api.discovery.v1beta1.EndpointConditions": { + "description": "EndpointConditions represents the current condition of an endpoint.", "properties": { - "conditions": { - "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "ready": { + "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.", + "type": "boolean" + } + }, + "type": "object" + }, + "io.k8s.api.discovery.v1beta1.EndpointPort": { + "description": "EndpointPort represents a Port used by an EndpointSlice", + "properties": { + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.", + "type": "string" }, - "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", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" - }, - "type": "array" + "name": { + "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", + "type": "string" }, - "ephemeralContainerStatuses": { - "description": "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" - }, - "type": "array" + "port": { + "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", + "format": "int32", + "type": "integer" }, - "hostIP": { - "description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.", + "protocol": { + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.discovery.v1beta1.EndpointSlice": { + "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", + "properties": { + "addressType": { + "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.", "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: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "endpoints": { + "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.Endpoint" }, - "type": "array" - }, - "message": { - "description": "A human readable message indicating details about why the pod is in this condition.", - "type": "string" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "nominatedNodeName": { - "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "phase": { - "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", - "type": "string" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." }, - "podIP": { - "description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", + "ports": { + "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointPort" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "addressType", + "endpoints" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.discovery.v1beta1.EndpointSliceList": { + "description": "EndpointSliceList represents a list of endpoint slices", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "podIPs": { - "description": "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.", + "items": { + "description": "List of endpoint slices", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodIP" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" }, "type": "array", - "x-kubernetes-patch-merge-key": "ip", - "x-kubernetes-patch-strategy": "merge" - }, - "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://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md", - "type": "string" + "x-kubernetes-list-type": "set" }, - "reason": { - "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "startTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "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." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata." } }, - "type": "object" + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "discovery.k8s.io", + "kind": "EndpointSliceList", + "version": "v1beta1" + } + ] }, - "io.k8s.api.core.v1.PodTemplate": { - "description": "PodTemplate describes a template for creating copies of a predefined pod.", + "io.k8s.api.events.v1beta1.Event": { + "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", "properties": { + "action": { + "description": "What action was taken/failed regarding to the regarding object.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "deprecatedCount": { + "description": "Deprecated field assuring backward compatibility with core.v1 Event type", + "format": "int32", + "type": "integer" + }, + "deprecatedFirstTimestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Deprecated field assuring backward compatibility with core.v1 Event type" + }, + "deprecatedLastTimestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Deprecated field assuring backward compatibility with core.v1 Event type" + }, + "deprecatedSource": { + "$ref": "#/definitions/io.k8s.api.core.v1.EventSource", + "description": "Deprecated field assuring backward compatibility with core.v1 Event type" + }, + "eventTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "Required. Time when this Event was first observed." + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "note": { + "description": "Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.", + "type": "string" + }, + "reason": { + "description": "Why the action was taken.", + "type": "string" + }, + "regarding": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." + }, + "related": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." + }, + "reportingController": { + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", + "type": "string" + }, + "reportingInstance": { + "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", + "type": "string" + }, + "series": { + "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventSeries", + "description": "Data about the Event series this event represents or nil if it's a singleton Event." + }, + "type": { + "description": "Type of this event (Normal, Warning), new types could be added in the future.", + "type": "string" } }, + "required": [ + "eventTime" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "PodTemplate", - "version": "v1" + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" } ] }, - "io.k8s.api.core.v1.PodTemplateList": { - "description": "PodTemplateList is a list of PodTemplates.", + "io.k8s.api.events.v1beta1.EventList": { + "description": "EventList is a list of Event 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of pod templates", + "description": "Items is a list of schema objects.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" }, "type": "array" }, @@ -10260,7 +10753,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -10269,256 +10762,242 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "PodTemplateList", - "version": "v1" + "group": "events.k8s.io", + "kind": "EventList", + "version": "v1beta1" } ] }, - "io.k8s.api.core.v1.PodTemplateSpec": { - "description": "PodTemplateSpec describes the data a pod should have when created from a template", + "io.k8s.api.events.v1beta1.EventSeries": { + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "count": { + "description": "Number of occurrences in this series up to the last heartbeat time", + "format": "int32", + "type": "integer" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec", - "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "lastObservedTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "Time when last Event from the series was seen before last heartbeat." + }, + "state": { + "description": "Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18", + "type": "string" } }, + "required": [ + "count", + "lastObservedTime", + "state" + ], "type": "object" }, - "io.k8s.api.core.v1.PortworxVolumeSource": { - "description": "PortworxVolumeSource represents a Portworx volume resource.", + "io.k8s.api.extensions.v1beta1.HTTPIngressPath": { + "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "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.", - "type": "string" + "backend": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressBackend", + "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "path": { + "description": "Path is 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 '/'. When unspecified, all paths from incoming requests are matched.", + "type": "string" }, - "volumeID": { - "description": "VolumeID uniquely identifies a Portworx volume", + "pathType": { + "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.", "type": "string" } }, "required": [ - "volumeID" + "backend" ], "type": "object" }, - "io.k8s.api.core.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).", + "io.k8s.api.extensions.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 '#'.", "properties": { - "preference": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm", - "description": "A node selector term, associated with the corresponding weight." - }, - "weight": { - "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "format": "int32", - "type": "integer" + "paths": { + "description": "A collection of paths that map requests to backends.", + "items": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.HTTPIngressPath" + }, + "type": "array" } }, "required": [ - "weight", - "preference" + "paths" ], "type": "object" }, - "io.k8s.api.core.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": { - "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction", - "description": "One and only one of the following should be specified. Exec specifies the action to take." - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" + "io.k8s.api.extensions.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. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "httpGet": { - "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", - "description": "HTTPGet specifies the http request to perform." + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "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", - "format": "int32", - "type": "integer" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" + "spec": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressSpec", + "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" + "status": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressStatus", + "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.extensions.v1beta1.IngressBackend": { + "description": "IngressBackend describes all endpoints for a given service and port.", + "properties": { + "resource": { + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", + "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." }, - "tcpSocket": { - "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", - "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" + "serviceName": { + "description": "Specifies the name of the referenced service.", + "type": "string" }, - "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", - "format": "int32", - "type": "integer" + "servicePort": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "description": "Specifies the port of the referenced service." } }, "type": "object" }, - "io.k8s.api.core.v1.ProjectedVolumeSource": { - "description": "Represents a projected volume source", + "io.k8s.api.extensions.v1beta1.IngressList": { + "description": "IngressList is a collection of Ingress.", "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.", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "sources": { - "description": "list of volume projections", + "items": { + "description": "Items is the list of Ingress.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeProjection" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" }, "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "sources" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "IngressList", + "version": "v1beta1" + } + ] }, - "io.k8s.api.core.v1.QuobyteVolumeSource": { - "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", + "io.k8s.api.extensions.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": { - "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" - }, - "tenant": { - "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", - "type": "string" - }, - "user": { - "description": "User to map volume access to Defaults to serivceaccount user", + "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 RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the 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.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", "type": "string" }, - "volume": { - "description": "Volume is a string that references an already created Quobyte volume by name.", - "type": "string" + "http": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue" } }, - "required": [ - "registry", - "volume" - ], "type": "object" }, - "io.k8s.api.core.v1.RBDPersistentVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "io.k8s.api.extensions.v1beta1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", "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: https://kubernetes.io/docs/concepts/storage/volumes#rbd", - "type": "string" - }, - "image": { - "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" + "backend": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressBackend", + "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." }, - "keyring": { - "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "ingressClassName": { + "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.", "type": "string" }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressRule" }, "type": "array" }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/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: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" - }, - "user": { - "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressTLS" + }, + "type": "array" } }, - "required": [ - "monitors", - "image" - ], "type": "object" }, - "io.k8s.api.core.v1.RBDVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "io.k8s.api.extensions.v1beta1.IngressStatus": { + "description": "IngressStatus describe the current state of the Ingress.", "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: https://kubernetes.io/docs/concepts/storage/volumes#rbd", - "type": "string" - }, - "image": { - "description": "The rados image name. More info: https://examples.k8s.io/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: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "loadBalancer": { + "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", + "description": "LoadBalancer contains the current status of the load-balancer." + } + }, + "type": "object" + }, + "io.k8s.api.extensions.v1beta1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an Ingress.", + "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.", "items": { "type": "string" }, "type": "array" }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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" - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" - }, - "user": { - "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod": { + "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", + "properties": { + "type": { + "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", "type": "string" } }, "required": [ - "monitors", - "image" + "type" ], "type": "object" }, - "io.k8s.api.core.v1.ReplicationController": { - "description": "ReplicationController represents the configuration of a replication controller.", + "io.k8s.api.flowcontrol.v1alpha1.FlowSchema": { + "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "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/sig-architecture/api-conventions.md#resources", @@ -10530,69 +11009,66 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "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/sig-architecture/api-conventions.md#metadata" + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerSpec", - "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec", + "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus", + "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "ReplicationController", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } ] }, - "io.k8s.api.core.v1.ReplicationControllerCondition": { - "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", + "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition": { + "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time the condition transitioned from one status to another." + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." }, "message": { - "description": "A human readable message indicating details about the transition.", + "description": "`message` is a human-readable message indicating details about last transition.", "type": "string" }, "reason": { - "description": "The reason for the condition's last transition.", + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, "status": { - "description": "Status of the condition, one of True, False, Unknown.", + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", "type": "string" }, "type": { - "description": "Type of replication controller condition.", + "description": "`type` is the type of the condition. Required.", "type": "string" } }, - "required": [ - "type", - "status" - ], "type": "object" }, - "io.k8s.api.core.v1.ReplicationControllerList": { - "description": "ReplicationControllerList is a collection of replication controllers.", + "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList": { + "description": "FlowSchemaList is a list of FlowSchema 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", + "description": "`items` is a list of FlowSchemas.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "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/sig-architecture/api-conventions.md#types-kinds", @@ -10600,7 +11076,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" } }, "required": [ @@ -10609,105 +11085,173 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "ReplicationControllerList", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchemaList", + "version": "v1alpha1" } ] }, - "io.k8s.api.core.v1.ReplicationControllerSpec": { - "description": "ReplicationControllerSpec is the specification of a replication controller.", + "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec": { + "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "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)", - "format": "int32", - "type": "integer" + "distinguisherMethod": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod", + "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, - "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", + "matchingPrecedence": { + "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.", "format": "int32", "type": "integer" }, - "selector": { - "additionalProperties": { - "type": "string" - }, - "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" + "priorityLevelConfiguration": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference", + "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "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" + "rules": { + "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, + "required": [ + "priorityLevelConfiguration" + ], "type": "object" }, - "io.k8s.api.core.v1.ReplicationControllerStatus": { - "description": "ReplicationControllerStatus represents the current status of a replication controller.", + "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus": { + "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "format": "int32", - "type": "integer" - }, "conditions": { - "description": "Represents the latest available observations of a replication controller's current state.", + "description": "`conditions` is a list of the current states of FlowSchema.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerCondition" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition" }, "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.GroupSubject": { + "description": "GroupSubject holds detailed information for group-kind subject.", + "properties": { + "name": { + "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.LimitResponse": { + "description": "LimitResponse defines how to handle requests that can not be executed right now.", + "properties": { + "queuing": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration", + "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", + "type": { + "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "queuing": "Queuing" + } + } + ] + }, + "io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration": { + "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?", + "properties": { + "assuredConcurrencyShares": { + "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.", "format": "int32", "type": "integer" }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "The number of ready replicas for this replication controller.", - "format": "int32", - "type": "integer" + "limitResponse": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.LimitResponse", + "description": "`limitResponse` indicates what to do with requests that can not be executed right now" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule": { + "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", + "properties": { + "nonResourceURLs": { + "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" }, - "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", - "format": "int32", - "type": "integer" + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" } }, "required": [ - "replicas" + "verbs", + "nonResourceURLs" ], "type": "object" }, - "io.k8s.api.core.v1.ResourceFieldSelector": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", + "io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects": { + "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" + "nonResourceRules": { + "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "divisor": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "Specifies the output format of the exposed resources, defaults to \"1\"" + "resourceRules": { + "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "resource": { - "description": "Required: resource to select", - "type": "string" + "subjects": { + "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.Subject" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "resource" + "subjects" ], "type": "object" }, - "io.k8s.api.core.v1.ResourceQuota": { - "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration": { + "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "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/sig-architecture/api-conventions.md#resources", @@ -10719,39 +11263,66 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaSpec", - "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec", + "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaStatus", - "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus", + "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "ResourceQuota", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } ] }, - "io.k8s.api.core.v1.ResourceQuotaList": { - "description": "ResourceQuotaList is a list of ResourceQuota items.", + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition": { + "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", + "properties": { + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." + }, + "message": { + "description": "`message` is a human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", + "type": "string" + }, + "type": { + "description": "`type` is the type of the condition. Required.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList": { + "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "description": "`items` is a list of request-priorities.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, "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/sig-architecture/api-conventions.md#types-kinds", @@ -10759,7 +11330,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" } }, "required": [ @@ -10768,226 +11339,207 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "ResourceQuotaList", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfigurationList", + "version": "v1alpha1" } ] }, - "io.k8s.api.core.v1.ResourceQuotaSpec": { - "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference": { + "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { - "hard": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object" - }, - "scopeSelector": { - "$ref": "#/definitions/io.k8s.api.core.v1.ScopeSelector", - "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched." - }, - "scopes": { - "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", - "items": { - "type": "string" - }, - "type": "array" + "name": { + "description": "`name` is the name of the priority level configuration being referenced Required.", + "type": "string" } }, + "required": [ + "name" + ], "type": "object" }, - "io.k8s.api.core.v1.ResourceQuotaStatus": { - "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec": { + "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { - "hard": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object" + "limited": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration", + "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, - "used": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object" + "type": { + "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", + "type": "string" } }, - "type": "object" + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "limited": "Limited" + } + } + ] }, - "io.k8s.api.core.v1.ResourceRequirements": { - "description": "ResourceRequirements describes the compute resource requirements.", + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus": { + "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { - "limits": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object" - }, - "requests": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + "conditions": { + "description": "`conditions` is the current state of \"request-priority\".", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition" }, - "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" + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" } }, "type": "object" }, - "io.k8s.api.core.v1.SELinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", + "io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration": { + "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" + "handSize": { + "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", + "format": "int32", + "type": "integer" }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" + "queueLengthLimit": { + "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", + "format": "int32", + "type": "integer" }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" + "queues": { + "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource": { - "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", + "io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule": { + "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"", - "type": "string" - }, - "gateway": { - "description": "The host address of the ScaleIO API Gateway.", - "type": "string" - }, - "protectionDomain": { - "description": "The name of the ScaleIO Protection Domain for the configured storage.", - "type": "string" - }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." + "apiGroups": { + "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" }, - "sslEnabled": { - "description": "Flag to enable/disable SSL communication with Gateway, default false", + "clusterScope": { + "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", "type": "boolean" }, - "storageMode": { - "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", - "type": "string" - }, - "storagePool": { - "description": "The ScaleIO Storage Pool associated with the protection domain.", - "type": "string" + "namespaces": { + "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" }, - "system": { - "description": "The name of the storage system as configured in ScaleIO.", - "type": "string" + "resources": { + "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" }, - "volumeName": { - "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", - "type": "string" + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" } }, "required": [ - "gateway", - "system", - "secretRef" + "verbs", + "apiGroups", + "resources" ], "type": "object" }, - "io.k8s.api.core.v1.ScaleIOVolumeSource": { - "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", + "io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject": { + "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", - "type": "string" - }, - "gateway": { - "description": "The host address of the ScaleIO API Gateway.", - "type": "string" - }, - "protectionDomain": { - "description": "The name of the ScaleIO Protection Domain for the configured storage.", + "name": { + "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", "type": "string" }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." - }, - "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 ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", + "namespace": { + "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", "type": "string" + } + }, + "required": [ + "namespace", + "name" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.Subject": { + "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", + "properties": { + "group": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.GroupSubject" }, - "storagePool": { - "description": "The ScaleIO Storage Pool associated with the protection domain.", + "kind": { + "description": "Required", "type": "string" }, - "system": { - "description": "The name of the storage system as configured in ScaleIO.", - "type": "string" + "serviceAccount": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject" }, - "volumeName": { - "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", - "type": "string" + "user": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.UserSubject" } }, "required": [ - "gateway", - "system", - "secretRef" + "kind" ], - "type": "object" + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "kind", + "fields-to-discriminateBy": { + "group": "Group", + "serviceAccount": "ServiceAccount", + "user": "User" + } + } + ] }, - "io.k8s.api.core.v1.ScopeSelector": { - "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", + "io.k8s.api.flowcontrol.v1alpha1.UserSubject": { + "description": "UserSubject holds detailed information for user-kind subject.", "properties": { - "matchExpressions": { - "description": "A list of scope selector requirements by scope of the resources.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ScopedResourceSelectorRequirement" - }, - "type": "array" + "name": { + "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", + "type": "string" } }, + "required": [ + "name" + ], "type": "object" }, - "io.k8s.api.core.v1.ScopedResourceSelectorRequirement": { - "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", + "io.k8s.api.networking.v1.IPBlock": { + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") 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.", "properties": { - "operator": { - "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", - "type": "string" - }, - "scopeName": { - "description": "The name of the scope that the selector applies to.", + "cidr": { + "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\"", "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. This array is replaced during a strategic merge patch.", + "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\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR range", "items": { "type": "string" }, @@ -10995,26 +11547,17 @@ } }, "required": [ - "scopeName", - "operator" + "cidr" ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.networking.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "data": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "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" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -11023,73 +11566,71 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "stringData": { - "additionalProperties": { - "type": "string" - }, - "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" - }, - "type": { - "description": "Used to facilitate programmatic handling of secret data.", - "type": "string" + "spec": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicySpec", + "description": "Specification of the desired behavior for this NetworkPolicy." } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "Secret", + "group": "networking.k8s.io", + "kind": "NetworkPolicy", "version": "v1" } ] }, - "io.k8s.api.core.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.", + "io.k8s.api.networking.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": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" + }, + "type": "array" }, - "optional": { - "description": "Specify whether the Secret must be defined", - "type": "boolean" + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" + }, + "type": "array" } }, "type": "object" }, - "io.k8s.api.core.v1.SecretKeySelector": { - "description": "SecretKeySelector selects a key of a Secret.", + "io.k8s.api.networking.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": { - "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" + "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 one item, this rule allows traffic only if the traffic matches at least one item in the from list.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" + }, + "type": "array" }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" + }, + "type": "array" } }, - "required": [ - "key" - ], "type": "object" }, - "io.k8s.api.core.v1.SecretList": { - "description": "SecretList is a list of Secret.", + "io.k8s.api.networking.v1.NetworkPolicyList": { + "description": "NetworkPolicyList is a list of NetworkPolicy 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret", + "description": "Items is a list of schema objects.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" }, "type": "array" }, @@ -11099,7 +11640,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -11108,123 +11649,117 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "SecretList", + "group": "networking.k8s.io", + "kind": "NetworkPolicyList", "version": "v1" } ] }, - "io.k8s.api.core.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.", + "io.k8s.api.networking.v1.NetworkPolicyPeer": { + "description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed", "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 '..'.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" - }, - "type": "array" + "ipBlock": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "namespaceSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector." }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "podSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace." } }, "type": "object" }, - "io.k8s.api.core.v1.SecretReference": { - "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", + "io.k8s.api.networking.v1.NetworkPolicyPort": { + "description": "NetworkPolicyPort describes a port to allow traffic on", "properties": { - "name": { - "description": "Name is unique within a namespace to reference a secret resource.", - "type": "string" + "port": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "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." }, - "namespace": { - "description": "Namespace defines the space within which the secret name must be unique.", + "protocol": { + "description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } }, "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.networking.v1.NetworkPolicySpec": { + "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "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.", - "format": "int32", - "type": "integer" + "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", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyEgressRule" + }, + "type": "array" }, - "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 '..'.", + "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)", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyIngressRule" }, "type": "array" }, - "optional": { - "description": "Specify whether the Secret or its keys must be defined", - "type": "boolean" + "podSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "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." }, - "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" + "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", + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "podSelector" + ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.networking.v1beta1.HTTPIngressPath": { + "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "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": { - "$ref": "#/definitions/io.k8s.api.core.v1.Capabilities", - "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime." - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "backend": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressBackend", + "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", + "path": { + "description": "Path is 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 '/'. When unspecified, all paths from incoming requests are matched.", "type": "string" }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "format": "int64", - "type": "integer" - }, - "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.", - "format": "int64", - "type": "integer" - }, - "seLinuxOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.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." - }, - "windowsOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions", - "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + "pathType": { + "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.", + "type": "string" } }, + "required": [ + "backend" + ], "type": "object" }, - "io.k8s.api.core.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.", + "io.k8s.api.networking.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 '#'.", + "properties": { + "paths": { + "description": "A collection of paths that map requests to backends.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.HTTPIngressPath" + }, + "type": "array" + } + }, + "required": [ + "paths" + ], + "type": "object" + }, + "io.k8s.api.networking.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/sig-architecture/api-conventions.md#resources", @@ -11239,41 +11774,48 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceSpec", - "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressSpec", + "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceStatus", - "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressStatus", + "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "Service", - "version": "v1" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1beta1" } ] }, - "io.k8s.api.core.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", + "io.k8s.api.networking.v1beta1.IngressBackend": { + "description": "IngressBackend describes all endpoints for a given service and port.", + "properties": { + "resource": { + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", + "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." + }, + "serviceName": { + "description": "Specifies the name of the referenced service.", + "type": "string" + }, + "servicePort": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "description": "Specifies the port of the referenced service." + } + }, + "type": "object" + }, + "io.k8s.api.networking.v1beta1.IngressClass": { + "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", "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/sig-architecture/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: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -11282,38 +11824,34 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "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", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "spec": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClassSpec", + "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "ServiceAccount", - "version": "v1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1beta1" } ] }, - "io.k8s.api.core.v1.ServiceAccountList": { - "description": "ServiceAccountList is a list of ServiceAccount objects", + "io.k8s.api.networking.v1beta1.IngressClassList": { + "description": "IngressClassList is a collection of IngressClasses.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "description": "Items is the list of IngressClasses.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "set" }, "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/sig-architecture/api-conventions.md#types-kinds", @@ -11321,7 +11859,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "description": "Standard list metadata." } }, "required": [ @@ -11330,45 +11868,37 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "ServiceAccountList", - "version": "v1" + "group": "networking.k8s.io", + "kind": "IngressClassList", + "version": "v1beta1" } ] }, - "io.k8s.api.core.v1.ServiceAccountTokenProjection": { - "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", + "io.k8s.api.networking.v1beta1.IngressClassSpec": { + "description": "IngressClassSpec provides information about the class of an Ingress.", "properties": { - "audience": { - "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", + "controller": { + "description": "Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", "type": "string" }, - "expirationSeconds": { - "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "format": "int64", - "type": "integer" - }, - "path": { - "description": "Path is the path relative to the mount point of the file to project the token into.", - "type": "string" + "parameters": { + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", + "description": "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." } }, - "required": [ - "path" - ], "type": "object" }, - "io.k8s.api.core.v1.ServiceList": { - "description": "ServiceList holds a list of services.", + "io.k8s.api.networking.v1beta1.IngressList": { + "description": "IngressList is a collection of Ingress.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of services", + "description": "Items is the list of Ingress.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" }, "type": "array" }, @@ -11378,7 +11908,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -11387,775 +11917,488 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "ServiceList", - "version": "v1" + "group": "networking.k8s.io", + "kind": "IngressList", + "version": "v1beta1" } ] }, - "io.k8s.api.core.v1.ServicePort": { - "description": "ServicePort contains information on service's port.", + "io.k8s.api.networking.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": { - "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. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. 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", - "format": "int32", - "type": "integer" - }, - "port": { - "description": "The port that will be exposed by this service.", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.", + "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 RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the 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.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", "type": "string" }, - "targetPort": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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" + "http": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.HTTPIngressRuleValue" } }, - "required": [ - "port" - ], "type": "object" }, - "io.k8s.api.core.v1.ServiceSpec": { - "description": "ServiceSpec describes the attributes that a user creates on a service.", + "io.k8s.api.networking.v1beta1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", "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" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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 RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName.", - "type": "string" - }, - "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" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "ipFamily": { - "description": "ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is available in the cluster. If no IP family is requested, the cluster's primary IP family will be used. Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which allocate external load-balancers should use the same IP family. Endpoints for this Service will be of this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment.", - "type": "string" + "backend": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressBackend", + "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." }, - "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.", + "ingressClassName": { + "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.", "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/", + "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.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressRule" }, "type": "array" }, - "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", + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServicePort" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "port", - "protocol" - ], - "x-kubernetes-list-type": "map", - "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.", - "type": "boolean" - }, - "selector": { - "additionalProperties": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressTLS" }, - "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" - }, - "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" - }, - "sessionAffinityConfig": { - "$ref": "#/definitions/io.k8s.api.core.v1.SessionAffinityConfig", - "description": "sessionAffinityConfig contains the configurations of session affinity." - }, - "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" + "type": "array" } }, "type": "object" }, - "io.k8s.api.core.v1.ServiceStatus": { - "description": "ServiceStatus represents the current status of a service.", + "io.k8s.api.networking.v1beta1.IngressStatus": { + "description": "IngressStatus describe the current state of the Ingress.", "properties": { "loadBalancer": { "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", - "description": "LoadBalancer contains the current status of the load-balancer, if one is present." + "description": "LoadBalancer contains the current status of the load-balancer." } }, "type": "object" }, - "io.k8s.api.core.v1.SessionAffinityConfig": { - "description": "SessionAffinityConfig represents the configurations of session affinity.", + "io.k8s.api.networking.v1beta1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an Ingress.", "properties": { - "clientIP": { - "$ref": "#/definitions/io.k8s.api.core.v1.ClientIPConfig", - "description": "clientIP contains the configurations of Client IP based session affinity." + "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "secretName": { + "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS 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" } }, "type": "object" }, - "io.k8s.api.core.v1.StorageOSPersistentVolumeSource": { - "description": "Represents a StorageOS persistent volume resource.", + "io.k8s.api.node.v1alpha1.Overhead": { + "description": "Overhead structure represents the resource overhead associated with running a pod.", "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": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." - }, - "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" + "podFixed": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "PodFixed represents the fixed resource overhead associated with running a pod.", + "type": "object" } }, "type": "object" }, - "io.k8s.api.core.v1.StorageOSVolumeSource": { - "description": "Represents a StorageOS persistent volume resource.", + "io.k8s.api.node.v1alpha1.RuntimeClass": { + "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." - }, - "volumeName": { - "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", + "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/sig-architecture/api-conventions.md#types-kinds", "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" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.node.v1alpha1.RuntimeClassSpec", + "description": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "type": "object" + "required": [ + "spec" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1alpha1" + } + ] }, - "io.k8s.api.core.v1.Sysctl": { - "description": "Sysctl defines a kernel parameter to be set", + "io.k8s.api.node.v1alpha1.RuntimeClassList": { + "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { - "name": { - "description": "Name of a property to set", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "value": { - "description": "Value of a property to set", + "items": { + "description": "Items is a list of schema objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.node.v1alpha1.RuntimeClass" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "name", - "value" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "node.k8s.io", + "kind": "RuntimeClassList", + "version": "v1alpha1" + } + ] }, - "io.k8s.api.core.v1.TCPSocketAction": { - "description": "TCPSocketAction describes an action based on opening a socket", + "io.k8s.api.node.v1alpha1.RuntimeClassSpec": { + "description": "RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.", "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", + "overhead": { + "$ref": "#/definitions/io.k8s.api.node.v1alpha1.Overhead", + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." + }, + "runtimeHandler": { + "description": "RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable.", "type": "string" }, - "port": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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." + "scheduling": { + "$ref": "#/definitions/io.k8s.api.node.v1alpha1.Scheduling", + "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "required": [ - "port" + "runtimeHandler" ], "type": "object" }, - "io.k8s.api.core.v1.Taint": { - "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", + "io.k8s.api.node.v1alpha1.Scheduling": { + "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { - "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" - }, - "key": { - "description": "Required. The taint key to be applied to a node.", - "type": "string" - }, - "timeAdded": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints." + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", + "type": "object" }, - "value": { - "description": "Required. The taint value corresponding to the taint key.", - "type": "string" + "tolerations": { + "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "required": [ - "key", - "effect" - ], "type": "object" }, - "io.k8s.api.core.v1.Toleration": { - "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", + "io.k8s.api.node.v1beta1.Overhead": { + "description": "Overhead structure represents the resource overhead associated with running a pod.", "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.", + "podFixed": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "PodFixed represents the fixed resource overhead associated with running a pod.", + "type": "object" + } + }, + "type": "object" + }, + "io.k8s.api.node.v1beta1.RuntimeClass": { + "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "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.", + "handler": { + "description": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable.", "type": "string" }, - "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.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "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.", - "format": "int64", - "type": "integer" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "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" + "overhead": { + "$ref": "#/definitions/io.k8s.api.node.v1beta1.Overhead", + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." + }, + "scheduling": { + "$ref": "#/definitions/io.k8s.api.node.v1beta1.Scheduling", + "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, - "type": "object" + "required": [ + "handler" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1beta1" + } + ] }, - "io.k8s.api.core.v1.TopologySelectorLabelRequirement": { - "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", + "io.k8s.api.node.v1beta1.RuntimeClassList": { + "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { - "key": { - "description": "The label key that the selector applies to.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "values": { - "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", + "items": { + "description": "Items is a list of schema objects.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" }, "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "key", - "values" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "node.k8s.io", + "kind": "RuntimeClassList", + "version": "v1beta1" + } + ] }, - "io.k8s.api.core.v1.TopologySelectorTerm": { - "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", + "io.k8s.api.node.v1beta1.Scheduling": { + "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { - "matchLabelExpressions": { - "description": "A list of topology selector requirements by labels.", + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", + "type": "object" + }, + "tolerations": { + "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorLabelRequirement" + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "io.k8s.api.core.v1.TopologySpreadConstraint": { - "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "io.k8s.api.policy.v1beta1.AllowedCSIDriver": { + "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", "properties": { - "labelSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." - }, - "maxSkew": { - "description": "MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.", - "format": "int32", - "type": "integer" - }, - "topologyKey": { - "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", - "type": "string" - }, - "whenUnsatisfiable": { - "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", + "name": { + "description": "Name is the registered name of the CSI driver", "type": "string" } }, "required": [ - "maxSkew", - "topologyKey", - "whenUnsatisfiable" + "name" ], "type": "object" }, - "io.k8s.api.core.v1.TypedLocalObjectReference": { - "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", + "io.k8s.api.policy.v1beta1.AllowedFlexVolume": { + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", + "driver": { + "description": "driver is the name of the Flexvolume driver.", "type": "string" } }, "required": [ - "kind", - "name" + "driver" ], "type": "object" }, - "io.k8s.api.core.v1.Volume": { - "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "io.k8s.api.policy.v1beta1.AllowedHostPath": { + "description": "AllowedHostPath 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": { - "awsElasticBlockStore": { - "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", - "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" - }, - "azureDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource", - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." - }, - "azureFile": { - "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource", - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." - }, - "cephfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource", - "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime" - }, - "cinder": { - "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource", - "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" - }, - "configMap": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource", - "description": "ConfigMap represents a configMap that should populate this volume" + "pathPrefix": { + "description": "pathPrefix 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" }, - "csi": { - "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource", - "description": "CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature)." + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" + } + }, + "type": "object" + }, + "io.k8s.api.policy.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "downwardAPI": { - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource", - "description": "DownwardAPI represents downward API about the pod that should populate this volume" + "deleteOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions", + "description": "DeleteOptions may be provided" }, - "emptyDir": { - "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource", - "description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "fc": { - "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource", - "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." - }, - "flexVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource", - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." - }, - "flocker": { - "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource", - "description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running" - }, - "gcePersistentDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", - "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" - }, - "gitRepo": { - "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource", - "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." - }, - "glusterfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource", - "description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md" - }, - "hostPath": { - "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", - "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" - }, - "iscsi": { - "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource", - "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://examples.k8s.io/volumes/iscsi/README.md" - }, - "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": { - "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource", - "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" - }, - "persistentVolumeClaim": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource", - "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" - }, - "photonPersistentDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", - "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" - }, - "portworxVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource", - "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine" - }, - "projected": { - "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource", - "description": "Items for all in one resources secrets, configmaps, and downward API" - }, - "quobyte": { - "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource", - "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime" - }, - "rbd": { - "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource", - "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" - }, - "scaleIO": { - "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource", - "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." - }, - "secret": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource", - "description": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" - }, - "storageos": { - "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource", - "description": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes." - }, - "vsphereVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", - "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.core.v1.VolumeDevice": { - "description": "volumeDevice describes a mapping of a raw block device within a container.", - "properties": { - "devicePath": { - "description": "devicePath is the path inside of the container that the device will be mapped to.", - "type": "string" - }, - "name": { - "description": "name must match the name of a persistentVolumeClaim in the pod", - "type": "string" - } - }, - "required": [ - "name", - "devicePath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.VolumeMount": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "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, MountPropagationNone is used. This field is beta in 1.10.", - "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" - }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15.", - "type": "string" - } - }, - "required": [ - "name", - "mountPath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.VolumeNodeAffinity": { - "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", - "properties": { - "required": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "description": "Required specifies hard node constraints that must be met." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "ObjectMeta describes the pod that is being evicted." } }, - "type": "object" - }, - "io.k8s.api.core.v1.VolumeProjection": { - "description": "Projection that may be projected along with other supported volume types", - "properties": { - "configMap": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection", - "description": "information about the configMap data to project" - }, - "downwardAPI": { - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIProjection", - "description": "information about the downwardAPI data to project" - }, - "secret": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection", - "description": "information about the secret data to project" - }, - "serviceAccountToken": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection", - "description": "information about the serviceAccountToken data to project" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "Eviction", + "version": "v1beta1" } - }, - "type": "object" + ] }, - "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { - "description": "Represents a vSphere volume resource.", + "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions": { + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "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" - }, - "storagePolicyID": { - "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", - "type": "string" - }, - "storagePolicyName": { - "description": "Storage Policy Based Management (SPBM) profile name.", - "type": "string" + "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. Required for MustRunAs.", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" + }, + "type": "array" }, - "volumePath": { - "description": "Path that identifies vSphere volume vmdk", + "rule": { + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" } }, - "required": [ - "volumePath" - ], "type": "object" }, - "io.k8s.api.core.v1.WeightedPodAffinityTerm": { - "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "io.k8s.api.policy.v1beta1.HostPortRange": { + "description": "HostPortRange 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.", "properties": { - "podAffinityTerm": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", - "description": "Required. A pod affinity term, associated with the corresponding weight." + "max": { + "description": "max is the end of the range, inclusive.", + "format": "int32", + "type": "integer" }, - "weight": { - "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "min": { + "description": "min is the start of the range, inclusive.", "format": "int32", "type": "integer" } }, "required": [ - "weight", - "podAffinityTerm" + "min", + "max" ], "type": "object" }, - "io.k8s.api.core.v1.WindowsSecurityContextOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.", - "type": "string" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1alpha1.Endpoint": { - "description": "Endpoint represents a single logical \"backend\" implementing a service.", + "io.k8s.api.policy.v1beta1.IDRange": { + "description": "IDRange provides a min/max of an allowed range of IDs.", "properties": { - "addresses": { - "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. This allows for cases like dual-stack (IPv4 and IPv6) networking. Consumers (e.g. kube-proxy) must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "conditions": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointConditions", - "description": "conditions contains information about the current status of the endpoint." - }, - "hostname": { - "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.", - "type": "string" - }, - "targetRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." + "max": { + "description": "max is the end of the range, inclusive.", + "format": "int64", + "type": "integer" }, - "topology": { - "additionalProperties": { - "type": "string" - }, - "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.", - "type": "object" + "min": { + "description": "min is the start of the range, inclusive.", + "format": "int64", + "type": "integer" } }, "required": [ - "addresses" + "min", + "max" ], "type": "object" }, - "io.k8s.api.discovery.v1alpha1.EndpointConditions": { - "description": "EndpointConditions represents the current condition of an endpoint.", - "properties": { - "ready": { - "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1alpha1.EndpointPort": { - "description": "EndpointPort represents a Port used by an EndpointSlice", - "properties": { - "name": { - "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass IANA_SVC_NAME validation: * must be no more than 15 characters long * may contain only [-a-z0-9] * must contain at least one letter [a-z] * it must not start or end with a hyphen, nor contain adjacent hyphens Default is empty string.", - "type": "string" - }, - "port": { - "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1alpha1.EndpointSlice": { - "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", + "io.k8s.api.policy.v1beta1.PodDisruptionBudget": { + "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { - "addressType": { - "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. Default is IP", - "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "endpoints": { - "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.Endpoint" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "ports": { - "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointPort" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "spec": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec", + "description": "Specification of the desired behavior of the PodDisruptionBudget." + }, + "status": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus", + "description": "Most recently observed status of the PodDisruptionBudget." } }, - "required": [ - "endpoints" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" } ] }, - "io.k8s.api.discovery.v1alpha1.EndpointSliceList": { - "description": "EndpointSliceList represents a list of endpoint slices", + "io.k8s.api.policy.v1beta1.PodDisruptionBudgetList": { + "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of endpoint slices", "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" }, - "type": "array", - "x-kubernetes-list-type": "set" + "type": "array" }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } }, "required": [ @@ -12164,107 +12407,114 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "discovery.k8s.io", - "kind": "EndpointSliceList", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudgetList", + "version": "v1beta1" } ] }, - "io.k8s.api.events.v1beta1.Event": { - "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", + "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec": { + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "properties": { - "action": { - "description": "What action was taken/failed regarding to the regarding object.", - "type": "string" + "maxUnavailable": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "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\"." }, - "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "minAvailable": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "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%\"." }, - "deprecatedCount": { - "description": "Deprecated field assuring backward compatibility with core.v1 Event type", + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "Label query over pods whose evictions are managed by the disruption budget." + } + }, + "type": "object" + }, + "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus": { + "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", + "properties": { + "currentHealthy": { + "description": "current number of healthy pods", "format": "int32", "type": "integer" }, - "deprecatedFirstTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Deprecated field assuring backward compatibility with core.v1 Event type" + "desiredHealthy": { + "description": "minimum desired number of healthy pods", + "format": "int32", + "type": "integer" }, - "deprecatedLastTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Deprecated field assuring backward compatibility with core.v1 Event type" + "disruptedPods": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "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" }, - "deprecatedSource": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventSource", - "description": "Deprecated field assuring backward compatibility with core.v1 Event type" + "disruptionsAllowed": { + "description": "Number of pod disruptions that are currently allowed.", + "format": "int32", + "type": "integer" }, - "eventTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "Required. Time when this Event was first observed." + "expectedPods": { + "description": "total number of pods counted by this disruption budget", + "format": "int32", + "type": "integer" + }, + "observedGeneration": { + "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "disruptionsAllowed", + "currentHealthy", + "desiredHealthy", + "expectedPods" + ], + "type": "object" + }, + "io.k8s.api.policy.v1beta1.PodSecurityPolicy": { + "description": "PodSecurityPolicy 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "note": { - "description": "Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.", - "type": "string" - }, - "reason": { - "description": "Why the action was taken.", - "type": "string" - }, - "regarding": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." - }, - "related": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." - }, - "reportingController": { - "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", - "type": "string" - }, - "reportingInstance": { - "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", - "type": "string" - }, - "series": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventSeries", - "description": "Data about the Event series this event represents or nil if it's a singleton Event." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "type": { - "description": "Type of this event (Normal, Warning), new types could be added in the future.", - "type": "string" + "spec": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec", + "description": "spec defines the policy enforced." } }, - "required": [ - "eventTime" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "events.k8s.io", - "kind": "Event", + "group": "policy", + "kind": "PodSecurityPolicy", "version": "v1beta1" } ] }, - "io.k8s.api.events.v1beta1.EventList": { - "description": "EventList is a list of Event objects.", + "io.k8s.api.policy.v1beta1.PodSecurityPolicyList": { + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is a list of schema objects.", "items": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" }, "type": "array" }, @@ -12283,79 +12533,267 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "events.k8s.io", - "kind": "EventList", + "group": "policy", + "kind": "PodSecurityPolicyList", "version": "v1beta1" } ] }, - "io.k8s.api.events.v1beta1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", + "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec": { + "description": "PodSecurityPolicySpec defines the policy enforced.", "properties": { - "count": { - "description": "Number of occurrences in this series up to the last heartbeat time", - "format": "int32", - "type": "integer" + "allowPrivilegeEscalation": { + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "type": "boolean" }, - "lastObservedTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "Time when last Event from the series was seen before last heartbeat." + "allowedCSIDrivers": { + "description": "AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedCSIDriver" + }, + "type": "array" }, - "state": { - "description": "Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18", - "type": "string" - } + "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "allowedFlexVolumes": { + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedFlexVolume" + }, + "type": "array" + }, + "allowedHostPaths": { + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedHostPath" + }, + "type": "array" + }, + "allowedProcMountTypes": { + "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", + "items": { + "type": "string" + }, + "type": "array" + }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "items": { + "type": "string" + }, + "type": "array" + }, + "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 capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", + "items": { + "type": "string" + }, + "type": "array" + }, + "defaultAllowPrivilegeEscalation": { + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "boolean" + }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "items": { + "type": "string" + }, + "type": "array" + }, + "fsGroup": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.FSGroupStrategyOptions", + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." + }, + "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.", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.HostPortRange" + }, + "type": "array" + }, + "privileged": { + "description": "privileged determines if a pod can request to be run as privileged.", + "type": "boolean" + }, + "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "runAsGroup": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions", + "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." + }, + "runAsUser": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions", + "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." + }, + "runtimeClass": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions", + "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." + }, + "seLinux": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SELinuxStrategyOptions", + "description": "seLinux is the strategy that will dictate the allowable labels that may be set." + }, + "supplementalGroups": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions", + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." + }, + "volumes": { + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", + "items": { + "type": "string" + }, + "type": "array" + } }, "required": [ - "count", - "lastObservedTime", - "state" + "seLinux", + "runAsUser", + "supplementalGroups", + "fsGroup" ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.AllowedCSIDriver": { - "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", + "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions": { + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", "properties": { - "name": { - "description": "Name is the registered name of the CSI driver", + "ranges": { + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" + }, + "type": "array" + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", "type": "string" } }, "required": [ - "name" + "rule" ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", + "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions": { + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", "properties": { - "driver": { - "description": "driver is the name of the Flexvolume driver.", + "ranges": { + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" + }, + "type": "array" + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", "type": "string" } }, "required": [ - "driver" + "rule" ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.AllowedHostPath": { - "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", + "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions": { + "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", "properties": { - "pathPrefix": { - "description": "pathPrefix 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`", + "allowedRuntimeClassNames": { + "description": "allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.", + "items": { + "type": "string" + }, + "type": "array" + }, + "defaultRuntimeClassName": { + "description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.", + "type": "string" + } + }, + "required": [ + "allowedRuntimeClassNames" + ], + "type": "object" + }, + "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions": { + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", + "properties": { + "rule": { + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, - "readOnly": { - "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "seLinuxOptions": { + "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions", + "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" + } + }, + "required": [ + "rule" + ], + "type": "object" + }, + "io.k8s.api.policy.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. Required for MustRunAs.", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" + }, + "type": "array" + }, + "rule": { + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "type": "string" } }, "type": "object" }, - "io.k8s.api.extensions.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.", + "io.k8s.api.rbac.v1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "properties": { + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.rbac.v1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "properties": { + "aggregationRule": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.AggregationRule", + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the 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/sig-architecture/api-conventions.md#resources", "type": "string" @@ -12366,67 +12804,75 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetSpec", - "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "description": "Standard object's metadata." }, - "status": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + }, + "type": "array" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" } ] }, - "io.k8s.api.extensions.v1beta1.DaemonSetCondition": { - "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", + "io.k8s.api.rbac.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.", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." }, - "type": { - "description": "Type of DaemonSet condition.", - "type": "string" + "roleRef": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef", + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" + }, + "type": "array" } }, "required": [ - "type", - "status" + "roleRef" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + ] }, - "io.k8s.api.extensions.v1beta1.DaemonSetList": { - "description": "DaemonSetList is a collection of daemon sets.", + "io.k8s.api.rbac.v1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "A list of daemon sets.", + "description": "Items is a list of ClusterRoleBindings", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" }, "type": "array" }, @@ -12436,7 +12882,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." } }, "required": [ @@ -12445,129 +12891,93 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "DaemonSetList", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", + "version": "v1" } ] }, - "io.k8s.api.extensions.v1beta1.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", + "io.k8s.api.rbac.v1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles", "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).", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "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" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "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" + "items": { + "description": "Items is a list of ClusterRoles", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + }, + "type": "array" }, - "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.", - "format": "int64", - "type": "integer" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "updateStrategy": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetUpdateStrategy", - "description": "An update strategy to replace existing DaemonSet pods with new pods." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." } }, "required": [ - "template" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1" + } + ] }, - "io.k8s.api.extensions.v1beta1.DaemonSetStatus": { - "description": "DaemonSetStatus represents the current status of a daemon set.", + "io.k8s.api.rbac.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.", "properties": { - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a DaemonSet's current state.", + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetCondition" + "type": "string" }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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/", - "format": "int32", - "type": "integer" - }, - "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)", - "format": "int32", - "type": "integer" - }, - "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/", - "format": "int32", - "type": "integer" + "type": "array" }, - "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.", - "format": "int32", - "type": "integer" + "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.", + "items": { + "type": "string" + }, + "type": "array" }, - "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)", - "format": "int32", - "type": "integer" + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "items": { + "type": "string" + }, + "type": "array" }, - "observedGeneration": { - "description": "The most recent generation observed by the daemon set controller.", - "format": "int64", - "type": "integer" + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + "items": { + "type": "string" + }, + "type": "array" }, - "updatedNumberScheduled": { - "description": "The total number of nodes that are running updated daemon pod", - "format": "int32", - "type": "integer" + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "currentNumberScheduled", - "numberMisscheduled", - "desiredNumberScheduled", - "numberReady" + "verbs" ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.DaemonSetUpdateStrategy": { - "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RollingUpdateDaemonSet", - "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." - }, - "type": { - "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.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.", + "io.k8s.api.rbac.v1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "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/sig-architecture/api-conventions.md#resources", @@ -12579,361 +12989,234 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata." - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentSpec", - "description": "Specification of the desired behavior of the Deployment." + "description": "Standard object's metadata." }, - "status": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentStatus", - "description": "Most recently observed status of the Deployment." + "rules": { + "description": "Rules holds all the PolicyRules for this Role", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + }, + "type": "array" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" } ] }, - "io.k8s.api.extensions.v1beta1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "lastUpdateTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time this condition was updated." - }, - "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" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", + "io.k8s.api.rbac.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.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is the list of Deployments.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" - }, - "type": "array" - }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." - } + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." + }, + "roleRef": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.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." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" + }, + "type": "array" + } }, "required": [ - "items" + "roleRef" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "DeploymentList", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" } ] }, - "io.k8s.api.extensions.v1beta1.DeploymentRollback": { - "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", + "io.k8s.api.rbac.v1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of RoleBindings", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "name": { - "description": "Required: This must match the Name of a deployment.", - "type": "string" - }, - "rollbackTo": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RollbackConfig", - "description": "The config of this deployment rollback." - }, - "updatedAnnotations": { - "additionalProperties": { - "type": "string" - }, - "description": "The annotations to be updated to a deployment", - "type": "object" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." } }, "required": [ - "name", - "rollbackTo" + "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "DeploymentRollback", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", + "version": "v1" } ] }, - "io.k8s.api.extensions.v1beta1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "io.k8s.api.rbac.v1.RoleList": { + "description": "RoleList is a collection of Roles", "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)", - "format": "int32", - "type": "integer" - }, - "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 set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\".", - "format": "int32", - "type": "integer" - }, - "rollbackTo": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RollbackConfig", - "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." + "items": { + "description": "Items is a list of Roles", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + }, + "type": "array" }, - "strategy": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentStrategy", - "description": "The deployment strategy to use to replace existing pods with new ones.", - "x-kubernetes-patch-strategy": "retainKeys" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "Template describes the pods that will be created." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." } }, "required": [ - "template" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1" + } + ] }, - "io.k8s.api.extensions.v1beta1.DeploymentStatus": { - "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "io.k8s.api.rbac.v1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", "properties": { - "availableReplicas": { - "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "format": "int32", - "type": "integer" + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", + "type": "string" }, - "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.", - "format": "int32", - "type": "integer" + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "format": "int32", - "type": "integer" + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" } }, + "required": [ + "apiGroup", + "kind", + "name" + ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", + "io.k8s.api.rbac.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.", "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RollingUpdateDeployment", - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." + "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" }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", + "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" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", - "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. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" - }, - "type": "array" }, - "rule": { - "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "name": { + "description": "Name of the object being referenced.", "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", - "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressBackend", - "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, - "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.", + "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" } }, "required": [ - "backend" + "kind", + "name" ], "type": "object" }, - "io.k8s.api.extensions.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 '#'.", + "io.k8s.api.rbac.v1alpha1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { - "paths": { - "description": "A collection of paths that map requests to backends.", + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.HTTPIngressPath" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "type": "array" } }, - "required": [ - "paths" - ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.HostPortRange": { - "description": "HostPortRange 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. Deprecated: use HostPortRange from policy API Group instead.", + "io.k8s.api.rbac.v1alpha1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int32", - "type": "integer" + "aggregationRule": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.AggregationRule", + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "min", - "max" - ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IDRange": { - "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", - "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int64", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "min", - "max" - ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IPBlock": { - "description": "DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. 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.", - "properties": { - "cidr": { - "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", + "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/sig-architecture/api-conventions.md#types-kinds", "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", + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." + }, + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.PolicyRule" }, "type": "array" } }, - "required": [ - "cidr" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + ] }, - "io.k8s.api.extensions.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. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.", + "io.k8s.api.rbac.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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -12945,55 +13228,78 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressSpec", - "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "roleRef": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleRef", + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." }, - "status": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressStatus", - "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.Subject" + }, + "type": "array" } }, + "required": [ + "roleRef" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" } ] }, - "io.k8s.api.extensions.v1beta1.IngressBackend": { - "description": "IngressBackend describes all endpoints for a given service and port.", + "io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.", "properties": { - "serviceName": { - "description": "Specifies the name of the referenced service.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "servicePort": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "Specifies the port of the referenced service." + "items": { + "description": "Items is a list of ClusterRoleBindings", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." } }, "required": [ - "serviceName", - "servicePort" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", + "version": "v1alpha1" + } + ] }, - "io.k8s.api.extensions.v1beta1.IngressList": { - "description": "IngressList is a collection of Ingress.", + "io.k8s.api.rbac.v1alpha1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of Ingress.", + "description": "Items is a list of ClusterRoles", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" }, "type": "array" }, @@ -13003,7 +13309,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." } }, "required": [ @@ -13012,78 +13318,58 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "IngressList", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1alpha1" } ] }, - "io.k8s.api.extensions.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/io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", + "io.k8s.api.rbac.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.", "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressBackend", - "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." + "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.", + "items": { + "type": "string" + }, + "type": "array" }, - "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.", + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressRule" + "type": "string" }, "type": "array" }, - "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.", + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressTLS" + "type": "string" }, "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", - "description": "LoadBalancer contains the current status of the load-balancer." - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", - "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.", + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", "items": { "type": "string" }, "type": "array" }, - "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" + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "verbs" + ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.NetworkPolicy": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods", + "io.k8s.api.rbac.v1alpha1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -13095,73 +13381,75 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicySpec", - "description": "Specification of the desired behavior for this NetworkPolicy." + "rules": { + "description": "Rules holds all the PolicyRules for this Role", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.PolicyRule" + }, + "type": "array" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" } ] }, - "io.k8s.api.extensions.v1beta1.NetworkPolicyEgressRule": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. 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", + "io.k8s.api.rbac.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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyPort" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyPeer" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.NetworkPolicyIngressRule": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. 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 one item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyPeer" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#types-kinds", + "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 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.", + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." + }, + "roleRef": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.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." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyPort" + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.Subject" }, "type": "array" } }, - "type": "object" + "required": [ + "roleRef" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + ] }, - "io.k8s.api.extensions.v1beta1.NetworkPolicyList": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.", + "io.k8s.api.rbac.v1alpha1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "Items is a list of RoleBindings", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleBinding" }, "type": "array" }, @@ -13171,7 +13459,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." } }, "required": [ @@ -13180,80 +13468,147 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "NetworkPolicyList", - "version": "v1beta1" - } - ] + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", + "version": "v1alpha1" + } + ] }, - "io.k8s.api.extensions.v1beta1.NetworkPolicyPeer": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", + "io.k8s.api.rbac.v1alpha1.RoleList": { + "description": "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "properties": { - "ipBlock": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IPBlock", - "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector." + "items": { + "description": "Items is a list of Roles", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.Role" + }, + "type": "array" }, - "podSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace." + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.rbac.v1alpha1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", + "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" } }, + "required": [ + "apiGroup", + "kind", + "name" + ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.NetworkPolicyPort": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.", + "io.k8s.api.rbac.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.", "properties": { - "port": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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." + "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" }, - "protocol": { - "description": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", + "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" } }, + "required": [ + "kind", + "name" + ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.NetworkPolicySpec": { - "description": "DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.", + "io.k8s.api.rbac.v1beta1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { - "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", + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyEgressRule" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "type": "array" + } + }, + "type": "object" + }, + "io.k8s.api.rbac.v1beta1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", + "properties": { + "aggregationRule": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.AggregationRule", + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, - "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).", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyIngressRule" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "podSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "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." + "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/sig-architecture/api-conventions.md#types-kinds", + "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", + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." + }, + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.PolicyRule" }, "type": "array" } }, - "required": [ - "podSelector" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + ] }, - "io.k8s.api.extensions.v1beta1.PodSecurityPolicy": { - "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", + "io.k8s.api.rbac.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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -13265,33 +13620,43 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec", - "description": "spec defines the policy enforced." + "roleRef": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleRef", + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Subject" + }, + "type": "array" } }, + "required": [ + "roleRef" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "PodSecurityPolicy", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1beta1" } ] }, - "io.k8s.api.extensions.v1beta1.PodSecurityPolicyList": { - "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", + "io.k8s.api.rbac.v1beta1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is a list of schema objects.", + "description": "Items is a list of ClusterRoleBindings", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" }, "type": "array" }, @@ -13301,7 +13666,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." } }, "required": [ @@ -13310,139 +13675,80 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "PodSecurityPolicyList", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", "version": "v1beta1" } ] }, - "io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec": { - "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", + "io.k8s.api.rbac.v1beta1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "properties": { - "allowPrivilegeEscalation": { - "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" - }, - "allowedCSIDrivers": { - "description": "AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.AllowedCSIDriver" - }, - "type": "array" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedFlexVolumes": { - "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.AllowedFlexVolume" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "allowedHostPaths": { - "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "items": { + "description": "Items is a list of ClusterRoles", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.AllowedHostPath" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" }, "type": "array" }, - "allowedProcMountTypes": { - "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", - "items": { - "type": "string" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "allowedUnsafeSysctls": { - "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.rbac.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.", + "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.", "items": { "type": "string" }, "type": "array" }, - "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 capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", + "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.", "items": { "type": "string" }, "type": "array" }, - "defaultAllowPrivilegeEscalation": { - "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" - }, - "forbiddenSysctls": { - "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", "items": { "type": "string" }, "type": "array" }, - "fsGroup": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.FSGroupStrategyOptions", - "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." - }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.HostPortRange" - }, - "type": "array" - }, - "privileged": { - "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" - }, - "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.", + "resources": { + "description": "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.", "items": { "type": "string" }, "type": "array" }, - "runAsGroup": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions", - "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." - }, - "runAsUser": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions", - "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." - }, - "runtimeClass": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RuntimeClassStrategyOptions", - "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." - }, - "seLinux": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions", - "description": "seLinux is the strategy that will dictate the allowable labels that may be set." - }, - "supplementalGroups": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.SupplementalGroupsStrategyOptions", - "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." - }, - "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", "items": { "type": "string" }, @@ -13450,15 +13756,12 @@ } }, "required": [ - "seLinux", - "runAsUser", - "supplementalGroups", - "fsGroup" + "verbs" ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.ReplicaSet": { - "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.", + "io.k8s.api.rbac.v1beta1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -13470,67 +13773,75 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "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/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSetSpec", - "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "description": "Standard object's metadata." }, - "status": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" + "rules": { + "description": "Rules holds all the PolicyRules for this Role", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.PolicyRule" + }, + "type": "array" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "ReplicaSet", + "group": "rbac.authorization.k8s.io", + "kind": "Role", "version": "v1beta1" } ] }, - "io.k8s.api.extensions.v1beta1.ReplicaSetCondition": { - "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", + "io.k8s.api.rbac.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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time the condition transitioned from one status to another." - }, - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." }, - "type": { - "description": "Type of replica set condition.", - "type": "string" + "roleRef": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.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." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Subject" + }, + "type": "array" } }, "required": [ - "type", - "status" + "roleRef" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + ] }, - "io.k8s.api.extensions.v1beta1.ReplicaSetList": { - "description": "ReplicaSetList is a collection of ReplicaSets.", + "io.k8s.api.rbac.v1beta1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", + "description": "Items is a list of RoleBindings", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" }, "type": "array" }, @@ -13540,7 +13851,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + "description": "Standard object's metadata." } }, "required": [ @@ -13549,304 +13860,271 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "ReplicaSetList", + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", "version": "v1beta1" } ] }, - "io.k8s.api.extensions.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)", - "format": "int32", - "type": "integer" - }, - "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", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "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" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "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" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "io.k8s.api.rbac.v1beta1.RoleList": { + "description": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", + "items": { + "description": "Items is a list of Roles", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSetCondition" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" }, - "type": "array", - "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.", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "format": "int64", - "type": "integer" + "type": "array" }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "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", - "format": "int32", - "type": "integer" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." } }, "required": [ - "replicas" + "items" ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.RollbackConfig": { - "description": "DEPRECATED.", - "properties": { - "revision": { - "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "format": "int64", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.RollingUpdateDaemonSet": { - "description": "Spec to control the desired behavior of daemon set rolling update.", - "properties": { - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1beta1" } - }, - "type": "object" + ] }, - "io.k8s.api.extensions.v1beta1.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", + "io.k8s.api.rbac.v1beta1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", "properties": { - "maxSurge": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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 at most 130% of desired pods." + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", + "type": "string" }, - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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." + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" } }, + "required": [ + "apiGroup", + "kind", + "name" + ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions": { - "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.", + "io.k8s.api.rbac.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.", "properties": { - "ranges": { - "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" - }, - "type": "array" + "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" }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "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" } }, "required": [ - "rule" + "kind", + "name" ], "type": "object" }, - "io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions": { - "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", + "io.k8s.api.scheduling.v1.PriorityClass": { + "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { - "ranges": { - "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "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. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "preemptionPolicy": { + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", "type": "string" + }, + "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.", + "format": "int32", + "type": "integer" } }, "required": [ - "rule" + "value" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + ] }, - "io.k8s.api.extensions.v1beta1.RuntimeClassStrategyOptions": { - "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", + "io.k8s.api.scheduling.v1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", "properties": { - "allowedRuntimeClassNames": { - "description": "allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of PriorityClasses", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" }, "type": "array" }, - "defaultRuntimeClassName": { - "description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.", - "type": "string" - } - }, - "required": [ - "allowedRuntimeClassNames" - ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions": { - "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", - "properties": { - "rule": { - "description": "rule is the strategy that will dictate the allowable labels that may be set.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "seLinuxOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions", - "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "rule" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1" + } + ] }, - "io.k8s.api.extensions.v1beta1.Scale": { - "description": "represents a scaling request for a resource.", + "io.k8s.api.scheduling.v1alpha1.PriorityClass": { + "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "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/sig-architecture/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. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + "preemptionPolicy": { + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", + "type": "string" }, - "status": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." + "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.", + "format": "int32", + "type": "integer" } }, + "required": [ + "value" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } ] }, - "io.k8s.api.extensions.v1beta1.ScaleSpec": { - "description": "describes the attributes of a scale subresource", - "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.ScaleStatus": { - "description": "represents the current status of a scale subresource.", + "io.k8s.api.scheduling.v1alpha1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "format": "int32", - "type": "integer" - }, - "selector": { - "additionalProperties": { - "type": "string" - }, - "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object" - }, - "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", + "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/sig-architecture/api-conventions.md#resources", "type": "string" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", - "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. Required for MustRunAs.", + }, + "items": { + "description": "items is the list of PriorityClasses", "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" }, "type": "array" }, - "rule": { - "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.networking.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.", - "properties": { - "cidr": { - "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", + "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/sig-architecture/api-conventions.md#types-kinds", "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", - "items": { - "type": "string" - }, - "type": "array" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "cidr" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1alpha1" + } + ] }, - "io.k8s.api.networking.v1.NetworkPolicy": { - "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", + "io.k8s.api.scheduling.v1beta1.PriorityClass": { + "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "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/sig-architecture/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. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -13855,62 +14133,92 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicySpec", - "description": "Specification of the desired behavior for this NetworkPolicy." + "preemptionPolicy": { + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", + "type": "string" + }, + "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.", + "format": "int32", + "type": "integer" } }, + "required": [ + "value" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" } ] }, - "io.k8s.api.networking.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", + "io.k8s.api.scheduling.v1beta1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "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.", + "items": { + "description": "items is the list of PriorityClasses", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" }, "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, - "type": "object" + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1beta1" + } + ] }, - "io.k8s.api.networking.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.", + "io.k8s.api.settings.v1alpha1.PodPreset": { + "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", "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 one item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" - }, - "type": "array" + "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/sig-architecture/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 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.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetSpec" } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + ] }, - "io.k8s.api.networking.v1.NetworkPolicyList": { - "description": "NetworkPolicyList is a list of NetworkPolicy objects.", + "io.k8s.api.settings.v1alpha1.PodPresetList": { + "description": "PodPresetList is a list of PodPreset 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/sig-architecture/api-conventions.md#resources", @@ -13919,7 +14227,7 @@ "items": { "description": "Items is a list of schema objects.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" }, "type": "array" }, @@ -13938,113 +14246,141 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "NetworkPolicyList", - "version": "v1" + "group": "settings.k8s.io", + "kind": "PodPresetList", + "version": "v1alpha1" } ] }, - "io.k8s.api.networking.v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed", - "properties": { - "ipBlock": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock", - "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." - }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector." - }, - "podSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicyPort": { - "description": "NetworkPolicyPort describes a port to allow traffic on", - "properties": { - "port": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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." - }, - "protocol": { - "description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicySpec": { - "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", + "io.k8s.api.settings.v1alpha1.PodPresetSpec": { + "description": "PodPresetSpec is a description of a pod preset.", "properties": { - "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", + "env": { + "description": "Env defines the collection of EnvVar to inject into containers.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyEgressRule" + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" }, "type": "array" }, - "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)", + "envFrom": { + "description": "EnvFrom defines the collection of EnvFromSource to inject into containers.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyIngressRule" + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" }, "type": "array" }, - "podSelector": { + "selector": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "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." + "description": "Selector is a label query over a set of resources, in this case pods. Required." }, - "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", + "volumeMounts": { + "description": "VolumeMounts defines the collection of VolumeMount to inject into containers.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "type": "array" + }, + "volumes": { + "description": "Volumes defines the collection of Volume to inject into the pod.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" }, "type": "array" } }, - "required": [ - "podSelector" - ], "type": "object" }, - "io.k8s.api.networking.v1beta1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", + "io.k8s.api.storage.v1.CSIDriver": { + "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressBackend", - "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." + "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/sig-architecture/api-conventions.md#resources", + "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 is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverSpec", + "description": "Specification of the CSI Driver." } }, "required": [ - "backend" + "spec" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + ] }, - "io.k8s.api.networking.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 '#'.", + "io.k8s.api.storage.v1.CSIDriverList": { + "description": "CSIDriverList is a collection of CSIDriver objects.", "properties": { - "paths": { - "description": "A collection of paths that map requests to backends.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of CSIDriver", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.HTTPIngressPath" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" }, "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "paths" + "items" ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSIDriverList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSIDriverSpec": { + "description": "CSIDriverSpec is the specification of a CSIDriver.", + "properties": { + "attachRequired": { + "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.", + "type": "boolean" + }, + "podInfoOnMount": { + "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.", + "type": "boolean" + }, + "volumeLifecycleModes": { + "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, "type": "object" }, - "io.k8s.api.networking.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.", + "io.k8s.api.storage.v1.CSINode": { + "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14056,55 +14392,65 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "metadata.name must be the Kubernetes node name." }, "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressSpec", - "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressStatus", - "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeSpec", + "description": "spec is the specification of CSINode" } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } ] }, - "io.k8s.api.networking.v1beta1.IngressBackend": { - "description": "IngressBackend describes all endpoints for a given service and port.", + "io.k8s.api.storage.v1.CSINodeDriver": { + "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", "properties": { - "serviceName": { - "description": "Specifies the name of the referenced service.", + "allocatable": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeNodeResources", + "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta." + }, + "name": { + "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", "type": "string" }, - "servicePort": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "Specifies the port of the referenced service." + "nodeID": { + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", + "type": "string" + }, + "topologyKeys": { + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "serviceName", - "servicePort" + "name", + "nodeID" ], "type": "object" }, - "io.k8s.api.networking.v1beta1.IngressList": { - "description": "IngressList is a collection of Ingress.", + "io.k8s.api.storage.v1.CSINodeList": { + "description": "CSINodeList is a collection of CSINode 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of Ingress.", + "description": "items is the list of CSINode", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" }, "type": "array" }, @@ -14114,7 +14460,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -14123,91 +14469,132 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IngressList", - "version": "v1beta1" - } + "group": "storage.k8s.io", + "kind": "CSINodeList", + "version": "v1" + } ] }, - "io.k8s.api.networking.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.", + "io.k8s.api.storage.v1.CSINodeSpec": { + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", "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/io.k8s.api.networking.v1beta1.HTTPIngressRuleValue" + "drivers": { + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeDriver" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" } }, + "required": [ + "drivers" + ], "type": "object" }, - "io.k8s.api.networking.v1beta1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", + "io.k8s.api.storage.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.", "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressBackend", - "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." + "allowVolumeExpansion": { + "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", + "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.", + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressRule" + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" }, "type": "array" }, - "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.", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressTLS" + "type": "string" }, "type": "array" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", + "type": "object" + }, + "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" + }, + "volumeBindingMode": { + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "string" } }, - "type": "object" - }, - "io.k8s.api.networking.v1beta1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", - "description": "LoadBalancer contains the current status of the load-balancer." + "required": [ + "provisioner" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } - }, - "type": "object" + ] }, - "io.k8s.api.networking.v1beta1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", + "io.k8s.api.storage.v1.StorageClassList": { + "description": "StorageClassList is a collection of storage classes.", "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.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of StorageClasses", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" }, "type": "array" }, - "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.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, - "type": "object" - }, - "io.k8s.api.node.v1alpha1.Overhead": { - "description": "Overhead structure represents the resource overhead associated with running a pod.", - "properties": { - "podFixed": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "PodFixed represents the fixed resource overhead associated with running a pod.", - "type": "object" + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "StorageClassList", + "version": "v1" } - }, - "type": "object" + ] }, - "io.k8s.api.node.v1alpha1.RuntimeClass": { - "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", + "io.k8s.api.storage.v1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "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/sig-architecture/api-conventions.md#resources", @@ -14219,11 +14606,15 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.node.v1alpha1.RuntimeClassSpec", - "description": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSpec", + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." + }, + "status": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentStatus", + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "required": [ @@ -14232,23 +14623,23 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" } ] }, - "io.k8s.api.node.v1alpha1.RuntimeClassList": { - "description": "RuntimeClassList is a list of RuntimeClass objects.", + "io.k8s.api.storage.v1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "Items is the list of VolumeAttachments", "items": { - "$ref": "#/definitions/io.k8s.api.node.v1alpha1.RuntimeClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" }, "type": "array" }, @@ -14258,7 +14649,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -14267,118 +14658,149 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "node.k8s.io", - "kind": "RuntimeClassList", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1" } ] }, - "io.k8s.api.node.v1alpha1.RuntimeClassSpec": { - "description": "RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.", + "io.k8s.api.storage.v1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", "properties": { - "overhead": { - "$ref": "#/definitions/io.k8s.api.node.v1alpha1.Overhead", - "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." + "inlineVolumeSpec": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", + "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, - "runtimeHandler": { - "description": "RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable.", + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.storage.v1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", "type": "string" }, - "scheduling": { - "$ref": "#/definitions/io.k8s.api.node.v1alpha1.Scheduling", - "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSource", + "description": "Source represents the volume that should be attached." } }, "required": [ - "runtimeHandler" + "attacher", + "source", + "nodeName" ], "type": "object" }, - "io.k8s.api.node.v1alpha1.Scheduling": { - "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", + "io.k8s.api.storage.v1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "properties": { - "nodeSelector": { + "attachError": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError", + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." + }, + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { "additionalProperties": { "type": "string" }, - "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", "type": "object" }, - "tolerations": { - "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "detachError": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError", + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, + "required": [ + "attached" + ], "type": "object" }, - "io.k8s.api.node.v1beta1.Overhead": { - "description": "Overhead structure represents the resource overhead associated with running a pod.", + "io.k8s.api.storage.v1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", "properties": { - "podFixed": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "PodFixed represents the fixed resource overhead associated with running a pod.", - "type": "object" + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", + "type": "string" + }, + "time": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Time the error was encountered." } }, "type": "object" }, - "io.k8s.api.node.v1beta1.RuntimeClass": { - "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", + "io.k8s.api.storage.v1.VolumeNodeResources": { + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", + "properties": { + "count": { + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "io.k8s.api.storage.v1alpha1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "handler": { - "description": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable.", - "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "overhead": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.Overhead", - "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." + "spec": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec", + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, - "scheduling": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.Scheduling", - "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." + "status": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus", + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "required": [ - "handler" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1alpha1" } ] }, - "io.k8s.api.node.v1beta1.RuntimeClassList": { - "description": "RuntimeClassList is a list of RuntimeClass objects.", + "io.k8s.api.storage.v1alpha1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "Items is the list of VolumeAttachments", "items": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachment" }, "type": "array" }, @@ -14388,7 +14810,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -14397,161 +14819,93 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "node.k8s.io", - "kind": "RuntimeClassList", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1alpha1" } ] }, - "io.k8s.api.node.v1beta1.Scheduling": { - "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", + "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", "properties": { - "nodeSelector": { - "additionalProperties": { - "type": "string" - }, - "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", - "type": "object" + "inlineVolumeSpec": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", + "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, - "tolerations": { - "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.policy.v1beta1.AllowedCSIDriver": { - "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", - "properties": { - "name": { - "description": "Name is the registered name of the CSI driver", + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", "type": "string" } }, - "required": [ - "name" - ], "type": "object" }, - "io.k8s.api.policy.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", + "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "properties": { - "driver": { - "description": "driver is the name of the Flexvolume driver.", + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", "type": "string" + }, + "source": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentSource", + "description": "Source represents the volume that should be attached." } }, "required": [ - "driver" + "attacher", + "source", + "nodeName" ], "type": "object" }, - "io.k8s.api.policy.v1beta1.AllowedHostPath": { - "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "properties": { - "pathPrefix": { - "description": "pathPrefix 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" + "attachError": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeError", + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." }, - "readOnly": { - "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.policy.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "deleteOptions": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions", - "description": "DeleteOptions may be provided" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "ObjectMeta describes the pod that is being evicted." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "Eviction", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.policy.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. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" + "attachmentMetadata": { + "additionalProperties": { + "type": "string" }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.policy.v1beta1.HostPortRange": { - "description": "HostPortRange 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.", - "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int32", - "type": "integer" + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object" }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int32", - "type": "integer" + "detachError": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeError", + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, "required": [ - "min", - "max" + "attached" ], "type": "object" }, - "io.k8s.api.policy.v1beta1.IDRange": { - "description": "IDRange provides a min/max of an allowed range of IDs.", + "io.k8s.api.storage.v1alpha1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int64", - "type": "integer" + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", + "type": "string" }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int64", - "type": "integer" + "time": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Time the error was encountered." } }, - "required": [ - "min", - "max" - ], "type": "object" }, - "io.k8s.api.policy.v1beta1.PodDisruptionBudget": { - "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", + "io.k8s.api.storage.v1beta1.CSIDriver": { + "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", "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/sig-architecture/api-conventions.md#resources", @@ -14562,36 +14916,37 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec", - "description": "Specification of the desired behavior of the PodDisruptionBudget." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus", - "description": "Most recently observed status of the PodDisruptionBudget." + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriverSpec", + "description": "Specification of the CSI Driver." } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1beta1" } ] }, - "io.k8s.api.policy.v1beta1.PodDisruptionBudgetList": { - "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", + "io.k8s.api.storage.v1beta1.CSIDriverList": { + "description": "CSIDriverList is a collection of CSIDriver 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { + "description": "items is the list of CSIDriver", "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" }, "type": "array" }, @@ -14600,7 +14955,8 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -14609,76 +14965,35 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "policy", - "kind": "PodDisruptionBudgetList", + "group": "storage.k8s.io", + "kind": "CSIDriverList", "version": "v1beta1" } ] }, - "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec": { - "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", - "properties": { - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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\"." - }, - "minAvailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "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%\"." - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label query over pods whose evictions are managed by the disruption budget." - } - }, - "type": "object" - }, - "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus": { - "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", + "io.k8s.api.storage.v1beta1.CSIDriverSpec": { + "description": "CSIDriverSpec is the specification of a CSIDriver.", "properties": { - "currentHealthy": { - "description": "current number of healthy pods", - "format": "int32", - "type": "integer" + "attachRequired": { + "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.", + "type": "boolean" }, - "desiredHealthy": { - "description": "minimum desired number of healthy pods", - "format": "int32", - "type": "integer" + "podInfoOnMount": { + "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.", + "type": "boolean" }, - "disruptedPods": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + "volumeLifecycleModes": { + "description": "VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.", + "items": { + "type": "string" }, - "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" - }, - "disruptionsAllowed": { - "description": "Number of pod disruptions that are currently allowed.", - "format": "int32", - "type": "integer" - }, - "expectedPods": { - "description": "total number of pods counted by this disruption budget", - "format": "int32", - "type": "integer" - }, - "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.", - "format": "int64", - "type": "integer" + "type": "array" } }, - "required": [ - "disruptionsAllowed", - "currentHealthy", - "desiredHealthy", - "expectedPods" - ], "type": "object" }, - "io.k8s.api.policy.v1beta1.PodSecurityPolicy": { - "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "io.k8s.api.storage.v1beta1.CSINode": { + "description": "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14690,33 +15005,65 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "metadata.name must be the Kubernetes node name." }, "spec": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec", - "description": "spec defines the policy enforced." + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINodeSpec", + "description": "spec is the specification of CSINode" } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "policy", - "kind": "PodSecurityPolicy", + "group": "storage.k8s.io", + "kind": "CSINode", "version": "v1beta1" } ] }, - "io.k8s.api.policy.v1beta1.PodSecurityPolicyList": { - "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", + "io.k8s.api.storage.v1beta1.CSINodeDriver": { + "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", + "properties": { + "allocatable": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeNodeResources", + "description": "allocatable represents the volume resources of a node that are available for scheduling." + }, + "name": { + "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", + "type": "string" + }, + "nodeID": { + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", + "type": "string" + }, + "topologyKeys": { + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "name", + "nodeID" + ], + "type": "object" + }, + "io.k8s.api.storage.v1beta1.CSINodeList": { + "description": "CSINodeList is a collection of CSINode 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is a list of schema objects.", + "description": "items is the list of CSINode", "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" }, "type": "array" }, @@ -14726,7 +15073,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -14735,298 +15082,132 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "policy", - "kind": "PodSecurityPolicyList", + "group": "storage.k8s.io", + "kind": "CSINodeList", "version": "v1beta1" } ] }, - "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec": { - "description": "PodSecurityPolicySpec defines the policy enforced.", + "io.k8s.api.storage.v1beta1.CSINodeSpec": { + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", "properties": { - "allowPrivilegeEscalation": { - "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" - }, - "allowedCSIDrivers": { - "description": "AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedCSIDriver" - }, - "type": "array" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedFlexVolumes": { - "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedFlexVolume" - }, - "type": "array" - }, - "allowedHostPaths": { - "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedHostPath" - }, - "type": "array" - }, - "allowedProcMountTypes": { - "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedUnsafeSysctls": { - "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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 capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", + "drivers": { + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINodeDriver" }, - "type": "array" - }, - "defaultAllowPrivilegeEscalation": { - "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "required": [ + "drivers" + ], + "type": "object" + }, + "io.k8s.api.storage.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.", + "properties": { + "allowVolumeExpansion": { + "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, - "forbiddenSysctls": { - "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" }, "type": "array" }, - "fsGroup": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.FSGroupStrategyOptions", - "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." - }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.HostPortRange" - }, - "type": "array" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "privileged": { - "description": "privileged determines if a pod can request to be run as privileged.", - "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "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" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "requiredDropCapabilities": { - "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "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.", "items": { "type": "string" }, "type": "array" }, - "runAsGroup": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions", - "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." - }, - "runAsUser": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions", - "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." - }, - "runtimeClass": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions", - "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." - }, - "seLinux": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SELinuxStrategyOptions", - "description": "seLinux is the strategy that will dictate the allowable labels that may be set." - }, - "supplementalGroups": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions", - "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." - }, - "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", - "items": { + "parameters": { + "additionalProperties": { "type": "string" }, - "type": "array" - } - }, - "required": [ - "seLinux", - "runAsUser", - "supplementalGroups", - "fsGroup" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions": { - "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", - "properties": { - "ranges": { - "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" - }, - "type": "array" + "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", + "type": "object" }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "provisioner": { + "description": "Provisioner indicates the type of the provisioner.", "type": "string" - } - }, - "required": [ - "rule" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions": { - "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", - "properties": { - "ranges": { - "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" - }, - "type": "array" }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "reclaimPolicy": { + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", "type": "string" - } - }, - "required": [ - "rule" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions": { - "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", - "properties": { - "allowedRuntimeClassNames": { - "description": "allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.", - "items": { - "type": "string" - }, - "type": "array" }, - "defaultRuntimeClassName": { - "description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.", + "volumeBindingMode": { + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", "type": "string" } }, "required": [ - "allowedRuntimeClassNames" + "provisioner" ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions": { - "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", - "properties": { - "rule": { - "description": "rule is the strategy that will dictate the allowable labels that may be set.", - "type": "string" - }, - "seLinuxOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions", - "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" } - }, - "required": [ - "rule" - ], - "type": "object" + ] }, - "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "io.k8s.api.storage.v1beta1.StorageClassList": { + "description": "StorageClassList is a collection of storage classes.", "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. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.rbac.v1.AggregationRule": { - "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", - "properties": { - "clusterRoleSelectors": { - "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", + }, + "items": { + "description": "Items is the list of StorageClasses", "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" }, "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.rbac.v1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", - "properties": { - "aggregationRule": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.AggregationRule", - "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" - }, - "type": "array" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "group": "storage.k8s.io", + "kind": "StorageClassList", + "version": "v1beta1" } ] }, - "io.k8s.api.rbac.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.", + "io.k8s.api.storage.v1beta1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "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/sig-architecture/api-conventions.md#resources", @@ -15038,43 +15219,40 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef", - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." + "spec": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentSpec", + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" - }, - "type": "array" + "status": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentStatus", + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "required": [ - "roleRef" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" } ] }, - "io.k8s.api.rbac.v1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "io.k8s.api.storage.v1beta1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of ClusterRoleBindings", + "description": "Items is the list of VolumeAttachments", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" }, "type": "array" }, @@ -15084,7 +15262,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -15093,125 +15271,157 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", - "version": "v1" + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1beta1" } ] }, - "io.k8s.api.rbac.v1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "io.k8s.api.storage.v1beta1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be 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/sig-architecture/api-conventions.md#resources", - "type": "string" + "inlineVolumeSpec": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", + "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, - "items": { - "description": "Items is a list of ClusterRoles", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - }, - "type": "array" + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "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/sig-architecture/api-conventions.md#types-kinds", + "nodeName": { + "description": "The node that the volume should be attached to.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "source": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentSource", + "description": "Source represents the volume that should be attached." } }, "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleList", - "version": "v1" - } - ] + "attacher", + "source", + "nodeName" + ], + "type": "object" }, - "io.k8s.api.rbac.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.", + "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" + "attachError": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeError", + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "items": { - "type": "string" - }, - "type": "array" + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" }, - "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", - "items": { + "attachmentMetadata": { + "additionalProperties": { "type": "string" }, - "type": "array" + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object" }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", - "items": { - "type": "string" - }, - "type": "array" + "detachError": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeError", + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, "required": [ - "verbs" + "attached" ], "type": "object" }, - "io.k8s.api.rbac.v1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "io.k8s.api.storage.v1beta1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", "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/sig-architecture/api-conventions.md#resources", + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", "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/sig-architecture/api-conventions.md#types-kinds", + "time": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Time the error was encountered." + } + }, + "type": "object" + }, + "io.k8s.api.storage.v1beta1.VolumeNodeResources": { + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", + "properties": { + "count": { + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "properties": { + "description": { + "description": "description is a human readable description of this column.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", + "type": "string" }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" - }, - "type": "array" + "jsonPath": { + "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", + "format": "int32", + "type": "integer" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", + "type": "string" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" + "required": [ + "name", + "type", + "jsonPath" + ], + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion": { + "description": "CustomResourceConversion describes how to convert different versions of a CR.", + "properties": { + "strategy": { + "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.", + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion", + "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`." } - ] + }, + "required": [ + "strategy" + ], + "type": "object" }, - "io.k8s.api.rbac.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.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.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": { "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/sig-architecture/api-conventions.md#resources", @@ -15222,79 +15432,70 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.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." + "spec": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec", + "description": "spec describes how the user wants the resources to appear" }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" - }, - "type": "array" + "status": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus", + "description": "status indicates the actual state of the CustomResourceDefinition" } }, "required": [ - "roleRef" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", "version": "v1" } ] }, - "io.k8s.api.rbac.v1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition": { + "description": "CustomResourceDefinitionCondition contains details for the current condition of this 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "lastTransitionTime last time the condition transitioned from one status to another." + }, + "message": { + "description": "message is a human-readable message indicating details about last transition.", "type": "string" }, - "items": { - "description": "Items is a list of RoleBindings", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - }, - "type": "array" + "reason": { + "description": "reason is a unique, one-word, CamelCase reason for the condition's 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "status": { + "description": "status is the status of the condition. Can be True, False, Unknown.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "type": { + "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", + "type": "string" } }, "required": [ - "items" + "type", + "status" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBindingList", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1.RoleList": { - "description": "RoleList is a collection of Roles", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList": { + "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of Roles", + "description": "items list individual CustomResourceDefinition objects", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" }, "type": "array" }, @@ -15303,8 +15504,7 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } }, "required": [ @@ -15313,473 +15513,538 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", "version": "v1" } ] }, - "io.k8s.api.rbac.v1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames": { + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", - "type": "string" + "categories": { + "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", + "items": { + "type": "string" + }, + "type": "array" }, "kind": { - "description": "Kind is the type of resource being referenced", + "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", "type": "string" }, - "name": { - "description": "Name is the name of resource being referenced", + "listKind": { + "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", + "type": "string" + }, + "plural": { + "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", + "type": "string" + }, + "shortNames": { + "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", + "items": { + "type": "string" + }, + "type": "array" + }, + "singular": { + "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", "type": "string" } }, "required": [ - "apiGroup", - "kind", - "name" + "plural", + "kind" ], "type": "object" }, - "io.k8s.api.rbac.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.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec": { + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "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" + "conversion": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion", + "description": "conversion defines conversion settings for the CRD." }, - "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.", + "group": { + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", "type": "string" }, - "name": { - "description": "Name of the object being referenced.", - "type": "string" + "names": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames", + "description": "names specify the resource and kind names for the custom resource." }, - "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.", + "preserveUnknownFields": { + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", + "type": "boolean" + }, + "scope": { + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.", "type": "string" + }, + "versions": { + "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion" + }, + "type": "array" } }, "required": [ - "kind", - "name" + "group", + "names", + "scope", + "versions" ], "type": "object" }, - "io.k8s.api.rbac.v1alpha1.AggregationRule": { - "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus": { + "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "properties": { - "clusterRoleSelectors": { - "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", + "acceptedNames": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames", + "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." + }, + "conditions": { + "description": "conditions indicate state for particular aspects of a CustomResourceDefinition", "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition" }, "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.rbac.v1alpha1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", - "properties": { - "aggregationRule": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.AggregationRule", - "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", + "storedVersions": { + "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.PolicyRule" + "type": "string" }, "type": "array" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1alpha1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.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.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion": { + "description": "CustomResourceDefinitionVersion describes a version for CRD.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "additionalPrinterColumns": { + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition" + }, + "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "name": { + "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation", + "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource." }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleRef", - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." + "served": { + "description": "served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.Subject" - }, - "type": "array" + "storage": { + "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", + "type": "boolean" + }, + "subresources": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources", + "description": "subresources specify what subresources this version of the defined custom resource have." } }, "required": [ - "roleRef" + "name", + "served", + "storage" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1alpha1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale": { + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", "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/sig-architecture/api-conventions.md#resources", + "labelSelectorPath": { + "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", "type": "string" }, - "items": { - "description": "Items is a list of ClusterRoleBindings", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", + "specReplicasPath": { + "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "statusReplicasPath": { + "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", + "type": "string" } }, "required": [ - "items" + "specReplicasPath", + "statusReplicasPath" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", - "version": "v1alpha1" + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus": { + "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources": { + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", + "properties": { + "scale": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale", + "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." + }, + "status": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus", + "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." } - ] + }, + "type": "object" }, - "io.k8s.api.rbac.v1alpha1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation": { + "description": "CustomResourceValidation is a list of validation methods for CustomResources.", "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/sig-architecture/api-conventions.md#resources", + "openAPIV3Schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps", + "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." + } + }, + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation": { + "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", + "properties": { + "description": { "type": "string" }, - "items": { - "description": "Items is a list of ClusterRoles", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", + "url": { "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleList", - "version": "v1alpha1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.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.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON": { + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps": { + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", "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.", + "$ref": { + "type": "string" + }, + "$schema": { + "type": "string" + }, + "additionalItems": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" + }, + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" + }, + "allOf": { "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" }, "type": "array" }, - "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.", + "anyOf": { "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" }, "type": "array" }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "items": { - "type": "string" + "default": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON", + "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false." + }, + "definitions": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" }, - "type": "array" + "type": "object" }, - "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", - "items": { - "type": "string" + "dependencies": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" }, - "type": "array" + "type": "object" }, - "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": { + "type": "string" + }, + "enum": { "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" }, "type": "array" - } - }, - "required": [ - "verbs" - ], - "type": "object" - }, - "io.k8s.api.rbac.v1alpha1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", - "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/sig-architecture/api-conventions.md#resources", + }, + "example": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" + }, + "exclusiveMaximum": { + "type": "boolean" + }, + "exclusiveMinimum": { + "type": "boolean" + }, + "externalDocs": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" + }, + "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "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/sig-architecture/api-conventions.md#types-kinds", + "id": { "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", + "maxItems": { + "format": "int64", + "type": "integer" + }, + "maxLength": { + "format": "int64", + "type": "integer" + }, + "maxProperties": { + "format": "int64", + "type": "integer" + }, + "maximum": { + "format": "double", + "type": "number" + }, + "minItems": { + "format": "int64", + "type": "integer" + }, + "minLength": { + "format": "int64", + "type": "integer" + }, + "minProperties": { + "format": "int64", + "type": "integer" + }, + "minimum": { + "format": "double", + "type": "number" + }, + "multipleOf": { + "format": "double", + "type": "number" + }, + "not": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "nullable": { + "type": "boolean" + }, + "oneOf": { "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.PolicyRule" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" }, "type": "array" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1alpha1" - } - ] - }, - "io.k8s.api.rbac.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.", - "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "pattern": { "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "patternProperties": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "type": "object" }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.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." + "properties": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "type": "object" }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", + "required": { "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.Subject" + "type": "string" }, "type": "array" - } - }, - "required": [ - "roleRef" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1alpha1" - } - ] - }, - "io.k8s.api.rbac.v1alpha1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", - "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/sig-architecture/api-conventions.md#resources", + }, + "title": { "type": "string" }, - "items": { - "description": "Items is a list of RoleBindings", + "type": { + "type": "string" + }, + "uniqueItems": { + "type": "boolean" + }, + "x-kubernetes-embedded-resource": { + "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).", + "type": "boolean" + }, + "x-kubernetes-int-or-string": { + "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more", + "type": "boolean" + }, + "x-kubernetes-list-map-keys": { + "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleBinding" + "type": "string" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "x-kubernetes-list-type": { + "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", + "type": "string" + }, + "x-kubernetes-preserve-unknown-fields": { + "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", + "type": "boolean" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBindingList", - "version": "v1alpha1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1alpha1.RoleList": { - "description": "RoleList is a collection of Roles", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray": { + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool": { + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray": { + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "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/sig-architecture/api-conventions.md#resources", + "name": { + "description": "name is the name of the service. Required", "type": "string" }, - "items": { - "description": "Items is a list of Roles", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.Role" - }, - "type": "array" + "namespace": { + "description": "namespace is the namespace of the service. Required", + "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/sig-architecture/api-conventions.md#types-kinds", + "path": { + "description": "path is an optional URL path at which the webhook will be contacted.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "port": { + "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.", + "format": "int32", + "type": "integer" } }, "required": [ - "items" + "namespace", + "name" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1alpha1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1alpha1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", + "caBundle": { + "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "format": "byte", "type": "string" }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" + "service": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference", + "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." }, - "name": { - "description": "Name is the name of resource being referenced", + "url": { + "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", "type": "string" } }, + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion": { + "description": "WebhookConversion describes how to call a conversion webhook", + "properties": { + "clientConfig": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig", + "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`." + }, + "conversionReviewVersions": { + "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.", + "items": { + "type": "string" + }, + "type": "array" + } + }, "required": [ - "apiGroup", - "kind", - "name" + "conversionReviewVersions" ], "type": "object" }, - "io.k8s.api.rbac.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.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "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.", + "JSONPath": { + "description": "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", "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.", + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", "type": "string" }, "name": { - "description": "Name of the object being referenced.", + "description": "name is a human readable name for the column.", "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.", + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", + "format": "int32", + "type": "integer" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", "type": "string" } }, "required": [ - "kind", - "name" + "name", + "type", + "JSONPath" ], "type": "object" }, - "io.k8s.api.rbac.v1beta1.AggregationRule": { - "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion": { + "description": "CustomResourceConversion describes how to convert different versions of a CR.", "properties": { - "clusterRoleSelectors": { - "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", + "conversionReviewVersions": { + "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `[\"v1beta1\"]`.", "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + "type": "string" }, "type": "array" + }, + "strategy": { + "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set.", + "type": "string" + }, + "webhookClientConfig": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig", + "description": "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`." } }, + "required": [ + "strategy" + ], "type": "object" }, - "io.k8s.api.rbac.v1beta1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.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>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.", "properties": { - "aggregationRule": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.AggregationRule", - "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the 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/sig-architecture/api-conventions.md#resources", "type": "string" @@ -15789,76 +16054,70 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.PolicyRule" - }, - "type": "array" + "spec": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec", + "description": "spec describes how the user wants the resources to appear" + }, + "status": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus", + "description": "status indicates the actual state of the CustomResourceDefinition" } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", "version": "v1beta1" } ] }, - "io.k8s.api.rbac.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.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition": { + "description": "CustomResourceDefinitionCondition contains details for the current condition of this 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "lastTransitionTime last time the condition transitioned from one status to another." }, - "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/sig-architecture/api-conventions.md#types-kinds", + "message": { + "description": "message is a human-readable message indicating details about last transition.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "reason": { + "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleRef", - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." + "status": { + "description": "status is the status of the condition. Can be True, False, Unknown.", + "type": "string" }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Subject" - }, - "type": "array" + "type": { + "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", + "type": "string" } }, "required": [ - "roleRef" + "type", + "status" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1beta1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList": { + "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of ClusterRoleBindings", + "description": "items list individual CustomResourceDefinition objects", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" }, "type": "array" }, @@ -15867,8 +16126,7 @@ "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } }, "required": [ @@ -15877,523 +16135,479 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", "version": "v1beta1" } ] }, - "io.k8s.api.rbac.v1beta1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames": { + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ClusterRoles", + "categories": { + "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "type": "string" }, "type": "array" }, "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/sig-architecture/api-conventions.md#types-kinds", + "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.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.", - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" + "listKind": { + "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", + "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.", - "items": { - "type": "string" - }, - "type": "array" + "plural": { + "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", + "type": "string" }, - "resources": { - "description": "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.", + "shortNames": { + "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", "items": { "type": "string" }, "type": "array" }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", - "items": { - "type": "string" - }, - "type": "array" + "singular": { + "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", + "type": "string" } }, "required": [ - "verbs" + "plural", + "kind" ], "type": "object" }, - "io.k8s.api.rbac.v1beta1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec": { + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", + "additionalPrinterColumns": { + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.PolicyRule" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" }, "type": "array" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.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.", - "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/sig-architecture/api-conventions.md#resources", + }, + "conversion": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion", + "description": "conversion defines conversion settings for the CRD." + }, + "group": { + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", "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/sig-architecture/api-conventions.md#types-kinds", + "names": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames", + "description": "names specify the resource and kind names for the custom resource." + }, + "preserveUnknownFields": { + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", + "type": "boolean" + }, + "scope": { + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "subresources": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources", + "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.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." + "validation": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation", + "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", + "version": { + "description": "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.", + "type": "string" + }, + "versions": { + "description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Subject" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" }, "type": "array" } }, "required": [ - "roleRef" + "group", + "names", + "scope" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1beta1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus": { + "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "acceptedNames": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames", + "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." }, - "items": { - "description": "Items is a list of RoleBindings", + "conditions": { + "description": "conditions indicate state for particular aspects of a CustomResourceDefinition", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "storedVersions": { + "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.", + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBindingList", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1beta1.RoleList": { - "description": "RoleList is a collection of Roles", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion": { + "description": "CustomResourceDefinitionVersion describes a version for CRD.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of Roles", + "additionalPrinterColumns": { + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "name": { + "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation", + "description": "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)." + }, + "served": { + "description": "served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" + }, + "storage": { + "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", + "type": "boolean" + }, + "subresources": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources", + "description": "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)." } }, "required": [ - "items" + "name", + "served", + "storage" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1beta1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale": { + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", + "labelSelectorPath": { + "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", "type": "string" }, - "kind": { - "description": "Kind is the type of resource being referenced", + "specReplicasPath": { + "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", "type": "string" }, - "name": { - "description": "Name is the name of resource being referenced", + "statusReplicasPath": { + "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", "type": "string" } }, "required": [ - "apiGroup", - "kind", - "name" + "specReplicasPath", + "statusReplicasPath" ], "type": "object" }, - "io.k8s.api.rbac.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.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus": { + "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources": { + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", "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" + "scale": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale", + "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." }, - "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" + "status": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus", + "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." } }, - "required": [ - "kind", - "name" - ], "type": "object" }, - "io.k8s.api.scheduling.v1.PriorityClass": { - "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation": { + "description": "CustomResourceValidation is a list of validation methods for CustomResources.", "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/sig-architecture/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. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "preemptionPolicy": { - "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", - "type": "string" - }, - "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.", - "format": "int32", - "type": "integer" + "openAPIV3Schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps", + "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." } }, - "required": [ - "value" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.scheduling.v1.PriorityClassList": { - "description": "PriorityClassList is a collection of priority classes.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation": { + "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "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/sig-architecture/api-conventions.md#resources", + "description": { "type": "string" }, - "items": { - "description": "items is the list of PriorityClasses", - "items": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", + "url": { "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClassList", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.scheduling.v1alpha1.PriorityClass": { - "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON": { + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps": { + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", "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/sig-architecture/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.", + "$ref": { "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. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "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/sig-architecture/api-conventions.md#types-kinds", + "$schema": { "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "additionalItems": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" }, - "preemptionPolicy": { - "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", - "type": "string" + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" }, - "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.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "value" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1alpha1" - } - ] - }, - "io.k8s.api.scheduling.v1alpha1.PriorityClassList": { - "description": "PriorityClassList is a collection of priority classes.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "allOf": { + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "type": "array" }, - "items": { - "description": "items is the list of PriorityClasses", + "anyOf": { "items": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "default": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON", + "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API." }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClassList", - "version": "v1alpha1" - } - ] - }, - "io.k8s.api.scheduling.v1beta1.PriorityClass": { - "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" + "definitions": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "type": "object" + }, + "dependencies": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" + }, + "type": "object" }, "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. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "enum": { + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" + }, + "type": "array" + }, + "example": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" + }, + "exclusiveMaximum": { "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "exclusiveMinimum": { + "type": "boolean" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "externalDocs": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" }, - "preemptionPolicy": { - "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", + "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, - "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.", - "format": "int32", + "id": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" + }, + "maxItems": { + "format": "int64", "type": "integer" - } - }, - "required": [ - "value" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.scheduling.v1beta1.PriorityClassList": { - "description": "PriorityClassList is a collection of priority classes.", - "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/sig-architecture/api-conventions.md#resources", + }, + "maxLength": { + "format": "int64", + "type": "integer" + }, + "maxProperties": { + "format": "int64", + "type": "integer" + }, + "maximum": { + "format": "double", + "type": "number" + }, + "minItems": { + "format": "int64", + "type": "integer" + }, + "minLength": { + "format": "int64", + "type": "integer" + }, + "minProperties": { + "format": "int64", + "type": "integer" + }, + "minimum": { + "format": "double", + "type": "number" + }, + "multipleOf": { + "format": "double", + "type": "number" + }, + "not": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "nullable": { + "type": "boolean" + }, + "oneOf": { + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "type": "array" + }, + "pattern": { "type": "string" }, - "items": { - "description": "items is the list of PriorityClasses", + "patternProperties": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "type": "object" + }, + "properties": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "type": "object" + }, + "required": { "items": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "type": "string" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "title": { "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "type": { + "type": "string" + }, + "uniqueItems": { + "type": "boolean" + }, + "x-kubernetes-embedded-resource": { + "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).", + "type": "boolean" + }, + "x-kubernetes-int-or-string": { + "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more", + "type": "boolean" + }, + "x-kubernetes-list-map-keys": { + "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.", + "items": { + "type": "string" + }, + "type": "array" + }, + "x-kubernetes-list-type": { + "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", + "type": "string" + }, + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", + "type": "string" + }, + "x-kubernetes-preserve-unknown-fields": { + "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", + "type": "boolean" + } + }, + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray": { + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool": { + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray": { + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "properties": { + "name": { + "description": "name is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "namespace is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "path is an optional URL path at which the webhook will be contacted.", + "type": "string" + }, + "port": { + "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.", + "format": "int32", + "type": "integer" } }, "required": [ - "items" + "namespace", + "name" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClassList", - "version": "v1beta1" + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", + "properties": { + "caBundle": { + "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "format": "byte", + "type": "string" + }, + "service": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference", + "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." + }, + "url": { + "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" } - ] + }, + "type": "object" }, - "io.k8s.api.settings.v1alpha1.PodPreset": { - "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", + "io.k8s.apimachinery.pkg.api.resource.Quantity": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": { + "description": "APIGroup contains the name, the supported versions, and the preferred version of a 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/sig-architecture/api-conventions.md#resources", @@ -16403,197 +16617,173 @@ "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "name": { + "description": "name is the name of the group.", + "type": "string" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetSpec" + "preferredVersion": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery", + "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." + }, + "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": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" + }, + "type": "array" + }, + "versions": { + "description": "versions are the versions supported in this group.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" + }, + "type": "array" } }, + "required": [ + "name", + "versions" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "", + "kind": "APIGroup", + "version": "v1" } ] }, - "io.k8s.api.settings.v1alpha1.PodPresetList": { - "description": "PodPresetList is a list of PodPreset objects.", + "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList": { + "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is a list of schema objects.", + "groups": { + "description": "groups is a list of APIGroup.", "items": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" }, "type": "array" }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "items" + "groups" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "settings.k8s.io", - "kind": "PodPresetList", - "version": "v1alpha1" + "group": "", + "kind": "APIGroupList", + "version": "v1" } ] }, - "io.k8s.api.settings.v1alpha1.PodPresetSpec": { - "description": "PodPresetSpec is a description of a pod preset.", + "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource": { + "description": "APIResource specifies the name of a resource and whether it is namespaced.", "properties": { - "env": { - "description": "Env defines the collection of EnvVar to inject into containers.", + "categories": { + "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + "type": "string" }, "type": "array" }, - "envFrom": { - "description": "EnvFrom defines the collection of EnvFromSource to inject into containers.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" - }, - "type": "array" + "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" }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Selector is a label query over a set of resources, in this case pods. Required." + "kind": { + "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", + "type": "string" }, - "volumeMounts": { - "description": "VolumeMounts defines the collection of VolumeMount to inject into containers.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" - }, - "type": "array" + "name": { + "description": "name is the plural name of the resource.", + "type": "string" }, - "volumes": { - "description": "Volumes defines the collection of Volume to inject into the pod.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.storage.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.", - "properties": { - "allowVolumeExpansion": { - "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", + "namespaced": { + "description": "namespaced indicates if a resource is namespaced or not.", "type": "boolean" }, - "allowedTopologies": { - "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", + "shortNames": { + "description": "shortNames is a list of suggested short names of the resource.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" + "type": "string" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#resources", + "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" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "storageVersionHash": { + "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "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.", + "verbs": { + "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", "items": { "type": "string" }, "type": "array" }, - "parameters": { - "additionalProperties": { - "type": "string" - }, - "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object" - }, - "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" - }, - "volumeBindingMode": { - "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", + "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" } }, "required": [ - "provisioner" + "name", + "singularName", + "namespaced", + "kind", + "verbs" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.storage.v1.StorageClassList": { - "description": "StorageClassList is a collection of storage classes.", + "io.k8s.apimachinery.pkg.apis.meta.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.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is the list of StorageClasses", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - }, - "type": "array" + "groupVersion": { + "description": "groupVersion is the group and version this APIResourceList is for.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "resources": { + "description": "resources contains the name of the resources and if they are namespaced.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" + }, + "type": "array" } }, "required": [ - "items" + "groupVersion", + "resources" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "storage.k8s.io", - "kind": "StorageClassList", + "group": "", + "kind": "APIResourceList", "version": "v1" } ] }, - "io.k8s.api.storage.v1.VolumeAttachment": { - "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", + "io.k8s.apimachinery.pkg.apis.meta.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.", "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/sig-architecture/api-conventions.md#resources", @@ -16603,1434 +16793,1180 @@ "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSpec", - "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." + "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": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" + }, + "type": "array" }, - "status": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentStatus", - "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." + "versions": { + "description": "versions are the api versions that are available.", + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "spec" + "versions", + "serverAddressByClientCIDRs" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "group": "", + "kind": "APIVersions", "version": "v1" } ] }, - "io.k8s.api.storage.v1.VolumeAttachmentList": { - "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "io.k8s.apimachinery.pkg.apis.meta.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is the list of VolumeAttachments", + "dryRun": { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "type": "string" }, "type": "array" }, + "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.", + "format": "int64", + "type": "integer" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "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": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions", + "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." + }, + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "type": "string" } }, - "required": [ - "items" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "storage.k8s.io", - "kind": "VolumeAttachmentList", + "group": "", + "kind": "DeleteOptions", "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", - "properties": { - "inlineVolumeSpec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", - "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." }, - "persistentVolumeName": { - "description": "Name of the persistent volume to attach.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1.VolumeAttachmentSpec": { - "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", - "properties": { - "attacher": { - "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", - "type": "string" + { + "group": "admission.k8s.io", + "kind": "DeleteOptions", + "version": "v1" }, - "nodeName": { - "description": "The node that the volume should be attached to.", - "type": "string" + { + "group": "admission.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" }, - "source": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSource", - "description": "Source represents the volume that should be attached." - } - }, - "required": [ - "attacher", - "source", - "nodeName" - ], - "type": "object" - }, - "io.k8s.api.storage.v1.VolumeAttachmentStatus": { - "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", - "properties": { - "attachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError", - "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" }, - "attached": { - "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" }, - "attachmentMetadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object" + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1" }, - "detachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError", - "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." - } - }, - "required": [ - "attached" - ], - "type": "object" - }, - "io.k8s.api.storage.v1.VolumeError": { - "description": "VolumeError captures an error encountered during a volume operation.", - "properties": { - "message": { - "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", - "type": "string" + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" }, - "time": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time the error was encountered." - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1alpha1.VolumeAttachment": { - "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec", - "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1beta1" }, - "status": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus", - "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "group": "apps", + "kind": "DeleteOptions", + "version": "v1beta2" + }, + { + "group": "auditregistration.k8s.io", + "kind": "DeleteOptions", "version": "v1alpha1" - } - ] - }, - "io.k8s.api.storage.v1alpha1.VolumeAttachmentList": { - "description": "VolumeAttachmentList is a collection of VolumeAttachment 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/sig-architecture/api-conventions.md#resources", - "type": "string" }, - "items": { - "description": "Items is the list of VolumeAttachments", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachment" - }, - "type": "array" + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + { + "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": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta2" + }, + { + "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": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "events.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "extensions", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "imagepolicy.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "node.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "node.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "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": "v1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "settings.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ { "group": "storage.k8s.io", - "kind": "VolumeAttachmentList", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", "version": "v1alpha1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" } ] }, - "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", - "properties": { - "inlineVolumeSpec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", - "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." - }, - "persistentVolumeName": { - "description": "Name of the persistent volume to attach.", - "type": "string" - } - }, + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { + "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object" }, - "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec": { - "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery": { + "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "properties": { - "attacher": { - "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "groupVersion": { + "description": "groupVersion specifies the API group and version in the form \"group/version\"", "type": "string" }, - "nodeName": { - "description": "The node that the volume should be attached to.", + "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" - }, - "source": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentSource", - "description": "Source represents the volume that should be attached." } }, "required": [ - "attacher", - "source", - "nodeName" + "groupVersion", + "version" ], "type": "object" }, - "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus": { - "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "io.k8s.apimachinery.pkg.apis.meta.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": { - "attachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeError", - "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." - }, - "attached": { - "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" + }, + "type": "array" }, - "attachmentMetadata": { + "matchLabels": { "additionalProperties": { "type": "string" }, - "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "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" - }, - "detachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeError", - "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." } }, - "required": [ - "attached" - ], "type": "object" }, - "io.k8s.api.storage.v1alpha1.VolumeError": { - "description": "VolumeError captures an error encountered during a volume operation.", + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "properties": { - "message": { - "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", + "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" }, - "time": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time the error was encountered." + "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.", + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "key", + "operator" + ], "type": "object" }, - "io.k8s.api.storage.v1beta1.CSIDriver": { - "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", + "io.k8s.apimachinery.pkg.apis.meta.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": { - "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/sig-architecture/api-conventions.md#resources", + "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 consistent 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, unless you have received this token from an error message.", "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "remainingItemCount": { + "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", + "format": "int64", + "type": "integer" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "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/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriverSpec", - "description": "Specification of the CSI Driver." + "selfLink": { + "description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", + "type": "string" } }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.storage.v1beta1.CSIDriverList": { - "description": "CSIDriverList is a collection of CSIDriver objects.", + "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry": { + "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", "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/sig-architecture/api-conventions.md#resources", + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", "type": "string" }, - "items": { - "description": "items is the list of CSIDriver", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - }, - "type": "array" + "fieldsType": { + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", + "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/sig-architecture/api-conventions.md#types-kinds", + "fieldsV1": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1", + "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." + }, + "manager": { + "description": "Manager is an identifier of the workflow managing these fields.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "operation": { + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", + "type": "string" + }, + "time": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSIDriverList", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.storage.v1beta1.CSIDriverSpec": { - "description": "CSIDriverSpec is the specification of a CSIDriver.", + "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": { + "description": "MicroTime is version of Time with microsecond level precision.", + "format": "date-time", + "type": "string" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": { + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", "properties": { - "attachRequired": { - "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.", - "type": "boolean" + "annotations": { + "additionalProperties": { + "type": "string" + }, + "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" }, - "podInfoOnMount": { - "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.", - "type": "boolean" + "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" }, - "volumeLifecycleModes": { - "description": "VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.", + "creationTimestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "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/sig-architecture/api-conventions.md#metadata" + }, + "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.", + "format": "int64", + "type": "integer" + }, + "deletionTimestamp": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "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 the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is 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/sig-architecture/api-conventions.md#metadata" + }, + "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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", "items": { "type": "string" }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1beta1.CSINode": { - "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "type": "array", + "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/sig-architecture/api-conventions.md#types-kinds", + "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/sig-architecture/api-conventions.md#idempotency", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "metadata.name must be the Kubernetes node name." + "generation": { + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", + "format": "int64", + "type": "integer" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINodeSpec", - "description": "spec is the specification of CSINode" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.CSINodeDriver": { - "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", - "properties": { - "allocatable": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeNodeResources", - "description": "allocatable represents the volume resources of a node that are available for scheduling." - }, - "name": { - "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", - "type": "string" - }, - "nodeID": { - "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", - "type": "string" - }, - "topologyKeys": { - "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", - "items": { + "labels": { + "additionalProperties": { "type": "string" }, - "type": "array" - } - }, - "required": [ - "name", - "nodeID" - ], - "type": "object" - }, - "io.k8s.api.storage.v1beta1.CSINodeList": { - "description": "CSINodeList is a collection of CSINode 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/sig-architecture/api-conventions.md#resources", - "type": "string" + "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" }, - "items": { - "description": "items is the list of CSINode", + "managedFields": { + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" }, "type": "array" }, - "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/sig-architecture/api-conventions.md#types-kinds", + "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" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSINodeList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.CSINodeSpec": { - "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", - "properties": { - "drivers": { - "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", + "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.", "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINodeDriver" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" }, "type": "array", - "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-merge-key": "uid", "x-kubernetes-patch-strategy": "merge" + }, + "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/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "selfLink": { + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", + "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" } }, - "required": [ - "drivers" - ], "type": "object" }, - "io.k8s.api.storage.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.", + "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": { + "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "properties": { - "allowVolumeExpansion": { - "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" - }, - "allowedTopologies": { - "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" - }, - "type": "array" - }, "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "description": "API version of the referent.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" + "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" }, - "parameters": { - "additionalProperties": { - "type": "string" - }, - "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object" + "controller": { + "description": "If true, this reference points to the managing controller.", + "type": "boolean" }, - "provisioner": { - "description": "Provisioner indicates the type of the provisioner.", + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "reclaimPolicy": { - "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", + "name": { + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, - "volumeBindingMode": { - "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", + "uid": { + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "type": "string" } }, "required": [ - "provisioner" + "apiVersion", + "kind", + "name", + "uid" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.storage.v1beta1.StorageClassList": { - "description": "StorageClassList is a collection of storage classes.", + "io.k8s.apimachinery.pkg.apis.meta.v1.Patch": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions": { + "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", "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/sig-architecture/api-conventions.md#resources", + "resourceVersion": { + "description": "Specifies the target ResourceVersion", "type": "string" }, - "items": { - "description": "Items is the list of StorageClasses", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", + "uid": { + "description": "Specifies the target UID.", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClassList", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.storage.v1beta1.VolumeAttachment": { - "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", + "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR": { + "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "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/sig-architecture/api-conventions.md#resources", + "clientCIDR": { + "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", "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/sig-architecture/api-conventions.md#types-kinds", + "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" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentSpec", - "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentStatus", - "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." } }, "required": [ - "spec" + "clientCIDR", + "serverAddress" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.storage.v1beta1.VolumeAttachmentList": { - "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "io.k8s.apimachinery.pkg.apis.meta.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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is the list of VolumeAttachments", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - }, - "type": "array" + "code": { + "description": "Suggested HTTP return code for this status, 0 if not set.", + "format": "int32", + "type": "integer" + }, + "details": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails", + "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." }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, + "message": { + "description": "A human-readable description of the status of this operation.", + "type": "string" + }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "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/sig-architecture/api-conventions.md#spec-and-status", + "type": "string" } }, - "required": [ - "items" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "storage.k8s.io", - "kind": "VolumeAttachmentList", - "version": "v1beta1" + "group": "", + "kind": "Status", + "version": "v1" } ] }, - "io.k8s.api.storage.v1beta1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", - "properties": { - "inlineVolumeSpec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", - "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature." - }, - "persistentVolumeName": { - "description": "Name of the persistent volume to attach.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec": { - "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause": { + "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { - "attacher": { - "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", - "type": "string" - }, - "nodeName": { - "description": "The node that the volume should be attached to.", + "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" }, - "source": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentSource", - "description": "Source represents the volume that should be attached." - } - }, - "required": [ - "attacher", - "source", - "nodeName" - ], - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus": { - "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", - "properties": { - "attachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeError", - "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." - }, - "attached": { - "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" - }, - "attachmentMetadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object" - }, - "detachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeError", - "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." - } - }, - "required": [ - "attached" - ], - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeError": { - "description": "VolumeError captures an error encountered during a volume operation.", - "properties": { "message": { - "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", + "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", "type": "string" }, - "time": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time the error was encountered." - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeNodeResources": { - "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", - "properties": { - "count": { - "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.", - "format": "int32", - "type": "integer" + "reason": { + "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", + "type": "string" } }, "type": "object" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition": { - "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "io.k8s.apimachinery.pkg.apis.meta.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": { - "description": { - "description": "description is a human readable description of this column.", - "type": "string" + "causes": { + "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause" + }, + "type": "array" }, - "format": { - "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", + "group": { + "description": "The group attribute of the resource associated with the status StatusReason.", "type": "string" }, - "jsonPath": { - "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "name": { - "description": "name is a human readable name for the column.", + "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", "type": "string" }, - "priority": { - "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", + "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.", "format": "int32", "type": "integer" }, - "type": { - "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", + "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" } }, - "required": [ - "name", - "type", - "jsonPath" - ], "type": "object" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion": { - "description": "CustomResourceConversion describes how to convert different versions of a CR.", - "properties": { - "strategy": { - "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.", - "type": "string" - }, - "webhook": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion", - "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`." - } - }, - "required": [ - "strategy" - ], - "type": "object" + "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "format": "date-time", + "type": "string" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.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>.", + "io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent": { + "description": "Event represents a single event to a watched 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/sig-architecture/api-conventions.md#resources", - "type": "string" + "object": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", + "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." }, - "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/sig-architecture/api-conventions.md#types-kinds", + "type": { "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec", - "description": "spec describes how the user wants the resources to appear" - }, - "status": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus", - "description": "status indicates the actual state of the CustomResourceDefinition" } }, "required": [ - "spec" + "type", + "object" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "", + "kind": "WatchEvent", "version": "v1" - } - ] - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition": { - "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime last time the condition transitioned from one status to another." }, - "message": { - "description": "message is a human-readable message indicating details about last transition.", - "type": "string" + { + "group": "admission.k8s.io", + "kind": "WatchEvent", + "version": "v1" }, - "reason": { - "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" + { + "group": "admission.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" }, - "status": { - "description": "status is the status of the condition. Can be True, False, Unknown.", - "type": "string" + { + "group": "admissionregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" }, - "type": { - "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList": { - "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items list individual CustomResourceDefinition objects", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - }, - "type": "array" + { + "group": "admissionregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + { + "group": "apiextensions.k8s.io", + "kind": "WatchEvent", + "version": "v1" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ { "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinitionList", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1beta2" + }, + { + "group": "auditregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "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": "autoscaling", + "kind": "WatchEvent", + "version": "v2beta2" + }, + { + "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": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "discovery.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "discovery.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "events.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "extensions", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "imagepolicy.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "networking.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "node.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "node.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "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": "v1" + }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "settings.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", "version": "v1" + }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" } ] }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames": { - "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", + "io.k8s.apimachinery.pkg.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.)", + "type": "object" + }, + "io.k8s.apimachinery.pkg.util.intstr.IntOrString": { + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", + "format": "int-or-string", + "type": "string" + }, + "io.k8s.apimachinery.pkg.version.Info": { + "description": "Info contains versioning information. how we'll want to distribute that information.", "properties": { - "categories": { - "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", - "items": { - "type": "string" - }, - "type": "array" + "buildDate": { + "type": "string" }, - "kind": { - "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", + "compiler": { "type": "string" }, - "listKind": { - "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", + "gitCommit": { "type": "string" }, - "plural": { - "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", + "gitTreeState": { "type": "string" }, - "shortNames": { - "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", - "items": { - "type": "string" - }, - "type": "array" + "gitVersion": { + "type": "string" }, - "singular": { - "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", + "goVersion": { + "type": "string" + }, + "major": { + "type": "string" + }, + "minor": { + "type": "string" + }, + "platform": { "type": "string" } }, "required": [ - "plural", - "kind" + "major", + "minor", + "gitVersion", + "gitCommit", + "gitTreeState", + "buildDate", + "goVersion", + "compiler", + "platform" ], "type": "object" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec": { - "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService": { + "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { - "conversion": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion", - "description": "conversion defines conversion settings for the CRD." - }, - "group": { - "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "names": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames", - "description": "names specify the resource and kind names for the custom resource." + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "preserveUnknownFields": { - "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", - "type": "boolean" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", - "type": "string" + "spec": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec", + "description": "Spec contains information for locating and communicating with a server" }, - "versions": { - "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion" - }, - "type": "array" + "status": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus", + "description": "Status contains derived information about an API server" } }, - "required": [ - "group", - "names", - "scope", - "versions" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + ] }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus": { - "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition": { + "description": "APIServiceCondition describes the state of an APIService at a particular point", "properties": { - "acceptedNames": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames", - "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Last time the condition transitioned from one status to another." }, - "conditions": { - "description": "conditions indicate state for particular aspects of a CustomResourceDefinition", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition" - }, - "type": "array" + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" }, - "storedVersions": { - "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.", - "items": { - "type": "string" - }, - "type": "array" + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.", + "type": "string" } }, "required": [ - "acceptedNames", - "storedVersions" + "type", + "status" ], "type": "object" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion": { - "description": "CustomResourceDefinitionVersion describes a version for CRD.", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList": { + "description": "APIServiceList is a list of APIService objects.", "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" }, "type": "array" }, - "name": { - "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation", - "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource." - }, - "served": { - "description": "served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" - }, - "storage": { - "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", - "type": "boolean" - }, - "subresources": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources", - "description": "subresources specify what subresources this version of the defined custom resource have." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } }, "required": [ - "name", - "served", - "storage" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1" + } + ] }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale": { - "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec": { + "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "properties": { - "labelSelectorPath": { - "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", + "caBundle": { + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", + "format": "byte", "type": "string" }, - "specReplicasPath": { - "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", + "group": { + "description": "Group is the API group name this server hosts", "type": "string" }, - "statusReplicasPath": { - "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", + "groupPriorityMinimum": { + "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred 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", + "format": "int32", + "type": "integer" + }, + "insecureSkipTLSVerify": { + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", + "type": "boolean" + }, + "service": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference", + "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." + }, + "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). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "format": "int32", + "type": "integer" } }, "required": [ - "specReplicasPath", - "statusReplicasPath" + "groupPriorityMinimum", + "versionPriority" ], "type": "object" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus": { - "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources": { - "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus": { + "description": "APIServiceStatus contains derived information about an API server", "properties": { - "scale": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale", - "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." - }, - "status": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus", - "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." + "conditions": { + "description": "Current service state of apiService.", + "items": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } }, "type": "object" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation": { - "description": "CustomResourceValidation is a list of validation methods for CustomResources.", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { - "openAPIV3Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps", - "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." + "name": { + "description": "Name is the name of the service", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the service", + "type": "string" + }, + "port": { + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation": { - "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", - "properties": { - "description": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps": { - "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", - "properties": { - "$ref": { - "type": "string" - }, - "$schema": { - "type": "string" - }, - "additionalItems": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" - }, - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" - }, - "allOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "array" - }, - "anyOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "array" - }, - "default": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON", - "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false." - }, - "definitions": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "object" - }, - "dependencies": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" - }, - "type": "object" - }, - "description": { - "type": "string" - }, - "enum": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" - }, - "type": "array" - }, - "example": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" - }, - "exclusiveMaximum": { - "type": "boolean" - }, - "exclusiveMinimum": { - "type": "boolean" - }, - "externalDocs": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" - }, - "format": { - "type": "string" - }, - "id": { - "type": "string" - }, - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" - }, - "maxItems": { - "format": "int64", - "type": "integer" - }, - "maxLength": { - "format": "int64", - "type": "integer" - }, - "maxProperties": { - "format": "int64", - "type": "integer" - }, - "maximum": { - "format": "double", - "type": "number" - }, - "minItems": { - "format": "int64", - "type": "integer" - }, - "minLength": { - "format": "int64", - "type": "integer" - }, - "minProperties": { - "format": "int64", - "type": "integer" - }, - "minimum": { - "format": "double", - "type": "number" - }, - "multipleOf": { - "format": "double", - "type": "number" - }, - "not": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "nullable": { - "type": "boolean" - }, - "oneOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "array" - }, - "pattern": { - "type": "string" - }, - "patternProperties": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "object" - }, - "properties": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "object" - }, - "required": { - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "type": "string" - }, - "type": { - "type": "string" - }, - "uniqueItems": { - "type": "boolean" - }, - "x-kubernetes-embedded-resource": { - "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).", - "type": "boolean" - }, - "x-kubernetes-int-or-string": { - "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more", - "type": "boolean" - }, - "x-kubernetes-list-map-keys": { - "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).", - "items": { - "type": "string" - }, - "type": "array" - }, - "x-kubernetes-list-type": { - "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar (or another atomic type).\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", - "type": "string" - }, - "x-kubernetes-preserve-unknown-fields": { - "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "name is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "namespace is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "path is an optional URL path at which the webhook will be contacted.", - "type": "string" - }, - "port": { - "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "namespace", - "name" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", - "properties": { - "caBundle": { - "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "service": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference", - "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." - }, - "url": { - "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion": { - "description": "WebhookConversion describes how to call a conversion webhook", - "properties": { - "clientConfig": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig", - "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`." - }, - "conversionReviewVersions": { - "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "conversionReviewVersions" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition": { - "description": "CustomResourceColumnDefinition specifies a column for server side printing.", - "properties": { - "JSONPath": { - "description": "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", - "type": "string" - }, - "description": { - "description": "description is a human readable description of this column.", - "type": "string" - }, - "format": { - "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", - "type": "string" - }, - "name": { - "description": "name is a human readable name for the column.", - "type": "string" - }, - "priority": { - "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", - "type": "string" - } - }, - "required": [ - "name", - "type", - "JSONPath" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion": { - "description": "CustomResourceConversion describes how to convert different versions of a CR.", - "properties": { - "conversionReviewVersions": { - "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `[\"v1beta1\"]`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "strategy": { - "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set.", - "type": "string" - }, - "webhookClientConfig": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig", - "description": "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`." - } - }, - "required": [ - "strategy" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.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>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.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/sig-architecture/api-conventions.md#resources", @@ -18044,47 +17980,44 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "spec": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec", - "description": "spec describes how the user wants the resources to appear" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec", + "description": "Spec contains information for locating and communicating with a server" }, "status": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus", - "description": "status indicates the actual state of the CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus", + "description": "Status contains derived information about an API server" } }, - "required": [ - "spec" - ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" } ] }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition": { - "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition": { + "description": "APIServiceCondition describes the state of an APIService at a particular point", "properties": { "lastTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime last time the condition transitioned from one status to another." + "description": "Last time the condition transitioned from one status to another." }, "message": { - "description": "message is a human-readable message indicating details about last transition.", + "description": "Human-readable message indicating details about last transition.", "type": "string" }, "reason": { - "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, "status": { - "description": "status is the status of the condition. Can be True, False, Unknown.", + "description": "Status is the status of the condition. Can be True, False, Unknown.", "type": "string" }, "type": { - "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", + "description": "Type is the type of the condition.", "type": "string" } }, @@ -18094,17 +18027,16 @@ ], "type": "object" }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList": { - "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList": { + "description": "APIServiceList is a list of APIService 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/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items list individual CustomResourceDefinition objects", "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" }, "type": "array" }, @@ -18122,14351 +18054,112 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinitionList", + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", "version": "v1beta1" } ] }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames": { - "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.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.", "properties": { - "categories": { - "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", - "type": "string" - }, - "listKind": { - "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", - "type": "string" - }, - "plural": { - "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", - "type": "string" - }, - "shortNames": { - "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", - "items": { - "type": "string" - }, - "type": "array" - }, - "singular": { - "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", + "caBundle": { + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", + "format": "byte", "type": "string" - } - }, - "required": [ - "plural", - "kind" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec": { - "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", - "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" - }, - "type": "array" - }, - "conversion": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion", - "description": "conversion defines conversion settings for the CRD." }, "group": { - "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", + "description": "Group is the API group name this server hosts", "type": "string" }, - "names": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames", - "description": "names specify the resource and kind names for the custom resource." + "groupPriorityMinimum": { + "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred 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", + "format": "int32", + "type": "integer" }, - "preserveUnknownFields": { - "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", + "insecureSkipTLSVerify": { + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", "type": "boolean" }, - "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", - "type": "string" - }, - "subresources": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources", - "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." - }, - "validation": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation", - "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." + "service": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference", + "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." }, "version": { - "description": "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.", - "type": "string" - }, - "versions": { - "description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" - }, - "type": "array" - } - }, - "required": [ - "group", - "names", - "scope" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus": { - "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", - "properties": { - "acceptedNames": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames", - "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." - }, - "conditions": { - "description": "conditions indicate state for particular aspects of a CustomResourceDefinition", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" - }, - "type": "array" - }, - "storedVersions": { - "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "acceptedNames", - "storedVersions" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion": { - "description": "CustomResourceDefinitionVersion describes a version for CRD.", - "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" - }, - "type": "array" - }, - "name": { - "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.", + "description": "Version is the API version this server hosts. For example, \"v1\"", "type": "string" }, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation", - "description": "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)." - }, - "served": { - "description": "served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" - }, - "storage": { - "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", - "type": "boolean" - }, - "subresources": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources", - "description": "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)." - } - }, - "required": [ - "name", - "served", - "storage" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale": { - "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", - "properties": { - "labelSelectorPath": { - "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", - "type": "string" - }, - "specReplicasPath": { - "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", - "type": "string" - }, - "statusReplicasPath": { - "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", - "type": "string" - } - }, - "required": [ - "specReplicasPath", - "statusReplicasPath" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus": { - "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources": { - "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", - "properties": { - "scale": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale", - "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." - }, - "status": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus", - "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation": { - "description": "CustomResourceValidation is a list of validation methods for CustomResources.", - "properties": { - "openAPIV3Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps", - "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation": { - "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", - "properties": { - "description": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps": { - "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", - "properties": { - "$ref": { - "type": "string" - }, - "$schema": { - "type": "string" - }, - "additionalItems": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" - }, - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" - }, - "allOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "array" - }, - "anyOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "array" - }, - "default": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON", - "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API." - }, - "definitions": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "object" - }, - "dependencies": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" - }, - "type": "object" - }, - "description": { - "type": "string" - }, - "enum": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" - }, - "type": "array" - }, - "example": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" - }, - "exclusiveMaximum": { - "type": "boolean" - }, - "exclusiveMinimum": { - "type": "boolean" - }, - "externalDocs": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" - }, - "format": { - "type": "string" - }, - "id": { - "type": "string" - }, - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" - }, - "maxItems": { - "format": "int64", - "type": "integer" - }, - "maxLength": { - "format": "int64", - "type": "integer" - }, - "maxProperties": { - "format": "int64", - "type": "integer" - }, - "maximum": { - "format": "double", - "type": "number" - }, - "minItems": { - "format": "int64", - "type": "integer" - }, - "minLength": { - "format": "int64", - "type": "integer" - }, - "minProperties": { - "format": "int64", - "type": "integer" - }, - "minimum": { - "format": "double", - "type": "number" - }, - "multipleOf": { - "format": "double", - "type": "number" - }, - "not": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "nullable": { - "type": "boolean" - }, - "oneOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "array" - }, - "pattern": { - "type": "string" - }, - "patternProperties": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "object" - }, - "properties": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "object" - }, - "required": { - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "type": "string" - }, - "type": { - "type": "string" - }, - "uniqueItems": { - "type": "boolean" - }, - "x-kubernetes-embedded-resource": { - "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).", - "type": "boolean" - }, - "x-kubernetes-int-or-string": { - "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more", - "type": "boolean" - }, - "x-kubernetes-list-map-keys": { - "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).", - "items": { - "type": "string" - }, - "type": "array" - }, - "x-kubernetes-list-type": { - "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar (or another atomic type).\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", - "type": "string" - }, - "x-kubernetes-preserve-unknown-fields": { - "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "name is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "namespace is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "path is an optional URL path at which the webhook will be contacted.", - "type": "string" - }, - "port": { - "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "namespace", - "name" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", - "properties": { - "caBundle": { - "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "service": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference", - "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." - }, - "url": { - "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.api.resource.Quantity": { - "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", - "type": "string" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": { - "description": "APIGroup contains the name, the supported versions, and the preferred version of a 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "name is the name of the group.", - "type": "string" - }, - "preferredVersion": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery", - "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." - }, - "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": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" - }, - "type": "array" - }, - "versions": { - "description": "versions are the versions supported in this group.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" - }, - "type": "array" - } - }, - "required": [ - "name", - "versions" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "APIGroup", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList": { - "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "groups": { - "description": "groups is a list of APIGroup.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - } - }, - "required": [ - "groups" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "APIGroupList", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource": { - "description": "APIResource specifies the name of a resource and whether it is namespaced.", - "properties": { - "categories": { - "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", - "items": { - "type": "string" - }, - "type": "array" - }, - "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" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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" - }, - "storageVersionHash": { - "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.", - "type": "string" - }, - "verbs": { - "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", - "items": { - "type": "string" - }, - "type": "array" - }, - "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" - } - }, - "required": [ - "name", - "singularName", - "namespaced", - "kind", - "verbs" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.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.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "groupVersion": { - "description": "groupVersion is the group and version this APIResourceList is for.", - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "resources": { - "description": "resources contains the name of the resources and if they are namespaced.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" - }, - "type": "array" - } - }, - "required": [ - "groupVersion", - "resources" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "APIResourceList", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.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.", - "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/sig-architecture/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/sig-architecture/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.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" - }, - "type": "array" - }, - "versions": { - "description": "versions are the api versions that are available.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "versions", - "serverAddressByClientCIDRs" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "APIVersions", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "dryRun": { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "items": { - "type": "string" - }, - "type": "array" - }, - "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.", - "format": "int64", - "type": "integer" - }, - "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/sig-architecture/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": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions", - "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." - }, - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1beta2" - }, - { - "group": "auditregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "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": "autoscaling", - "kind": "DeleteOptions", - "version": "v2beta2" - }, - { - "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": "coordination.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "coordination.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "discovery.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "events.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "extensions", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "imagepolicy.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "networking.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "networking.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "node.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "node.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "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": "v1" - }, - { - "group": "scheduling.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "scheduling.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "settings.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { - "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery": { - "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", - "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" - } - }, - "required": [ - "groupVersion", - "version" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.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.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" - }, - "type": "array" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "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" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "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.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.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": { - "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 consistent 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, unless you have received this token from an error message.", - "type": "string" - }, - "remainingItemCount": { - "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", - "format": "int64", - "type": "integer" - }, - "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/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry": { - "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", - "type": "string" - }, - "fieldsType": { - "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", - "type": "string" - }, - "fieldsV1": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1", - "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." - }, - "manager": { - "description": "Manager is an identifier of the workflow managing these fields.", - "type": "string" - }, - "operation": { - "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", - "type": "string" - }, - "time": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": { - "description": "MicroTime is version of Time with microsecond level precision.", - "format": "date-time", - "type": "string" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": { - "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "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" - }, - "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": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "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/sig-architecture/api-conventions.md#metadata" - }, - "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.", - "format": "int64", - "type": "integer" - }, - "deletionTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "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 the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is 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/sig-architecture/api-conventions.md#metadata" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-patch-strategy": "merge" - }, - "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/sig-architecture/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.", - "format": "int64", - "type": "integer" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "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" - }, - "managedFields": { - "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" - }, - "type": "array" - }, - "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.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "uid", - "x-kubernetes-patch-strategy": "merge" - }, - "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/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", - "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" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "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: https://git.k8s.io/community/contributors/devel/sig-architecture/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" - }, - "uid": { - "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" - } - }, - "required": [ - "apiVersion", - "kind", - "name", - "uid" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Patch": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions": { - "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", - "properties": { - "resourceVersion": { - "description": "Specifies the target ResourceVersion", - "type": "string" - }, - "uid": { - "description": "Specifies the target UID.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR": { - "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", - "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" - } - }, - "required": [ - "clientCIDR", - "serverAddress" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "code": { - "description": "Suggested HTTP return code for this status, 0 if not set.", - "format": "int32", - "type": "integer" - }, - "details": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails", - "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." - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "message": { - "description": "A human-readable description of the status of this operation.", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - }, - "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/sig-architecture/api-conventions.md#spec-and-status", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Status", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.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.", - "type": "string" - }, - "reason": { - "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.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.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause" - }, - "type": "array" - }, - "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/sig-architecture/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.", - "format": "int32", - "type": "integer" - }, - "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" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", - "format": "date-time", - "type": "string" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent": { - "description": "Event represents a single event to a watched resource.", - "properties": { - "object": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "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." - }, - "type": { - "type": "string" - } - }, - "required": [ - "type", - "object" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "apps", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "WatchEvent", - "version": "v1beta2" - }, - { - "group": "auditregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "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": "autoscaling", - "kind": "WatchEvent", - "version": "v2beta2" - }, - { - "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": "coordination.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "coordination.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "discovery.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "events.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "extensions", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "imagepolicy.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "networking.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "networking.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "node.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "node.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "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": "v1" - }, - { - "group": "scheduling.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "scheduling.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "settings.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "storage.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "storage.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "storage.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - } - ] - }, - "io.k8s.apimachinery.pkg.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.)", - "type": "object" - }, - "io.k8s.apimachinery.pkg.util.intstr.IntOrString": { - "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", - "format": "int-or-string", - "type": "string" - }, - "io.k8s.apimachinery.pkg.version.Info": { - "description": "Info contains versioning information. how we'll want to distribute that information.", - "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" - } - }, - "required": [ - "major", - "minor", - "gitVersion", - "gitCommit", - "gitTreeState", - "buildDate", - "goVersion", - "compiler", - "platform" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec", - "description": "Spec contains information for locating and communicating with a server" - }, - "status": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus", - "description": "Status contains derived information about an API server" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - ] - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition": { - "description": "APIServiceCondition describes the state of an APIService at a particular point", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "Unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status is the status of the condition. Can be True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type is the type of the condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList": { - "description": "APIServiceList is a list of APIService 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIServiceList", - "version": "v1" - } - ] - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec": { - "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", - "properties": { - "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "group": { - "description": "Group is the API group name this server hosts", - "type": "string" - }, - "groupPriorityMinimum": { - "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred 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", - "format": "int32", - "type": "integer" - }, - "insecureSkipTLSVerify": { - "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" - }, - "service": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference", - "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." - }, - "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). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "service", - "groupPriorityMinimum", - "versionPriority" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus": { - "description": "APIServiceStatus contains derived information about an API server", - "properties": { - "conditions": { - "description": "Current service state of apiService.", - "items": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "Name is the name of the service", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the service", - "type": "string" - }, - "port": { - "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec", - "description": "Spec contains information for locating and communicating with a server" - }, - "status": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus", - "description": "Status contains derived information about an API server" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - ] - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition": { - "description": "APIServiceCondition describes the state of an APIService at a particular point", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "Unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status is the status of the condition. Can be True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type is the type of the condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList": { - "description": "APIServiceList is a list of APIService 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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIServiceList", - "version": "v1beta1" - } - ] - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.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.", - "properties": { - "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "group": { - "description": "Group is the API group name this server hosts", - "type": "string" - }, - "groupPriorityMinimum": { - "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred 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", - "format": "int32", - "type": "integer" - }, - "insecureSkipTLSVerify": { - "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" - }, - "service": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference", - "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." - }, - "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). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "service", - "groupPriorityMinimum", - "versionPriority" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus": { - "description": "APIServiceStatus contains derived information about an API server", - "properties": { - "conditions": { - "description": "Current service state of apiService.", - "items": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "Name is the name of the service", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the service", - "type": "string" - }, - "port": { - "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "info": { - "title": "Kubernetes", - "version": "v1.16.0" - }, - "paths": { - "/api/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available API versions", - "operationId": "getCoreAPIVersions", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core" - ] - } - }, - "/api/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getCoreV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ] - } - }, - "/api/v1/componentstatuses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list objects of kind ComponentStatus", - "operationId": "listCoreV1ComponentStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatusList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ComponentStatus", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/componentstatuses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ComponentStatus", - "operationId": "readCoreV1ComponentStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ComponentStatus", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ComponentStatus", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ] - }, - "/api/v1/configmaps": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ConfigMap", - "operationId": "listCoreV1ConfigMapForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/endpoints": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Endpoints", - "operationId": "listCoreV1EndpointsForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointsList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Event", - "operationId": "listCoreV1EventForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/limitranges": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind LimitRange", - "operationId": "listCoreV1LimitRangeForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/namespaces": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Namespace", - "operationId": "listCoreV1Namespace", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Namespace", - "operationId": "createCoreV1Namespace", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/bindings": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Binding", - "operationId": "createCoreV1NamespacedBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Binding", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/configmaps": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ConfigMap", - "operationId": "deleteCoreV1CollectionNamespacedConfigMap", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ConfigMap", - "operationId": "listCoreV1NamespacedConfigMap", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ConfigMap", - "operationId": "createCoreV1NamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/configmaps/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ConfigMap", - "operationId": "deleteCoreV1NamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ConfigMap", - "operationId": "readCoreV1NamespacedConfigMap", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ConfigMap", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ConfigMap", - "operationId": "patchCoreV1NamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ConfigMap", - "operationId": "replaceCoreV1NamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/endpoints": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Endpoints", - "operationId": "deleteCoreV1CollectionNamespacedEndpoints", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Endpoints", - "operationId": "listCoreV1NamespacedEndpoints", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointsList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create Endpoints", - "operationId": "createCoreV1NamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/endpoints/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete Endpoints", - "operationId": "deleteCoreV1NamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Endpoints", - "operationId": "readCoreV1NamespacedEndpoints", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Endpoints", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Endpoints", - "operationId": "patchCoreV1NamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Endpoints", - "operationId": "replaceCoreV1NamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/events": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Event", - "operationId": "deleteCoreV1CollectionNamespacedEvent", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Event", - "operationId": "listCoreV1NamespacedEvent", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an Event", - "operationId": "createCoreV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/events/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an Event", - "operationId": "deleteCoreV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Event", - "operationId": "readCoreV1NamespacedEvent", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Event", - "operationId": "patchCoreV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Event", - "operationId": "replaceCoreV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/limitranges": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of LimitRange", - "operationId": "deleteCoreV1CollectionNamespacedLimitRange", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind LimitRange", - "operationId": "listCoreV1NamespacedLimitRange", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a LimitRange", - "operationId": "createCoreV1NamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/limitranges/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a LimitRange", - "operationId": "deleteCoreV1NamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified LimitRange", - "operationId": "readCoreV1NamespacedLimitRange", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the LimitRange", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified LimitRange", - "operationId": "patchCoreV1NamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified LimitRange", - "operationId": "replaceCoreV1NamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/persistentvolumeclaims": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PersistentVolumeClaim", - "operationId": "deleteCoreV1CollectionNamespacedPersistentVolumeClaim", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PersistentVolumeClaim", - "operationId": "listCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PersistentVolumeClaim", - "operationId": "createCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PersistentVolumeClaim", - "operationId": "deleteCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PersistentVolumeClaim", - "operationId": "readCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PersistentVolumeClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PersistentVolumeClaim", - "operationId": "patchCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PersistentVolumeClaim", - "operationId": "replaceCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified PersistentVolumeClaim", - "operationId": "readCoreV1NamespacedPersistentVolumeClaimStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PersistentVolumeClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified PersistentVolumeClaim", - "operationId": "patchCoreV1NamespacedPersistentVolumeClaimStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified PersistentVolumeClaim", - "operationId": "replaceCoreV1NamespacedPersistentVolumeClaimStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Pod", - "operationId": "deleteCoreV1CollectionNamespacedPod", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Pod", - "operationId": "listCoreV1NamespacedPod", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Pod", - "operationId": "createCoreV1NamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Pod", - "operationId": "deleteCoreV1NamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Pod", - "operationId": "readCoreV1NamespacedPod", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Pod", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Pod", - "operationId": "patchCoreV1NamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Pod", - "operationId": "replaceCoreV1NamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/attach": { - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to attach of Pod", - "operationId": "connectCoreV1GetNamespacedPodAttach", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodAttachOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.", - "in": "query", - "name": "container", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the PodAttachOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.", - "in": "query", - "name": "stderr", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.", - "in": "query", - "name": "stdin", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.", - "in": "query", - "name": "stdout", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "tty", - "type": "boolean", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to attach of Pod", - "operationId": "connectCoreV1PostNamespacedPodAttach", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodAttachOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/binding": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the Binding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create binding of a Pod", - "operationId": "createCoreV1NamespacedPodBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Binding", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/eviction": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the Eviction", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create eviction of a Pod", - "operationId": "createCoreV1NamespacedPodEviction", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "Eviction", - "version": "v1beta1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/exec": { - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to exec of Pod", - "operationId": "connectCoreV1GetNamespacedPodExec", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodExecOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "Command is the remote command to execute. argv array. Not executed within a shell.", - "in": "query", - "name": "command", - "type": "string", - "uniqueItems": true - }, - { - "description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.", - "in": "query", - "name": "container", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the PodExecOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Redirect the standard error stream of the pod for this call. Defaults to true.", - "in": "query", - "name": "stderr", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Redirect the standard input stream of the pod for this call. Defaults to false.", - "in": "query", - "name": "stdin", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Redirect the standard output stream of the pod for this call. Defaults to true.", - "in": "query", - "name": "stdout", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.", - "in": "query", - "name": "tty", - "type": "boolean", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to exec of Pod", - "operationId": "connectCoreV1PostNamespacedPodExec", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodExecOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/log": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read log of the specified Pod", - "operationId": "readCoreV1NamespacedPodLog", - "produces": [ - "text/plain", - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.", - "in": "query", - "name": "container", - "type": "string", - "uniqueItems": true - }, - { - "description": "Follow the log stream of the pod. Defaults to false.", - "in": "query", - "name": "follow", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", - "in": "query", - "name": "limitBytes", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Pod", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "Return previous terminated container logs. Defaults to false.", - "in": "query", - "name": "previous", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", - "in": "query", - "name": "sinceSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", - "in": "query", - "name": "tailLines", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.", - "in": "query", - "name": "timestamps", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/namespaces/{namespace}/pods/{name}/portforward": { - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to portforward of Pod", - "operationId": "connectCoreV1GetNamespacedPodPortforward", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodPortForwardOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodPortForwardOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "List of ports to forward Required when using WebSockets", - "in": "query", - "name": "ports", - "type": "integer", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to portforward of Pod", - "operationId": "connectCoreV1PostNamespacedPodPortforward", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodPortForwardOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/proxy": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Pod", - "operationId": "connectCoreV1DeleteNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Pod", - "operationId": "connectCoreV1GetNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Pod", - "operationId": "connectCoreV1HeadNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Pod", - "operationId": "connectCoreV1OptionsNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the URL path to use for the current proxy request to pod.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Pod", - "operationId": "connectCoreV1PatchNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Pod", - "operationId": "connectCoreV1PostNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Pod", - "operationId": "connectCoreV1PutNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Pod", - "operationId": "connectCoreV1DeleteNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Pod", - "operationId": "connectCoreV1GetNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Pod", - "operationId": "connectCoreV1HeadNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Pod", - "operationId": "connectCoreV1OptionsNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "path to the resource", - "in": "path", - "name": "path", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the URL path to use for the current proxy request to pod.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Pod", - "operationId": "connectCoreV1PatchNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Pod", - "operationId": "connectCoreV1PostNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Pod", - "operationId": "connectCoreV1PutNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Pod", - "operationId": "readCoreV1NamespacedPodStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Pod", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Pod", - "operationId": "patchCoreV1NamespacedPodStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Pod", - "operationId": "replaceCoreV1NamespacedPodStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/podtemplates": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PodTemplate", - "operationId": "deleteCoreV1CollectionNamespacedPodTemplate", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodTemplate", - "operationId": "listCoreV1NamespacedPodTemplate", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PodTemplate", - "operationId": "createCoreV1NamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/podtemplates/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PodTemplate", - "operationId": "deleteCoreV1NamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PodTemplate", - "operationId": "readCoreV1NamespacedPodTemplate", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodTemplate", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PodTemplate", - "operationId": "patchCoreV1NamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PodTemplate", - "operationId": "replaceCoreV1NamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/replicationcontrollers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ReplicationController", - "operationId": "deleteCoreV1CollectionNamespacedReplicationController", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicationController", - "operationId": "listCoreV1NamespacedReplicationController", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ReplicationController", - "operationId": "createCoreV1NamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ReplicationController", - "operationId": "deleteCoreV1NamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ReplicationController", - "operationId": "readCoreV1NamespacedReplicationController", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ReplicationController", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ReplicationController", - "operationId": "patchCoreV1NamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ReplicationController", - "operationId": "replaceCoreV1NamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified ReplicationController", - "operationId": "readCoreV1NamespacedReplicationControllerScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified ReplicationController", - "operationId": "patchCoreV1NamespacedReplicationControllerScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified ReplicationController", - "operationId": "replaceCoreV1NamespacedReplicationControllerScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ReplicationController", - "operationId": "readCoreV1NamespacedReplicationControllerStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ReplicationController", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ReplicationController", - "operationId": "patchCoreV1NamespacedReplicationControllerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified ReplicationController", - "operationId": "replaceCoreV1NamespacedReplicationControllerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/resourcequotas": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceQuota", - "operationId": "deleteCoreV1CollectionNamespacedResourceQuota", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceQuota", - "operationId": "listCoreV1NamespacedResourceQuota", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ResourceQuota", - "operationId": "createCoreV1NamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/resourcequotas/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ResourceQuota", - "operationId": "deleteCoreV1NamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceQuota", - "operationId": "readCoreV1NamespacedResourceQuota", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ResourceQuota", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceQuota", - "operationId": "patchCoreV1NamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceQuota", - "operationId": "replaceCoreV1NamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ResourceQuota", - "operationId": "readCoreV1NamespacedResourceQuotaStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ResourceQuota", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ResourceQuota", - "operationId": "patchCoreV1NamespacedResourceQuotaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified ResourceQuota", - "operationId": "replaceCoreV1NamespacedResourceQuotaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/secrets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Secret", - "operationId": "deleteCoreV1CollectionNamespacedSecret", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Secret", - "operationId": "listCoreV1NamespacedSecret", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Secret", - "operationId": "createCoreV1NamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/secrets/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Secret", - "operationId": "deleteCoreV1NamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Secret", - "operationId": "readCoreV1NamespacedSecret", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Secret", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Secret", - "operationId": "patchCoreV1NamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Secret", - "operationId": "replaceCoreV1NamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/serviceaccounts": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ServiceAccount", - "operationId": "deleteCoreV1CollectionNamespacedServiceAccount", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ServiceAccount", - "operationId": "listCoreV1NamespacedServiceAccount", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ServiceAccount", - "operationId": "createCoreV1NamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/serviceaccounts/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ServiceAccount", - "operationId": "deleteCoreV1NamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ServiceAccount", - "operationId": "readCoreV1NamespacedServiceAccount", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ServiceAccount", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ServiceAccount", - "operationId": "patchCoreV1NamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ServiceAccount", - "operationId": "replaceCoreV1NamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the TokenRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create token of a ServiceAccount", - "operationId": "createCoreV1NamespacedServiceAccountToken", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenRequest", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Service", - "operationId": "listCoreV1NamespacedService", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Service", - "operationId": "createCoreV1NamespacedService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Service", - "operationId": "deleteCoreV1NamespacedService", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Service", - "operationId": "readCoreV1NamespacedService", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Service", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Service", - "operationId": "patchCoreV1NamespacedService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Service", - "operationId": "replaceCoreV1NamespacedService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services/{name}/proxy": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Service", - "operationId": "connectCoreV1DeleteNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Service", - "operationId": "connectCoreV1GetNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Service", - "operationId": "connectCoreV1HeadNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Service", - "operationId": "connectCoreV1OptionsNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ServiceProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Service", - "operationId": "connectCoreV1PatchNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Service", - "operationId": "connectCoreV1PostNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Service", - "operationId": "connectCoreV1PutNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Service", - "operationId": "connectCoreV1DeleteNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Service", - "operationId": "connectCoreV1GetNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Service", - "operationId": "connectCoreV1HeadNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Service", - "operationId": "connectCoreV1OptionsNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ServiceProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "path to the resource", - "in": "path", - "name": "path", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Service", - "operationId": "connectCoreV1PatchNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Service", - "operationId": "connectCoreV1PostNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Service", - "operationId": "connectCoreV1PutNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Service", - "operationId": "readCoreV1NamespacedServiceStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Service", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Service", - "operationId": "patchCoreV1NamespacedServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Service", - "operationId": "replaceCoreV1NamespacedServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Namespace", - "operationId": "deleteCoreV1Namespace", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Namespace", - "operationId": "readCoreV1Namespace", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Namespace", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Namespace", - "operationId": "patchCoreV1Namespace", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Namespace", - "operationId": "replaceCoreV1Namespace", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{name}/finalize": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the Namespace", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "put": { - "consumes": [ - "*/*" - ], - "description": "replace finalize of the specified Namespace", - "operationId": "replaceCoreV1NamespaceFinalize", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Namespace", - "operationId": "readCoreV1NamespaceStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Namespace", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Namespace", - "operationId": "patchCoreV1NamespaceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Namespace", - "operationId": "replaceCoreV1NamespaceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - } - }, - "/api/v1/nodes": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Node", - "operationId": "deleteCoreV1CollectionNode", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Node", - "operationId": "listCoreV1Node", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Node", - "operationId": "createCoreV1Node", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - } - }, - "/api/v1/nodes/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Node", - "operationId": "deleteCoreV1Node", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Node", - "operationId": "readCoreV1Node", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Node", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Node", - "operationId": "patchCoreV1Node", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Node", - "operationId": "replaceCoreV1Node", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - } - }, - "/api/v1/nodes/{name}/proxy": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Node", - "operationId": "connectCoreV1DeleteNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Node", - "operationId": "connectCoreV1GetNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Node", - "operationId": "connectCoreV1HeadNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Node", - "operationId": "connectCoreV1OptionsNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the NodeProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the URL path to use for the current proxy request to node.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true + "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). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "format": "int32", + "type": "integer" } + }, + "required": [ + "groupPriorityMinimum", + "versionPriority" ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Node", - "operationId": "connectCoreV1PatchNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } + "type": "object" + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus": { + "description": "APIServiceStatus contains derived information about an API server", + "properties": { + "conditions": { + "description": "Current service state of apiService.", + "items": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Node", - "operationId": "connectCoreV1PostNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "type": "object" + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "properties": { + "name": { + "description": "Name is the name of the service", + "type": "string" }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" + "namespace": { + "description": "Namespace is the namespace of the service", + "type": "string" + }, + "port": { + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", + "format": "int32", + "type": "integer" } }, - "put": { + "type": "object" + } + }, + "info": { + "title": "Kubernetes", + "version": "unversioned" + }, + "paths": { + "/api/": { + "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "connect PUT requests to proxy of Node", - "operationId": "connectCoreV1PutNodeProxy", + "description": "get available API versions", + "operationId": "getCoreAPIVersions", "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions" } }, "401": { @@ -32477,31 +18170,29 @@ "https" ], "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } + "core" + ] } }, - "/api/v1/nodes/{name}/proxy/{path}": { - "delete": { + "/api/v1/": { + "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "connect DELETE requests to proxy of Node", - "operationId": "connectCoreV1DeleteNodeProxyWithPath", + "description": "get available resources", + "operationId": "getCoreV1APIResources", "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -32513,28 +18204,28 @@ ], "tags": [ "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, + ] + } + }, + "/api/v1/componentstatuses": { "get": { "consumes": [ "*/*" ], - "description": "connect GET requests to proxy of Node", - "operationId": "connectCoreV1GetNodeProxyWithPath", + "description": "list objects of kind ComponentStatus", + "operationId": "listCoreV1ComponentStatus", "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatusList" } }, "401": { @@ -32547,151 +18238,96 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "connect", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "NodeProxyOptions", + "kind": "ComponentStatus", "version": "v1" } }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Node", - "operationId": "connectCoreV1HeadNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Node", - "operationId": "connectCoreV1OptionsNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "parameters": [ { - "description": "name of the NodeProxyOptions", - "in": "path", - "name": "name", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "path to the resource", - "in": "path", - "name": "path", - "required": true, + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, { - "description": "Path is the URL path to use for the current proxy request to node.", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", "in": "query", - "name": "path", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Node", - "operationId": "connectCoreV1PatchNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, - "post": { + ] + }, + "/api/v1/componentstatuses/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "connect POST requests to proxy of Node", - "operationId": "connectCoreV1PostNodeProxyWithPath", + "description": "read the specified ComponentStatus", + "operationId": "readCoreV1ComponentStatus", "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" } }, "401": { @@ -32704,64 +18340,50 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "connect", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", - "kind": "NodeProxyOptions", + "kind": "ComponentStatus", "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Node", - "operationId": "connectCoreV1PutNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "name of the ComponentStatus", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true } - } + ] }, - "/api/v1/nodes/{name}/status": { + "/api/v1/configmaps": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Node", - "operationId": "readCoreV1NodeStatus", + "description": "list or watch objects of kind ConfigMap", + "operationId": "listCoreV1ConfigMapForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapList" } }, "401": { @@ -32774,80 +18396,98 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "ConfigMap", "version": "v1" } }, "parameters": [ { - "description": "name of the Node", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/endpoints": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Node", - "operationId": "patchCoreV1NodeStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "list or watch objects of kind Endpoints", + "operationId": "listCoreV1EndpointsForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointsList" } }, "401": { @@ -32860,59 +18500,98 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "Endpoints", "version": "v1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/events": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified Node", - "operationId": "replaceCoreV1NodeStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind Event", + "operationId": "listCoreV1EventForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" + "$ref": "#/definitions/io.k8s.api.core.v1.EventList" } }, "401": { @@ -32925,21 +18604,86 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "Event", "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/api/v1/persistentvolumeclaims": { + "/api/v1/limitranges": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PersistentVolumeClaim", - "operationId": "listCoreV1PersistentVolumeClaimForAllNamespaces", + "description": "list or watch objects of kind LimitRange", + "operationId": "listCoreV1LimitRangeForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -32951,7 +18695,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimList" + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeList" } }, "401": { @@ -32967,13 +18711,13 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolumeClaim", + "kind": "LimitRange", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33037,28 +18781,21 @@ } ] }, - "/api/v1/persistentvolumes": { - "delete": { + "/api/v1/namespaces": { + "get": { "consumes": [ "*/*" ], - "description": "delete collection of PersistentVolume", - "operationId": "deleteCoreV1CollectionPersistentVolume", + "description": "list or watch objects of kind Namespace", + "operationId": "listCoreV1Namespace", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", "uniqueItems": true }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, { "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "in": "query", @@ -33066,13 +18803,6 @@ "type": "string", "uniqueItems": true }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, { "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", @@ -33080,13 +18810,6 @@ "type": "string", "uniqueItems": true }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -33101,20 +18824,6 @@ "type": "integer", "uniqueItems": true }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", "in": "query", @@ -33140,13 +18849,15 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceList" } }, "401": { @@ -33159,89 +18870,74 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "Namespace", "version": "v1" } }, - "get": { + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PersistentVolume", - "operationId": "listCoreV1PersistentVolume", + "description": "create a Namespace", + "operationId": "createCoreV1Namespace", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "labelSelector", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "resourceVersion", + "name": "fieldManager", "type": "string", "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeList" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "401": { @@ -33254,14 +18950,38 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "Namespace", "version": "v1" } - }, + } + }, + "/api/v1/namespaces/{namespace}/bindings": { "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -33274,30 +18994,16 @@ "consumes": [ "*/*" ], - "description": "create a PersistentVolume", - "operationId": "createCoreV1PersistentVolume", + "description": "create a Binding", + "operationId": "createCoreV1NamespacedBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -33309,19 +19015,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" } }, "401": { @@ -33337,19 +19043,26 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "Binding", "version": "v1" } } }, - "/api/v1/persistentvolumes/{name}": { + "/api/v1/namespaces/{namespace}/configmaps": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PersistentVolume", - "operationId": "deleteCoreV1PersistentVolume", + "description": "delete collection of ConfigMap", + "operationId": "deleteCoreV1CollectionNamespacedConfigMap", "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, { "in": "body", "name": "body", @@ -33357,6 +19070,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -33364,6 +19084,13 @@ "type": "string", "uniqueItems": true }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, { "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", @@ -33371,6 +19098,20 @@ "type": "integer", "uniqueItems": true }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "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", @@ -33384,6 +19125,27 @@ "name": "propagationPolicy", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -33398,12 +19160,6 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, "401": { "description": "Unauthorized" } @@ -33414,10 +19170,10 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "ConfigMap", "version": "v1" } }, @@ -33425,20 +19181,62 @@ "consumes": [ "*/*" ], - "description": "read the specified PersistentVolume", - "operationId": "readCoreV1PersistentVolume", + "description": "list or watch objects of kind ConfigMap", + "operationId": "listCoreV1NamespacedConfigMap", "parameters": [ { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", - "name": "exact", + "name": "allowWatchBookmarks", "type": "boolean", "uniqueItems": true }, { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", "in": "query", - "name": "export", + "name": "watch", "type": "boolean", "uniqueItems": true } @@ -33446,13 +19244,15 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapList" } }, "401": { @@ -33465,18 +19265,18 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "ConfigMap", "version": "v1" } }, "parameters": [ { - "description": "name of the PersistentVolume", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -33489,22 +19289,19 @@ "uniqueItems": true } ], - "patch": { + "post": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update the specified PersistentVolume", - "operationId": "patchCoreV1PersistentVolume", + "description": "create a ConfigMap", + "operationId": "createCoreV1NamespacedConfigMap", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" } }, { @@ -33515,18 +19312,11 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -33538,7 +19328,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" } }, "401": { @@ -33551,26 +19353,27 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "ConfigMap", "version": "v1" } - }, - "put": { + } + }, + "/api/v1/namespaces/{namespace}/configmaps/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "replace the specified PersistentVolume", - "operationId": "replaceCoreV1PersistentVolume", + "description": "delete a ConfigMap", + "operationId": "deleteCoreV1NamespacedConfigMap", "parameters": [ { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, { @@ -33581,9 +19384,23 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "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", - "name": "fieldManager", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", "type": "string", "uniqueItems": true } @@ -33597,13 +19414,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, - "201": { - "description": "Created", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -33616,21 +19433,35 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "ConfigMap", "version": "v1" } - } - }, - "/api/v1/persistentvolumes/{name}/status": { + }, "get": { "consumes": [ "*/*" ], - "description": "read status of the specified PersistentVolume", - "operationId": "readCoreV1PersistentVolumeStatus", + "description": "read the specified ConfigMap", + "operationId": "readCoreV1NamespacedConfigMap", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -33640,7 +19471,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" } }, "401": { @@ -33656,19 +19487,27 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "ConfigMap", "version": "v1" } }, "parameters": [ { - "description": "name of the PersistentVolume", + "description": "name of the ConfigMap", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -33684,8 +19523,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified PersistentVolume", - "operationId": "patchCoreV1PersistentVolumeStatus", + "description": "partially update the specified ConfigMap", + "operationId": "patchCoreV1NamespacedConfigMap", "parameters": [ { "in": "body", @@ -33726,7 +19565,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" } }, "401": { @@ -33742,7 +19581,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "ConfigMap", "version": "v1" } }, @@ -33750,15 +19589,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified PersistentVolume", - "operationId": "replaceCoreV1PersistentVolumeStatus", + "description": "replace the specified ConfigMap", + "operationId": "replaceCoreV1NamespacedConfigMap", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" } }, { @@ -33777,372 +19616,21 @@ } ], "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - } - }, - "/api/v1/pods": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Pod", - "operationId": "listCoreV1PodForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/podtemplates": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodTemplate", - "operationId": "listCoreV1PodTemplateForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/replicationcontrollers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicationController", - "operationId": "listCoreV1ReplicationControllerForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/resourcequotas": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceQuota", - "operationId": "listCoreV1ResourceQuotaForAllNamespaces", - "produces": [ - "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" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaList" + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" } }, "401": { @@ -34155,98 +19643,124 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ResourceQuota", + "kind": "ConfigMap", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/secrets": { - "get": { + "/api/v1/namespaces/{namespace}/endpoints": { + "delete": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Secret", - "operationId": "listCoreV1SecretForAllNamespaces", + "description": "delete collection of Endpoints", + "operationId": "deleteCoreV1CollectionNamespacedEndpoints", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -34259,86 +19773,77 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Secret", + "kind": "Endpoints", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/serviceaccounts": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ServiceAccount", - "operationId": "listCoreV1ServiceAccountForAllNamespaces", + "description": "list or watch objects of kind Endpoints", + "operationId": "listCoreV1NamespacedEndpoints", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -34350,7 +19855,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountList" + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointsList" } }, "401": { @@ -34366,95 +19871,79 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ServiceAccount", + "kind": "Endpoints", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/services": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Service", - "operationId": "listCoreV1ServiceForAllNamespaces", + "description": "create Endpoints", + "operationId": "createCoreV1NamespacedEndpoints", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" } }, "401": { @@ -34467,98 +19956,74 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "Endpoints", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/watch/configmaps": { - "get": { + "/api/v1/namespaces/{namespace}/endpoints/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ConfigMapListForAllNamespaces", + "description": "delete Endpoints", + "operationId": "deleteCoreV1NamespacedEndpoints", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -34571,98 +20036,45 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ConfigMap", + "kind": "Endpoints", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/endpoints": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1EndpointsListForAllNamespaces", + "description": "read the specified Endpoints", + "operationId": "readCoreV1NamespacedEndpoints", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" } }, "401": { @@ -34675,7 +20087,7 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", "kind": "Endpoints", @@ -34684,89 +20096,79 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the Endpoints", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/events": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified Endpoints", + "operationId": "patchCoreV1NamespacedEndpoints", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1EventListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" } }, "401": { @@ -34779,98 +20181,59 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Event", + "kind": "Endpoints", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/limitranges": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1LimitRangeListForAllNamespaces", + "description": "replace the specified Endpoints", + "operationId": "replaceCoreV1NamespacedEndpoints", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" } }, "401": { @@ -34883,98 +20246,124 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "", - "kind": "LimitRange", + "kind": "Endpoints", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/watch/namespaces": { - "get": { + "/api/v1/namespaces/{namespace}/events": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Namespace. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespaceList", + "description": "delete collection of Event", + "operationId": "deleteCoreV1CollectionNamespacedEvent", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -34987,86 +20376,77 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Namespace", + "kind": "Event", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/configmaps": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedConfigMapList", + "description": "list or watch objects of kind Event", + "operationId": "listCoreV1NamespacedEvent", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -35078,7 +20458,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.EventList" } }, "401": { @@ -35091,49 +20471,14 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ConfigMap", + "kind": "Event", "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -35148,169 +20493,60 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedConfigMap", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", + "description": "create an Event", + "operationId": "createCoreV1NamespacedEvent", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Event" } }, - "401": { - "description": "Unauthorized" + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ConfigMap", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/endpoints": { - "get": { - "consumes": [ - "*/*" ], - "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedEndpointsList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" } }, "401": { @@ -35323,106 +20559,74 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Endpoints", + "kind": "Event", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { - "get": { + "/api/v1/namespaces/{namespace}/events/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Endpoints. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedEndpoints", + "description": "delete an Event", + "operationId": "deleteCoreV1NamespacedEvent", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -35435,114 +20639,45 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Endpoints", + "kind": "Event", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Endpoints", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/events": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedEventList", + "description": "read the specified Event", + "operationId": "readCoreV1NamespacedEvent", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Event" } }, "401": { @@ -35555,7 +20690,7 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", "kind": "Event", @@ -35564,40 +20699,13 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the Event", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -35612,49 +20720,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/namespaces/{namespace}/events/{name}": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified Event", + "operationId": "patchCoreV1NamespacedEvent", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedEvent", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Event" } }, "401": { @@ -35667,114 +20784,59 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "", "kind": "Event", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/limitranges": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedLimitRangeList", + "description": "replace the specified Event", + "operationId": "replaceCoreV1NamespacedEvent", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" } }, "401": { @@ -35787,106 +20849,124 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "", - "kind": "LimitRange", + "kind": "Event", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { - "get": { + "/api/v1/namespaces/{namespace}/limitranges": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind LimitRange. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedLimitRange", + "description": "delete collection of LimitRange", + "operationId": "deleteCoreV1CollectionNamespacedLimitRange", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -35899,102 +20979,77 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "", "kind": "LimitRange", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the LimitRange", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedPersistentVolumeClaimList", + "description": "list or watch objects of kind LimitRange", + "operationId": "listCoreV1NamespacedLimitRange", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -36006,7 +21061,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeList" } }, "401": { @@ -36019,49 +21074,14 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolumeClaim", + "kind": "LimitRange", "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -36076,49 +21096,60 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedPersistentVolumeClaim", + "description": "create a LimitRange", + "operationId": "createCoreV1NamespacedLimitRange", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" } }, "401": { @@ -36131,114 +21162,74 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolumeClaim", + "kind": "LimitRange", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PersistentVolumeClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/watch/namespaces/{namespace}/pods": { - "get": { + "/api/v1/namespaces/{namespace}/limitranges/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedPodList", + "description": "delete a LimitRange", + "operationId": "deleteCoreV1NamespacedLimitRange", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -36251,106 +21242,45 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "LimitRange", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/pods/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Pod. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedPod", + "description": "read the specified LimitRange", + "operationId": "readCoreV1NamespacedLimitRange", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" } }, "401": { @@ -36363,51 +21293,16 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "LimitRange", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Pod", + "description": "name of the LimitRange", "in": "path", "name": "name", "required": true, @@ -36428,49 +21323,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/namespaces/{namespace}/podtemplates": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified LimitRange", + "operationId": "patchCoreV1NamespacedLimitRange", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedPodTemplateList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" } }, "401": { @@ -36483,106 +21387,189 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PodTemplate", + "kind": "LimitRange", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified LimitRange", + "operationId": "replaceCoreV1NamespacedLimitRange", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } - ] + } }, - "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { - "get": { + "/api/v1/namespaces/{namespace}/persistentvolumeclaims": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PodTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedPodTemplate", + "description": "delete collection of PersistentVolumeClaim", + "operationId": "deleteCoreV1CollectionNamespacedPersistentVolumeClaim", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -36595,102 +21582,77 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PodTemplate", + "kind": "PersistentVolumeClaim", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodTemplate", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedReplicationControllerList", + "description": "list or watch objects of kind PersistentVolumeClaim", + "operationId": "listCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -36702,7 +21664,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimList" } }, "401": { @@ -36715,49 +21677,14 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ReplicationController", + "kind": "PersistentVolumeClaim", "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -36772,49 +21699,60 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ReplicationController. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedReplicationController", + "description": "create a PersistentVolumeClaim", + "operationId": "createCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" } }, "401": { @@ -36827,114 +21765,74 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ReplicationController", + "kind": "PersistentVolumeClaim", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ReplicationController", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/watch/namespaces/{namespace}/resourcequotas": { - "get": { + "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedResourceQuotaList", + "description": "delete a PersistentVolumeClaim", + "operationId": "deleteCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" } }, "401": { @@ -36947,106 +21845,45 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ResourceQuota", + "kind": "PersistentVolumeClaim", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedResourceQuota", + "description": "read the specified PersistentVolumeClaim", + "operationId": "readCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" } }, "401": { @@ -37059,51 +21896,16 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ResourceQuota", + "kind": "PersistentVolumeClaim", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ResourceQuota", + "description": "name of the PersistentVolumeClaim", "in": "path", "name": "name", "required": true, @@ -37124,49 +21926,160 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified PersistentVolumeClaim", + "operationId": "patchCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified PersistentVolumeClaim", + "operationId": "replaceCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } - ] + } }, - "/api/v1/watch/namespaces/{namespace}/secrets": { + "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedSecretList", + "description": "read status of the specified PersistentVolumeClaim", + "operationId": "readCoreV1NamespacedPersistentVolumeClaimStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" } }, "401": { @@ -37179,49 +22092,22 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Secret", + "kind": "PersistentVolumeClaim", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the PersistentVolumeClaim", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -37236,49 +22122,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified PersistentVolumeClaim", + "operationId": "patchCoreV1NamespacedPersistentVolumeClaimStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch changes to an object of kind Secret. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedSecret", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" } }, "401": { @@ -37291,114 +22186,189 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Secret", + "kind": "PersistentVolumeClaim", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Secret", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified PersistentVolumeClaim", + "operationId": "replaceCoreV1NamespacedPersistentVolumeClaimStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } - ] + } }, - "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { - "get": { + "/api/v1/namespaces/{namespace}/pods": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedServiceAccountList", + "description": "delete collection of Pod", + "operationId": "deleteCoreV1CollectionNamespacedPod", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -37411,94 +22381,77 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ServiceAccount", + "kind": "Pod", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedServiceAccount", + "description": "list or watch objects of kind Pod", + "operationId": "listCoreV1NamespacedPod", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -37510,7 +22463,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PodList" } }, "401": { @@ -37523,57 +22476,14 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ServiceAccount", + "kind": "Pod", "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ServiceAccount", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -37588,49 +22498,60 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/namespaces/{namespace}/services": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedServiceList", + "description": "create a Pod", + "operationId": "createCoreV1NamespacedPod", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "401": { @@ -37643,106 +22564,74 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "Pod", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/watch/namespaces/{namespace}/services/{name}": { - "get": { + "/api/v1/namespaces/{namespace}/pods/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Service. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedService", + "description": "delete a Pod", + "operationId": "deleteCoreV1NamespacedPod", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "401": { @@ -37755,114 +22644,45 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "Pod", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Service", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Namespace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1Namespace", + "description": "read the specified Pod", + "operationId": "readCoreV1NamespacedPod", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "401": { @@ -37875,53 +22695,26 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Namespace", + "kind": "Pod", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the Pod", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Namespace", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -37932,49 +22725,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/nodes": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified Pod", + "operationId": "patchCoreV1NamespacedPod", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of Node. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NodeList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "401": { @@ -37987,98 +22789,59 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "Pod", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/nodes/{name}": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Node. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1Node", + "description": "replace the specified Pod", + "operationId": "replaceCoreV1NamespacedPod", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "401": { @@ -38091,106 +22854,29 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "Pod", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Node", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/api/v1/watch/persistentvolumeclaims": { + "/api/v1/namespaces/{namespace}/pods/{name}/attach": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1PersistentVolumeClaimListForAllNamespaces", + "description": "connect GET requests to attach of Pod", + "operationId": "connectCoreV1GetNamespacedPodAttach", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -38203,98 +22889,80 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolumeClaim", + "kind": "PodAttachOptions", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.", "in": "query", - "name": "continue", + "name": "container", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the PodAttachOptions", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", + "description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.", "in": "query", - "name": "pretty", - "type": "string", + "name": "stderr", + "type": "boolean", "uniqueItems": 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.", + "description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.", "in": "query", - "name": "resourceVersion", - "type": "string", + "name": "stdin", + "type": "boolean", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.", "in": "query", - "name": "timeoutSeconds", - "type": "integer", + "name": "stdout", + "type": "boolean", "uniqueItems": true }, { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "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.", "in": "query", - "name": "watch", + "name": "tty", "type": "boolean", "uniqueItems": true } - ] - }, - "/api/v1/watch/persistentvolumes": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1PersistentVolumeList", + "description": "connect POST requests to attach of Pod", + "operationId": "connectCoreV1PostNamespacedPodAttach", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -38307,47 +22975,44 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "PodAttachOptions", "version": "v1" } - }, + } + }, + "/api/v1/namespaces/{namespace}/pods/{name}/binding": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "continue", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "fieldSelector", + "name": "fieldManager", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the Binding", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", "uniqueItems": true }, { @@ -38356,49 +23021,46 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/api/v1/watch/persistentvolumes/{name}": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1PersistentVolume", + "description": "create binding of a Pod", + "operationId": "createCoreV1NamespacedPodBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" } }, "401": { @@ -38411,53 +23073,42 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PersistentVolume", + "kind": "Binding", "version": "v1" } - }, + } + }, + "/api/v1/namespaces/{namespace}/pods/{name}/eviction": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "continue", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "fieldSelector", + "name": "fieldManager", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the Eviction", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PersistentVolume", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -38468,49 +23119,81 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create eviction of a Pod", + "operationId": "createCoreV1NamespacedPodEviction", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" + } + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "Eviction", + "version": "v1beta1" } - ] + } }, - "/api/v1/watch/pods": { + "/api/v1/namespaces/{namespace}/pods/{name}/exec": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1PodListForAllNamespaces", + "description": "connect GET requests to exec of Pod", + "operationId": "connectCoreV1GetNamespacedPodExec", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -38523,98 +23206,125 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodExecOptions", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "Command is the remote command to execute. argv array. Not executed within a shell.", "in": "query", - "name": "continue", + "name": "command", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.", "in": "query", - "name": "fieldSelector", + "name": "container", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the PodExecOptions", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "Redirect the standard error stream of the pod for this call. Defaults to true.", "in": "query", - "name": "pretty", - "type": "string", + "name": "stderr", + "type": "boolean", "uniqueItems": 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.", + "description": "Redirect the standard input stream of the pod for this call. Defaults to false.", "in": "query", - "name": "resourceVersion", - "type": "string", + "name": "stdin", + "type": "boolean", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "description": "Redirect the standard output stream of the pod for this call. Defaults to true.", "in": "query", - "name": "timeoutSeconds", - "type": "integer", + "name": "stdout", + "type": "boolean", "uniqueItems": true }, { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.", "in": "query", - "name": "watch", + "name": "tty", "type": "boolean", "uniqueItems": true } - ] + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "connect POST requests to exec of Pod", + "operationId": "connectCoreV1PostNamespacedPodExec", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodExecOptions", + "version": "v1" + } + } }, - "/api/v1/watch/podtemplates": { + "/api/v1/namespaces/{namespace}/pods/{name}/log": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1PodTemplateListForAllNamespaces", + "description": "read log of the specified Pod", + "operationId": "readCoreV1NamespacedPodLog", "produces": [ + "text/plain", "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -38627,47 +23337,56 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "", - "kind": "PodTemplate", + "kind": "Pod", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.", "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", + "name": "container", + "type": "string", "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "Follow the log stream of the pod. Defaults to false.", "in": "query", - "name": "continue", - "type": "string", + "name": "follow", + "type": "boolean", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).", "in": "query", - "name": "fieldSelector", - "type": "string", + "name": "insecureSkipTLSVerifyBackend", + "type": "boolean", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", "in": "query", - "name": "labelSelector", + "name": "limitBytes", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Pod", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", "uniqueItems": true }, { @@ -38678,47 +23397,50 @@ "uniqueItems": 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.", + "description": "Return previous terminated container logs. Defaults to false.", "in": "query", - "name": "resourceVersion", - "type": "string", + "name": "previous", + "type": "boolean", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", "in": "query", - "name": "timeoutSeconds", + "name": "sinceSeconds", "type": "integer", "uniqueItems": true }, { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", "in": "query", - "name": "watch", + "name": "tailLines", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.", + "in": "query", + "name": "timestamps", "type": "boolean", "uniqueItems": true } ] }, - "/api/v1/watch/replicationcontrollers": { + "/api/v1/namespaces/{namespace}/pods/{name}/portforward": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ReplicationControllerListForAllNamespaces", + "description": "connect GET requests to portforward of Pod", + "operationId": "connectCoreV1GetNamespacedPodPortforward", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -38731,98 +23453,87 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ReplicationController", + "kind": "PodPortForwardOptions", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", + "description": "name of the PodPortForwardOptions", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "description": "List of ports to forward Required when using WebSockets", "in": "query", - "name": "timeoutSeconds", + "name": "ports", "type": "integer", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "connect POST requests to portforward of Pod", + "operationId": "connectCoreV1PostNamespacedPodPortforward", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodPortForwardOptions", + "version": "v1" } - ] + } }, - "/api/v1/watch/resourcequotas": { - "get": { + "/api/v1/namespaces/{namespace}/pods/{name}/proxy": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ResourceQuotaListForAllNamespaces", + "description": "connect DELETE requests to proxy of Pod", + "operationId": "connectCoreV1DeleteNamespacedPodProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -38835,98 +23546,93 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ResourceQuota", + "kind": "PodProxyOptions", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "get": { + "consumes": [ + "*/*" + ], + "description": "connect GET requests to proxy of Pod", + "operationId": "connectCoreV1GetNamespacedPodProxy", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "head": { + "consumes": [ + "*/*" + ], + "description": "connect HEAD requests to proxy of Pod", + "operationId": "connectCoreV1HeadNamespacedPodProxy", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" } - ] - }, - "/api/v1/watch/secrets": { - "get": { + }, + "options": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1SecretListForAllNamespaces", + "description": "connect OPTIONS requests to proxy of Pod", + "operationId": "connectCoreV1OptionsNamespacedPodProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -38939,98 +23645,52 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Secret", + "kind": "PodProxyOptions", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", + "description": "name of the PodProxyOptions", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", + "description": "Path is the URL path to use for the current proxy request to pod.", + "in": "query", + "name": "path", + "type": "string", "uniqueItems": true } - ] - }, - "/api/v1/watch/serviceaccounts": { - "get": { + ], + "patch": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ServiceAccountListForAllNamespaces", + "description": "connect PATCH requests to proxy of Pod", + "operationId": "connectCoreV1PatchNamespacedPodProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -39043,98 +23703,27 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "ServiceAccount", + "kind": "PodProxyOptions", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/services": { - "get": { + "post": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ServiceListForAllNamespaces", + "description": "connect POST requests to proxy of Pod", + "operationId": "connectCoreV1PostNamespacedPodProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -39147,98 +23736,27 @@ "tags": [ "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "PodProxyOptions", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/": { - "get": { + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available API versions", - "operationId": "getAPIVersions", + "description": "connect PUT requests to proxy of Pod", + "operationId": "connectCoreV1PutNamespacedPodProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList" + "type": "string" } }, "401": { @@ -39249,29 +23767,31 @@ "https" ], "tags": [ - "apis" - ] + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } } }, - "/apis/admissionregistration.k8s.io/": { - "get": { + "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": { + "delete": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get information of a group", - "operationId": "getAdmissionregistrationAPIGroup", + "description": "connect DELETE requests to proxy of Pod", + "operationId": "connectCoreV1DeleteNamespacedPodProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "type": "string" } }, "401": { @@ -39282,29 +23802,29 @@ "https" ], "tags": [ - "admissionregistration" - ] - } - }, - "/apis/admissionregistration.k8s.io/v1/": { + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available resources", - "operationId": "getAdmissionregistrationV1APIResources", + "description": "connect GET requests to proxy of Pod", + "operationId": "connectCoreV1GetNamespacedPodProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "type": "string" } }, "401": { @@ -39315,120 +23835,29 @@ "https" ], "tags": [ - "admissionregistration_v1" - ] - } - }, - "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations": { - "delete": { + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "head": { "consumes": [ "*/*" ], - "description": "delete collection of MutatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "connect HEAD requests to proxy of Pod", + "operationId": "connectCoreV1HeadNamespacedPodProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "type": "string" } }, "401": { @@ -39439,91 +23868,29 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "PodProxyOptions", "version": "v1" } }, - "get": { + "options": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind MutatingWebhookConfiguration", - "operationId": "listAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "connect OPTIONS requests to proxy of Pod", + "operationId": "connectCoreV1OptionsNamespacedPodProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList" + "type": "string" } }, "401": { @@ -39534,76 +23901,62 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "PodProxyOptions", "version": "v1" } }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", + "description": "name of the PodProxyOptions", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a MutatingWebhookConfiguration", - "operationId": "createAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "path to the resource", + "in": "path", + "name": "path", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "Path is the URL path to use for the current proxy request to pod.", + "in": "query", + "name": "path", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "*/*" ], + "description": "connect PATCH requests to proxy of Pod", + "operationId": "connectCoreV1PatchNamespacedPodProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "type": "string" } }, "401": { @@ -39614,76 +23967,62 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "PodProxyOptions", "version": "v1" } - } - }, - "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}": { - "delete": { + }, + "post": { "consumes": [ "*/*" ], - "description": "delete a MutatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", + "description": "connect POST requests to proxy of Pod", + "operationId": "connectCoreV1PostNamespacedPodProxyWithPath", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "type": "string" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" ], + "description": "connect PUT requests to proxy of Pod", + "operationId": "connectCoreV1PutNamespacedPodProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "type": "string" } }, "401": { @@ -39694,37 +24033,23 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "PodProxyOptions", "version": "v1" } - }, + } + }, + "/api/v1/namespaces/{namespace}/pods/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified MutatingWebhookConfiguration", - "operationId": "readAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified Pod", + "operationId": "readCoreV1NamespacedPodStatus", "produces": [ "application/json", "application/yaml", @@ -39734,7 +24059,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "401": { @@ -39745,24 +24070,32 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "Pod", "version": "v1" } }, "parameters": [ { - "description": "name of the MutatingWebhookConfiguration", + "description": "name of the Pod", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -39778,8 +24111,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified MutatingWebhookConfiguration", - "operationId": "patchAdmissionregistrationV1MutatingWebhookConfiguration", + "description": "partially update status of the specified Pod", + "operationId": "patchCoreV1NamespacedPodStatus", "parameters": [ { "in": "body", @@ -39820,7 +24153,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "401": { @@ -39831,12 +24164,12 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "Pod", "version": "v1" } }, @@ -39844,15 +24177,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified MutatingWebhookConfiguration", - "operationId": "replaceAdmissionregistrationV1MutatingWebhookConfiguration", + "description": "replace status of the specified Pod", + "operationId": "replaceCoreV1NamespacedPodStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, { @@ -39879,13 +24212,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, "401": { @@ -39896,26 +24229,26 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "Pod", "version": "v1" } } }, - "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations": { + "/api/v1/namespaces/{namespace}/podtemplates": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ValidatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration", + "description": "delete collection of PodTemplate", + "operationId": "deleteCoreV1CollectionNamespacedPodTemplate", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40026,12 +24359,12 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", + "group": "", + "kind": "PodTemplate", "version": "v1" } }, @@ -40039,11 +24372,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ValidatingWebhookConfiguration", - "operationId": "listAdmissionregistrationV1ValidatingWebhookConfiguration", + "description": "list or watch objects of kind PodTemplate", + "operationId": "listCoreV1NamespacedPodTemplate", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40110,7 +24443,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateList" } }, "401": { @@ -40121,325 +24454,45 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ValidatingWebhookConfiguration", - "operationId": "createAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ValidatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ValidatingWebhookConfiguration", - "operationId": "readAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", + "group": "", + "kind": "PodTemplate", "version": "v1" } }, "parameters": [ { - "description": "name of the ValidatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ValidatingWebhookConfiguration", - "operationId": "patchAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true } - }, - "put": { + ], + "post": { "consumes": [ "*/*" ], - "description": "replace the specified ValidatingWebhookConfiguration", - "operationId": "replaceAdmissionregistrationV1ValidatingWebhookConfiguration", + "description": "create a PodTemplate", + "operationId": "createCoreV1NamespacedPodTemplate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" } }, { @@ -40466,13 +24519,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" } }, "401": { @@ -40483,35 +24542,76 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", + "group": "", + "kind": "PodTemplate", "version": "v1" } } }, - "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations": { - "get": { + "/api/v1/namespaces/{namespace}/podtemplates/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1MutatingWebhookConfigurationList", + "description": "delete a PodTemplate", + "operationId": "deleteCoreV1NamespacedPodTemplate", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" } }, "401": { @@ -40522,100 +24622,47 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "PodTemplate", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1MutatingWebhookConfiguration", + "description": "read the specified PodTemplate", + "operationId": "readCoreV1NamespacedPodTemplate", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" } }, "401": { @@ -40626,55 +24673,28 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", + "group": "", + "kind": "PodTemplate", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the PodTemplate", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the MutatingWebhookConfiguration", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -40685,153 +24705,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations": { - "get": { + ], + "patch": { "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1ValidatingWebhookConfigurationList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "responses": { - "200": { - "description": "OK", + "description": "partially update the specified PodTemplate", + "operationId": "patchCoreV1NamespacedPodTemplate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } }, - "401": { - "description": "Unauthorized" + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}": { - "get": { - "consumes": [ - "*/*" ], - "description": "watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1ValidatingWebhookConfiguration", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" } }, "401": { @@ -40842,98 +24767,45 @@ "https" ], "tags": [ - "admissionregistration_v1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", + "group": "", + "kind": "PodTemplate", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ValidatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1beta1/": { - "get": { + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified PodTemplate", + "operationId": "replaceCoreV1NamespacedPodTemplate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getAdmissionregistrationV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -40943,7 +24815,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" } }, "401": { @@ -40954,20 +24832,26 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" - ] + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } } }, - "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations": { + "/api/v1/namespaces/{namespace}/replicationcontrollers": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of MutatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration", + "description": "delete collection of ReplicationController", + "operationId": "deleteCoreV1CollectionNamespacedReplicationController", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41078,24 +24962,24 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind MutatingWebhookConfiguration", - "operationId": "listAdmissionregistrationV1beta1MutatingWebhookConfiguration", + "description": "list or watch objects of kind ReplicationController", + "operationId": "listCoreV1NamespacedReplicationController", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41162,7 +25046,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerList" } }, "401": { @@ -41173,16 +25057,24 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -41195,15 +25087,15 @@ "consumes": [ "*/*" ], - "description": "create a MutatingWebhookConfiguration", - "operationId": "createAdmissionregistrationV1beta1MutatingWebhookConfiguration", + "description": "create a ReplicationController", + "operationId": "createCoreV1NamespacedReplicationController", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, { @@ -41230,19 +25122,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, "401": { @@ -41253,23 +25145,23 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ReplicationController", + "version": "v1" } } }, - "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}": { + "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a MutatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration", + "description": "delete a ReplicationController", + "operationId": "deleteCoreV1NamespacedReplicationController", "parameters": [ { "in": "body", @@ -41333,21 +25225,21 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified MutatingWebhookConfiguration", - "operationId": "readAdmissionregistrationV1beta1MutatingWebhookConfiguration", + "description": "read the specified ReplicationController", + "operationId": "readCoreV1NamespacedReplicationController", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -41373,7 +25265,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, "401": { @@ -41384,20 +25276,420 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the ReplicationController", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified ReplicationController", + "operationId": "patchCoreV1NamespacedReplicationController", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified ReplicationController", + "operationId": "replaceCoreV1NamespacedReplicationController", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + } + }, + "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read scale of the specified ReplicationController", + "operationId": "readCoreV1NamespacedReplicationControllerScale", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the Scale", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update scale of the specified ReplicationController", + "operationId": "patchCoreV1NamespacedReplicationControllerScale", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace scale of the specified ReplicationController", + "operationId": "replaceCoreV1NamespacedReplicationControllerScale", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + } + }, + "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified ReplicationController", + "operationId": "readCoreV1NamespacedReplicationControllerStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "parameters": [ { - "description": "name of the MutatingWebhookConfiguration", + "description": "name of the ReplicationController", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -41417,8 +25709,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified MutatingWebhookConfiguration", - "operationId": "patchAdmissionregistrationV1beta1MutatingWebhookConfiguration", + "description": "partially update status of the specified ReplicationController", + "operationId": "patchCoreV1NamespacedReplicationControllerStatus", "parameters": [ { "in": "body", @@ -41459,7 +25751,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, "401": { @@ -41470,28 +25762,28 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified MutatingWebhookConfiguration", - "operationId": "replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration", + "description": "replace status of the specified ReplicationController", + "operationId": "replaceCoreV1NamespacedReplicationControllerStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, { @@ -41518,13 +25810,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, "401": { @@ -41535,26 +25827,26 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ReplicationController", + "version": "v1" } } }, - "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations": { + "/api/v1/namespaces/{namespace}/resourcequotas": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ValidatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration", + "description": "delete collection of ResourceQuota", + "operationId": "deleteCoreV1CollectionNamespacedResourceQuota", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41665,24 +25957,24 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ValidatingWebhookConfiguration", - "operationId": "listAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "description": "list or watch objects of kind ResourceQuota", + "operationId": "listCoreV1NamespacedResourceQuota", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41749,7 +26041,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaList" } }, "401": { @@ -41760,16 +26052,24 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -41782,15 +26082,15 @@ "consumes": [ "*/*" ], - "description": "create a ValidatingWebhookConfiguration", - "operationId": "createAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "description": "create a ResourceQuota", + "operationId": "createCoreV1NamespacedResourceQuota", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, { @@ -41817,19 +26117,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "401": { @@ -41840,23 +26140,23 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ResourceQuota", + "version": "v1" } } }, - "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}": { + "/api/v1/namespaces/{namespace}/resourcequotas/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ValidatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "description": "delete a ResourceQuota", + "operationId": "deleteCoreV1NamespacedResourceQuota", "parameters": [ { "in": "body", @@ -41903,13 +26203,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "401": { @@ -41920,21 +26220,21 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified ValidatingWebhookConfiguration", - "operationId": "readAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "description": "read the specified ResourceQuota", + "operationId": "readCoreV1NamespacedResourceQuota", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -41960,7 +26260,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "401": { @@ -41971,24 +26271,32 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "parameters": [ { - "description": "name of the ValidatingWebhookConfiguration", + "description": "name of the ResourceQuota", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -42004,8 +26312,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ValidatingWebhookConfiguration", - "operationId": "patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "description": "partially update the specified ResourceQuota", + "operationId": "patchCoreV1NamespacedResourceQuota", "parameters": [ { "in": "body", @@ -42046,7 +26354,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "401": { @@ -42057,28 +26365,28 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified ValidatingWebhookConfiguration", - "operationId": "replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "description": "replace the specified ResourceQuota", + "operationId": "replaceCoreV1NamespacedResourceQuota", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, { @@ -42105,13 +26413,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "401": { @@ -42122,35 +26430,33 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ResourceQuota", + "version": "v1" } } }, - "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations": { + "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList", + "description": "read status of the specified ResourceQuota", + "operationId": "readCoreV1NamespacedResourceQuotaStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, "401": { @@ -42161,88 +26467,368 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the ResourceQuota", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified ResourceQuota", + "operationId": "patchCoreV1NamespacedResourceQuotaStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified ResourceQuota", + "operationId": "replaceCoreV1NamespacedResourceQuotaStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } - ] + } }, - "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}": { + "/api/v1/namespaces/{namespace}/secrets": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of Secret", + "operationId": "deleteCoreV1CollectionNamespacedSecret", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1beta1MutatingWebhookConfiguration", + "description": "list or watch objects of kind Secret", + "operationId": "listCoreV1NamespacedSecret", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -42254,7 +26840,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.SecretList" } }, "401": { @@ -42265,55 +26851,20 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "Secret", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the MutatingWebhookConfiguration", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -42324,49 +26875,140 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a Secret", + "operationId": "createCoreV1NamespacedSecret", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } - ] + } }, - "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations": { - "get": { + "/api/v1/namespaces/{namespace}/secrets/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList", + "description": "delete a Secret", + "operationId": "deleteCoreV1NamespacedSecret", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -42377,100 +27019,47 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "Secret", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "description": "read the specified Secret", + "operationId": "readCoreV1NamespacedSecret", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" } }, "401": { @@ -42481,55 +27070,28 @@ "https" ], "tags": [ - "admissionregistration_v1beta1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" + "group": "", + "kind": "Secret", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the Secret", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ValidatingWebhookConfiguration", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -42540,39 +27102,48 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apiextensions.k8s.io/": { - "get": { + ], + "patch": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified Secret", + "operationId": "patchCoreV1NamespacedSecret", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get information of a group", - "operationId": "getApiextensionsAPIGroup", "produces": [ "application/json", "application/yaml", @@ -42582,7 +27153,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" } }, "401": { @@ -42593,19 +27164,45 @@ "https" ], "tags": [ - "apiextensions" - ] - } - }, - "/apis/apiextensions.k8s.io/v1/": { - "get": { + "core_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified Secret", + "operationId": "replaceCoreV1NamespacedSecret", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getApiextensionsV1APIResources", "produces": [ "application/json", "application/yaml", @@ -42615,7 +27212,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" } }, "401": { @@ -42626,20 +27229,26 @@ "https" ], "tags": [ - "apiextensions_v1" - ] + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } } }, - "/apis/apiextensions.k8s.io/v1/customresourcedefinitions": { + "/api/v1/namespaces/{namespace}/serviceaccounts": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of CustomResourceDefinition", - "operationId": "deleteApiextensionsV1CollectionCustomResourceDefinition", + "description": "delete collection of ServiceAccount", + "operationId": "deleteCoreV1CollectionNamespacedServiceAccount", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42750,12 +27359,12 @@ "https" ], "tags": [ - "apiextensions_v1" + "core_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, @@ -42763,11 +27372,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind CustomResourceDefinition", - "operationId": "listApiextensionsV1CustomResourceDefinition", + "description": "list or watch objects of kind ServiceAccount", + "operationId": "listCoreV1NamespacedServiceAccount", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42834,7 +27443,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountList" } }, "401": { @@ -42845,16 +27454,24 @@ "https" ], "tags": [ - "apiextensions_v1" + "core_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -42867,15 +27484,15 @@ "consumes": [ "*/*" ], - "description": "create a CustomResourceDefinition", - "operationId": "createApiextensionsV1CustomResourceDefinition", + "description": "create a ServiceAccount", + "operationId": "createCoreV1NamespacedServiceAccount", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, { @@ -42902,19 +27519,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "401": { @@ -42925,23 +27542,23 @@ "https" ], "tags": [ - "apiextensions_v1" + "core_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "", + "kind": "ServiceAccount", "version": "v1" } } }, - "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}": { + "/api/v1/namespaces/{namespace}/serviceaccounts/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a CustomResourceDefinition", - "operationId": "deleteApiextensionsV1CustomResourceDefinition", + "description": "delete a ServiceAccount", + "operationId": "deleteCoreV1NamespacedServiceAccount", "parameters": [ { "in": "body", @@ -42988,13 +27605,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "401": { @@ -43005,12 +27622,12 @@ "https" ], "tags": [ - "apiextensions_v1" + "core_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, @@ -43018,8 +27635,8 @@ "consumes": [ "*/*" ], - "description": "read the specified CustomResourceDefinition", - "operationId": "readApiextensionsV1CustomResourceDefinition", + "description": "read the specified ServiceAccount", + "operationId": "readCoreV1NamespacedServiceAccount", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -43045,7 +27662,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "401": { @@ -43056,18 +27673,18 @@ "https" ], "tags": [ - "apiextensions_v1" + "core_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, "parameters": [ { - "description": "name of the CustomResourceDefinition", + "description": "name of the ServiceAccount", "in": "path", "name": "name", "required": true, @@ -43075,189 +27692,9 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CustomResourceDefinition", - "operationId": "patchApiextensionsV1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CustomResourceDefinition", - "operationId": "replaceApiextensionsV1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - } - }, - "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CustomResourceDefinition", - "operationId": "readApiextensionsV1CustomResourceDefinitionStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CustomResourceDefinition", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -43277,8 +27714,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified CustomResourceDefinition", - "operationId": "patchApiextensionsV1CustomResourceDefinitionStatus", + "description": "partially update the specified ServiceAccount", + "operationId": "patchCoreV1NamespacedServiceAccount", "parameters": [ { "in": "body", @@ -43319,7 +27756,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "401": { @@ -43330,12 +27767,12 @@ "https" ], "tags": [ - "apiextensions_v1" + "core_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, @@ -43343,15 +27780,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified CustomResourceDefinition", - "operationId": "replaceApiextensionsV1CustomResourceDefinitionStatus", + "description": "replace the specified ServiceAccount", + "operationId": "replaceCoreV1NamespacedServiceAccount", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, { @@ -43378,13 +27815,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, "401": { @@ -43395,196 +27832,34 @@ "https" ], "tags": [ - "apiextensions_v1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", + "group": "", + "kind": "ServiceAccount", "version": "v1" } } }, - "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchApiextensionsV1CustomResourceDefinitionList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchApiextensionsV1CustomResourceDefinition", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, + "/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "fieldSelector", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "labelSelector", + "name": "fieldManager", "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CustomResourceDefinition", + "description": "name of the TokenRequest", "in": "path", "name": "name", "required": true, @@ -43592,166 +27867,35 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", "uniqueItems": true }, { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "If 'true', then the output is pretty printed.", "in": "query", - "name": "watch", - "type": "boolean", + "name": "pretty", + "type": "string", "uniqueItems": true } - ] - }, - "/apis/apiextensions.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getApiextensionsV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ] - } - }, - "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions": { - "delete": { + ], + "post": { "consumes": [ "*/*" ], - "description": "delete collection of CustomResourceDefinition", - "operationId": "deleteApiextensionsV1beta1CollectionCustomResourceDefinition", + "description": "create token of a ServiceAccount", + "operationId": "createCoreV1NamespacedServiceAccountToken", "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -43763,7 +27907,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" } }, "401": { @@ -43774,24 +27930,26 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "authentication.k8s.io", + "kind": "TokenRequest", + "version": "v1" } - }, + } + }, + "/api/v1/namespaces/{namespace}/services": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind CustomResourceDefinition", - "operationId": "listApiextensionsV1beta1CustomResourceDefinition", + "description": "list or watch objects of kind Service", + "operationId": "listCoreV1NamespacedService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43858,7 +28016,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" } }, "401": { @@ -43869,16 +28027,24 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -43891,15 +28057,15 @@ "consumes": [ "*/*" ], - "description": "create a CustomResourceDefinition", - "operationId": "createApiextensionsV1beta1CustomResourceDefinition", + "description": "create a Service", + "operationId": "createCoreV1NamespacedService", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, { @@ -43926,19 +28092,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, "401": { @@ -43949,23 +28115,23 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "Service", + "version": "v1" } } }, - "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}": { + "/api/v1/namespaces/{namespace}/services/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a CustomResourceDefinition", - "operationId": "deleteApiextensionsV1beta1CustomResourceDefinition", + "description": "delete a Service", + "operationId": "deleteCoreV1NamespacedService", "parameters": [ { "in": "body", @@ -44029,21 +28195,21 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "Service", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified CustomResourceDefinition", - "operationId": "readApiextensionsV1beta1CustomResourceDefinition", + "description": "read the specified Service", + "operationId": "readCoreV1NamespacedService", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -44061,15 +28227,308 @@ } ], "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the Service", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified Service", + "operationId": "patchCoreV1NamespacedService", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified Service", + "operationId": "replaceCoreV1NamespacedService", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + } + }, + "/api/v1/namespaces/{namespace}/services/{name}/proxy": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "connect DELETE requests to proxy of Service", + "operationId": "connectCoreV1DeleteNamespacedServiceProxy", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "connect GET requests to proxy of Service", + "operationId": "connectCoreV1GetNamespacedServiceProxy", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "head": { + "consumes": [ + "*/*" + ], + "description": "connect HEAD requests to proxy of Service", + "operationId": "connectCoreV1HeadNamespacedServiceProxy", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "options": { + "consumes": [ + "*/*" + ], + "description": "connect OPTIONS requests to proxy of Service", + "operationId": "connectCoreV1OptionsNamespacedServiceProxy", + "produces": [ + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "type": "string" } }, "401": { @@ -44080,18 +28539,18 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" } }, "parameters": [ { - "description": "name of the CustomResourceDefinition", + "description": "name of the ServiceProxyOptions", "in": "path", "name": "name", "required": true, @@ -44099,63 +28558,68 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", "in": "query", - "name": "pretty", + "name": "path", "type": "string", "uniqueItems": true } ], "patch": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update the specified CustomResourceDefinition", - "operationId": "patchApiextensionsV1beta1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "connect PATCH requests to proxy of Service", + "operationId": "connectCoreV1PatchNamespacedServiceProxy", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "type": "string" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "post": { + "consumes": [ + "*/*" ], + "description": "connect POST requests to proxy of Service", + "operationId": "connectCoreV1PostNamespacedServiceProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "type": "string" } }, "401": { @@ -44166,61 +28630,29 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified CustomResourceDefinition", - "operationId": "replaceApiextensionsV1beta1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "connect PUT requests to proxy of Service", + "operationId": "connectCoreV1PutNamespacedServiceProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "type": "string" } }, "401": { @@ -44231,33 +28663,31 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" } } }, - "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { - "get": { + "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}": { + "delete": { "consumes": [ "*/*" ], - "description": "read status of the specified CustomResourceDefinition", - "operationId": "readApiextensionsV1beta1CustomResourceDefinitionStatus", + "description": "connect DELETE requests to proxy of Service", + "operationId": "connectCoreV1DeleteNamespacedServiceProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "type": "string" } }, "401": { @@ -44268,82 +28698,29 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" } }, - "parameters": [ - { - "description": "name of the CustomResourceDefinition", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CustomResourceDefinition", - "operationId": "patchApiextensionsV1beta1CustomResourceDefinitionStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "connect GET requests to proxy of Service", + "operationId": "connectCoreV1GetNamespacedServiceProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "type": "string" } }, "401": { @@ -44354,61 +28731,29 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" } }, - "put": { + "head": { "consumes": [ "*/*" ], - "description": "replace status of the specified CustomResourceDefinition", - "operationId": "replaceApiextensionsV1beta1CustomResourceDefinitionStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "connect HEAD requests to proxy of Service", + "operationId": "connectCoreV1HeadNamespacedServiceProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "type": "string" } }, "401": { @@ -44419,35 +28764,29 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" } - } - }, - "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions": { - "get": { + }, + "options": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchApiextensionsV1beta1CustomResourceDefinitionList", + "description": "connect OPTIONS requests to proxy of Service", + "operationId": "connectCoreV1OptionsNamespacedServiceProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -44458,100 +28797,62 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the ServiceProxyOptions", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", + "description": "path to the resource", + "in": "path", + "name": "path", + "required": true, "type": "string", "uniqueItems": 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.", + "description": "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.", "in": "query", - "name": "resourceVersion", + "name": "path", "type": "string", "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}": { - "get": { + ], + "patch": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchApiextensionsV1beta1CustomResourceDefinition", + "description": "connect PATCH requests to proxy of Service", + "operationId": "connectCoreV1PatchNamespacedServiceProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -44562,108 +28863,29 @@ "https" ], "tags": [ - "apiextensions_v1beta1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CustomResourceDefinition", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" } - ] - }, - "/apis/apiregistration.k8s.io/": { - "get": { + }, + "post": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get information of a group", - "operationId": "getApiregistrationAPIGroup", + "description": "connect POST requests to proxy of Service", + "operationId": "connectCoreV1PostNamespacedServiceProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "type": "string" } }, "401": { @@ -44674,29 +28896,29 @@ "https" ], "tags": [ - "apiregistration" - ] - } - }, - "/apis/apiregistration.k8s.io/v1/": { - "get": { + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available resources", - "operationId": "getApiregistrationV1APIResources", + "description": "connect PUT requests to proxy of Service", + "operationId": "connectCoreV1PutNamespacedServiceProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "type": "string" } }, "401": { @@ -44707,110 +28929,23 @@ "https" ], "tags": [ - "apiregistration_v1" - ] + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } } }, - "/apis/apiregistration.k8s.io/v1/apiservices": { - "delete": { + "/api/v1/namespaces/{namespace}/services/{name}/status": { + "get": { "consumes": [ "*/*" ], - "description": "delete collection of APIService", - "operationId": "deleteApiregistrationV1CollectionAPIService", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified Service", + "operationId": "readCoreV1NamespacedServiceStatus", "produces": [ "application/json", "application/yaml", @@ -44820,7 +28955,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, "401": { @@ -44831,75 +28966,76 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Service", "version": "v1" } }, - "get": { + "parameters": [ + { + "description": "name of the Service", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "list or watch objects of kind APIService", - "operationId": "listApiregistrationV1APIService", + "description": "partially update status of the specified Service", + "operationId": "patchCoreV1NamespacedServiceStatus", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "labelSelector", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", "in": "query", - "name": "resourceVersion", + "name": "fieldManager", "type": "string", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "in": "query", - "name": "watch", + "name": "force", "type": "boolean", "uniqueItems": true } @@ -44907,15 +29043,13 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, "401": { @@ -44926,37 +29060,28 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Service", "version": "v1" } }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { + "put": { "consumes": [ "*/*" ], - "description": "create an APIService", - "operationId": "createApiregistrationV1APIService", + "description": "replace status of the specified Service", + "operationId": "replaceCoreV1NamespacedServiceStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, { @@ -44983,19 +29108,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, "401": { @@ -45006,23 +29125,23 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Service", "version": "v1" } } }, - "/apis/apiregistration.k8s.io/v1/apiservices/{name}": { + "/api/v1/namespaces/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an APIService", - "operationId": "deleteApiregistrationV1APIService", + "description": "delete a Namespace", + "operationId": "deleteCoreV1Namespace", "parameters": [ { "in": "body", @@ -45086,12 +29205,12 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Namespace", "version": "v1" } }, @@ -45099,8 +29218,8 @@ "consumes": [ "*/*" ], - "description": "read the specified APIService", - "operationId": "readApiregistrationV1APIService", + "description": "read the specified Namespace", + "operationId": "readCoreV1Namespace", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -45126,7 +29245,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "401": { @@ -45137,18 +29256,18 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Namespace", "version": "v1" } }, "parameters": [ { - "description": "name of the APIService", + "description": "name of the Namespace", "in": "path", "name": "name", "required": true, @@ -45170,8 +29289,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified APIService", - "operationId": "patchApiregistrationV1APIService", + "description": "partially update the specified Namespace", + "operationId": "patchCoreV1Namespace", "parameters": [ { "in": "body", @@ -45212,7 +29331,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "401": { @@ -45223,12 +29342,12 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Namespace", "version": "v1" } }, @@ -45236,15 +29355,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified APIService", - "operationId": "replaceApiregistrationV1APIService", + "description": "replace the specified Namespace", + "operationId": "replaceCoreV1Namespace", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, { @@ -45271,13 +29390,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "401": { @@ -45288,55 +29407,34 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Namespace", "version": "v1" } } }, - "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified APIService", - "operationId": "readApiregistrationV1APIServiceStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, + "/api/v1/namespaces/{name}/finalize": { "parameters": [ { - "description": "name of the APIService", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "name of the Namespace", "in": "path", "name": "name", "required": true, @@ -45351,103 +29449,20 @@ "uniqueItems": true } ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified APIService", - "operationId": "patchApiregistrationV1APIServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified APIService", - "operationId": "replaceApiregistrationV1APIServiceStatus", + "description": "replace finalize of the specified Namespace", + "operationId": "replaceCoreV1NamespaceFinalize", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -45459,13 +29474,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "401": { @@ -45476,35 +29491,33 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Namespace", "version": "v1" } } }, - "/apis/apiregistration.k8s.io/v1/watch/apiservices": { + "/api/v1/namespaces/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchApiregistrationV1APIServiceList", + "description": "read status of the specified Namespace", + "operationId": "readCoreV1NamespaceStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "401": { @@ -45515,100 +29528,82 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Namespace", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the Namespace", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified Namespace", + "operationId": "patchCoreV1NamespaceStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchApiregistrationV1APIService", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "401": { @@ -45619,98 +29614,45 @@ "https" ], "tags": [ - "apiregistration_v1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", + "group": "", + "kind": "Namespace", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiregistration.k8s.io/v1beta1/": { - "get": { + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace status of the specified Namespace", + "operationId": "replaceCoreV1NamespaceStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getApiregistrationV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -45720,7 +29662,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, "401": { @@ -45731,20 +29679,26 @@ "https" ], "tags": [ - "apiregistration_v1beta1" - ] + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } } }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices": { + "/api/v1/nodes": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of APIService", - "operationId": "deleteApiregistrationV1beta1CollectionAPIService", + "description": "delete collection of Node", + "operationId": "deleteCoreV1CollectionNode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45855,24 +29809,24 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "Node", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind APIService", - "operationId": "listApiregistrationV1beta1APIService", + "description": "list or watch objects of kind Node", + "operationId": "listCoreV1Node", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45939,7 +29893,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList" + "$ref": "#/definitions/io.k8s.api.core.v1.NodeList" } }, "401": { @@ -45950,13 +29904,13 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ @@ -45972,15 +29926,15 @@ "consumes": [ "*/*" ], - "description": "create an APIService", - "operationId": "createApiregistrationV1beta1APIService", + "description": "create a Node", + "operationId": "createCoreV1Node", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, { @@ -46007,236 +29961,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - } - }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an APIService", - "operationId": "deleteApiregistrationV1beta1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified APIService", - "operationId": "readApiregistrationV1beta1APIService", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified APIService", - "operationId": "patchApiregistrationV1beta1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "401": { @@ -46247,28 +29984,29 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "Node", + "version": "v1" } - }, - "put": { + } + }, + "/api/v1/nodes/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "replace the specified APIService", - "operationId": "replaceApiregistrationV1beta1APIService", + "description": "delete a Node", + "operationId": "deleteCoreV1Node", "parameters": [ { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, { @@ -46279,9 +30017,23 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "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", - "name": "fieldManager", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", "type": "string", "uniqueItems": true } @@ -46295,13 +30047,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, - "201": { - "description": "Created", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -46312,23 +30064,37 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "Node", + "version": "v1" } - } - }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { + }, "get": { "consumes": [ "*/*" ], - "description": "read status of the specified APIService", - "operationId": "readApiregistrationV1beta1APIServiceStatus", + "description": "read the specified Node", + "operationId": "readCoreV1Node", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -46338,7 +30104,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "401": { @@ -46349,18 +30115,18 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ { - "description": "name of the APIService", + "description": "name of the Node", "in": "path", "name": "name", "required": true, @@ -46382,8 +30148,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified APIService", - "operationId": "patchApiregistrationV1beta1APIServiceStatus", + "description": "partially update the specified Node", + "operationId": "patchCoreV1Node", "parameters": [ { "in": "body", @@ -46424,7 +30190,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "401": { @@ -46435,28 +30201,28 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "Node", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified APIService", - "operationId": "replaceApiregistrationV1beta1APIServiceStatus", + "description": "replace the specified Node", + "operationId": "replaceCoreV1Node", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, { @@ -46483,13 +30249,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "401": { @@ -46500,35 +30266,31 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "Node", + "version": "v1" } } }, - "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { - "get": { + "/api/v1/nodes/{name}/proxy": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchApiregistrationV1beta1APIServiceList", + "description": "connect DELETE requests to proxy of Node", + "operationId": "connectCoreV1DeleteNodeProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -46539,100 +30301,29 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchApiregistrationV1beta1APIService", + "description": "connect GET requests to proxy of Node", + "operationId": "connectCoreV1GetNodeProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "type": "string" } }, "401": { @@ -46643,108 +30334,29 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/": { - "get": { + "head": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get information of a group", - "operationId": "getAppsAPIGroup", + "description": "connect HEAD requests to proxy of Node", + "operationId": "connectCoreV1HeadNodeProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "type": "string" } }, "401": { @@ -46755,29 +30367,29 @@ "https" ], "tags": [ - "apps" - ] - } - }, - "/apis/apps/v1/": { - "get": { + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "options": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available resources", - "operationId": "getAppsV1APIResources", + "description": "connect OPTIONS requests to proxy of Node", + "operationId": "connectCoreV1OptionsNodeProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "type": "string" } }, "401": { @@ -46788,29 +30400,46 @@ "https" ], "tags": [ - "apps_v1" - ] - } - }, - "/apis/apps/v1/controllerrevisions": { - "get": { + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the NodeProxyOptions", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "Path is the URL path to use for the current proxy request to node.", + "in": "query", + "name": "path", + "type": "string", + "uniqueItems": true + } + ], + "patch": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listAppsV1ControllerRevisionForAllNamespaces", + "description": "connect PATCH requests to proxy of Node", + "operationId": "connectCoreV1PatchNodeProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevisionList" + "type": "string" } }, "401": { @@ -46821,100 +30450,62 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "NodeProxyOptions", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "post": { + "consumes": [ + "*/*" + ], + "description": "connect POST requests to proxy of Node", + "operationId": "connectCoreV1PostNodeProxy", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/daemonsets": { - "get": { + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "put": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listAppsV1DaemonSetForAllNamespaces", + "description": "connect PUT requests to proxy of Node", + "operationId": "connectCoreV1PutNodeProxy", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetList" + "type": "string" } }, "401": { @@ -46925,100 +30516,31 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "NodeProxyOptions", "version": "v1" } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + } }, - "/apis/apps/v1/deployments": { - "get": { + "/api/v1/nodes/{name}/proxy/{path}": { + "delete": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listAppsV1DeploymentForAllNamespaces", + "description": "connect DELETE requests to proxy of Node", + "operationId": "connectCoreV1DeleteNodeProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentList" + "type": "string" } }, "401": { @@ -47029,191 +30551,62 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "NodeProxyOptions", "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/namespaces/{namespace}/controllerrevisions": { - "delete": { + "get": { "consumes": [ "*/*" ], - "description": "delete collection of ControllerRevision", - "operationId": "deleteAppsV1CollectionNamespacedControllerRevision", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", + "description": "connect GET requests to proxy of Node", + "operationId": "connectCoreV1GetNodeProxyWithPath", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "type": "string" } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "head": { + "consumes": [ + "*/*" + ], + "description": "connect HEAD requests to proxy of Node", + "operationId": "connectCoreV1HeadNodeProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "type": "string" } }, "401": { @@ -47224,91 +30617,29 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "NodeProxyOptions", "version": "v1" } }, - "get": { + "options": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listAppsV1NamespacedControllerRevision", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "connect OPTIONS requests to proxy of Node", + "operationId": "connectCoreV1OptionsNodeProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevisionList" + "type": "string" } }, "401": { @@ -47319,84 +30650,54 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "NodeProxyOptions", "version": "v1" } }, "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the NodeProxyOptions", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "path to the resource", + "in": "path", + "name": "path", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "Path is the URL path to use for the current proxy request to node.", "in": "query", - "name": "pretty", + "name": "path", "type": "string", "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ "*/*" ], - "description": "create a ControllerRevision", - "operationId": "createAppsV1NamespacedControllerRevision", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "connect PATCH requests to proxy of Node", + "operationId": "connectCoreV1PatchNodeProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + "type": "string" } }, "401": { @@ -47407,76 +30708,29 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "NodeProxyOptions", "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ControllerRevision", - "operationId": "deleteAppsV1NamespacedControllerRevision", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } + } + }, + "post": { + "consumes": [ + "*/*" ], + "description": "connect POST requests to proxy of Node", + "operationId": "connectCoreV1PostNodeProxyWithPath", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "type": "string" } }, "401": { @@ -47487,37 +30741,56 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "NodeProxyOptions", "version": "v1" } }, - "get": { + "put": { "consumes": [ "*/*" ], - "description": "read the specified ControllerRevision", - "operationId": "readAppsV1NamespacedControllerRevision", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true + "description": "connect PUT requests to proxy of Node", + "operationId": "connectCoreV1PutNodeProxyWithPath", + "produces": [ + "*/*" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + } + }, + "/api/v1/nodes/{name}/status": { + "get": { + "consumes": [ + "*/*" ], + "description": "read status of the specified Node", + "operationId": "readCoreV1NodeStatus", "produces": [ "application/json", "application/yaml", @@ -47527,7 +30800,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "401": { @@ -47538,32 +30811,24 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "Node", "version": "v1" } }, "parameters": [ { - "description": "name of the ControllerRevision", + "description": "name of the Node", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -47579,8 +30844,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ControllerRevision", - "operationId": "patchAppsV1NamespacedControllerRevision", + "description": "partially update status of the specified Node", + "operationId": "patchCoreV1NodeStatus", "parameters": [ { "in": "body", @@ -47621,7 +30886,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "401": { @@ -47632,12 +30897,12 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "Node", "version": "v1" } }, @@ -47645,15 +30910,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ControllerRevision", - "operationId": "replaceAppsV1NamespacedControllerRevision", + "description": "replace status of the specified Node", + "operationId": "replaceCoreV1NodeStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, { @@ -47680,13 +30945,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, "401": { @@ -47697,26 +30962,130 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "Node", "version": "v1" } } }, - "/apis/apps/v1/namespaces/{namespace}/daemonsets": { + "/api/v1/persistentvolumeclaims": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind PersistentVolumeClaim", + "operationId": "listCoreV1PersistentVolumeClaimForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/persistentvolumes": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of DaemonSet", - "operationId": "deleteAppsV1CollectionNamespacedDaemonSet", + "description": "delete collection of PersistentVolume", + "operationId": "deleteCoreV1CollectionPersistentVolume", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47827,12 +31196,12 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, @@ -47840,11 +31209,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listAppsV1NamespacedDaemonSet", + "description": "list or watch objects of kind PersistentVolume", + "operationId": "listCoreV1PersistentVolume", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47911,7 +31280,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetList" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeList" } }, "401": { @@ -47922,24 +31291,16 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -47952,15 +31313,15 @@ "consumes": [ "*/*" ], - "description": "create a DaemonSet", - "operationId": "createAppsV1NamespacedDaemonSet", + "description": "create a PersistentVolume", + "operationId": "createCoreV1PersistentVolume", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, { @@ -47987,19 +31348,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "401": { @@ -48010,23 +31371,23 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "PersistentVolume", "version": "v1" } } }, - "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}": { + "/api/v1/persistentvolumes/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a DaemonSet", - "operationId": "deleteAppsV1NamespacedDaemonSet", + "description": "delete a PersistentVolume", + "operationId": "deleteCoreV1PersistentVolume", "parameters": [ { "in": "body", @@ -48073,13 +31434,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "401": { @@ -48090,12 +31451,12 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, @@ -48103,8 +31464,8 @@ "consumes": [ "*/*" ], - "description": "read the specified DaemonSet", - "operationId": "readAppsV1NamespacedDaemonSet", + "description": "read the specified PersistentVolume", + "operationId": "readCoreV1PersistentVolume", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -48130,203 +31491,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified DaemonSet", - "operationId": "patchAppsV1NamespacedDaemonSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified DaemonSet", - "operationId": "replaceAppsV1NamespacedDaemonSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified DaemonSet", - "operationId": "readAppsV1NamespacedDaemonSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "401": { @@ -48337,28 +31502,20 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, "parameters": [ { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the PersistentVolume", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -48378,8 +31535,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified DaemonSet", - "operationId": "patchAppsV1NamespacedDaemonSetStatus", + "description": "partially update the specified PersistentVolume", + "operationId": "patchCoreV1PersistentVolume", "parameters": [ { "in": "body", @@ -48420,7 +31577,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "401": { @@ -48431,12 +31588,12 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, @@ -48444,15 +31601,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified DaemonSet", - "operationId": "replaceAppsV1NamespacedDaemonSetStatus", + "description": "replace the specified PersistentVolume", + "operationId": "replaceCoreV1PersistentVolume", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, { @@ -48479,13 +31636,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "401": { @@ -48496,116 +31653,23 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "PersistentVolume", "version": "v1" } } }, - "/apis/apps/v1/namespaces/{namespace}/deployments": { - "delete": { + "/api/v1/persistentvolumes/{name}/status": { + "get": { "consumes": [ "*/*" ], - "description": "delete collection of Deployment", - "operationId": "deleteAppsV1CollectionNamespacedDeployment", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified PersistentVolume", + "operationId": "readCoreV1PersistentVolumeStatus", "produces": [ "application/json", "application/yaml", @@ -48615,7 +31679,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "401": { @@ -48626,75 +31690,68 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, - "get": { + "parameters": [ + { + "description": "name of the PersistentVolume", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listAppsV1NamespacedDeployment", + "description": "partially update status of the specified PersistentVolume", + "operationId": "patchCoreV1PersistentVolumeStatus", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "labelSelector", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", "in": "query", - "name": "resourceVersion", + "name": "fieldManager", "type": "string", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "in": "query", - "name": "watch", + "name": "force", "type": "boolean", "uniqueItems": true } @@ -48702,15 +31759,13 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentList" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "401": { @@ -48721,45 +31776,28 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { + "put": { "consumes": [ "*/*" ], - "description": "create a Deployment", - "operationId": "createAppsV1NamespacedDeployment", + "description": "replace status of the specified PersistentVolume", + "operationId": "replaceCoreV1PersistentVolumeStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, { @@ -48786,19 +31824,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, "401": { @@ -48809,76 +31841,35 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "PersistentVolume", "version": "v1" } } }, - "/apis/apps/v1/namespaces/{namespace}/deployments/{name}": { - "delete": { + "/api/v1/pods": { + "get": { "consumes": [ "*/*" ], - "description": "delete a Deployment", - "operationId": "deleteAppsV1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind Pod", + "operationId": "listCoreV1PodForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.core.v1.PodList" } }, "401": { @@ -48889,47 +31880,204 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "Pod", "version": "v1" } }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/podtemplates": { "get": { "consumes": [ "*/*" ], - "description": "read the specified Deployment", - "operationId": "readAppsV1NamespacedDeployment", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true + "description": "list or watch objects of kind PodTemplate", + "operationId": "listCoreV1PodTemplateForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateList" + } }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/replicationcontrollers": { + "get": { + "consumes": [ + "*/*" ], + "description": "list or watch objects of kind ReplicationController", + "operationId": "listCoreV1ReplicationControllerForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerList" } }, "401": { @@ -48940,90 +32088,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "ReplicationController", "version": "v1" } }, "parameters": [ { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/resourcequotas": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Deployment", - "operationId": "patchAppsV1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "list or watch objects of kind ResourceQuota", + "operationId": "listCoreV1ResourceQuotaForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaList" } }, "401": { @@ -49034,61 +32192,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "ResourceQuota", "version": "v1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/secrets": { + "get": { "consumes": [ "*/*" ], - "description": "replace the specified Deployment", - "operationId": "replaceAppsV1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind Secret", + "operationId": "listCoreV1SecretForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.api.core.v1.SecretList" } }, "401": { @@ -49099,33 +32296,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "Secret", "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale": { + "/api/v1/serviceaccounts": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified Deployment", - "operationId": "readAppsV1NamespacedDeploymentScale", + "description": "list or watch objects of kind ServiceAccount", + "operationId": "listCoreV1ServiceAccountForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountList" } }, "401": { @@ -49136,90 +32400,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, "parameters": [ { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/services": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified Deployment", - "operationId": "patchAppsV1NamespacedDeploymentScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "list or watch objects of kind Service", + "operationId": "listCoreV1ServiceForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" } }, "401": { @@ -49230,61 +32504,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", + "group": "", + "kind": "Service", "version": "v1" } - }, - "put": { + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/watch/configmaps": { + "get": { "consumes": [ "*/*" ], - "description": "replace scale of the specified Deployment", - "operationId": "replaceAppsV1NamespacedDeploymentScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1ConfigMapListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -49295,33 +32608,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", + "group": "", + "kind": "ConfigMap", "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status": { + "/api/v1/watch/endpoints": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Deployment", - "operationId": "readAppsV1NamespacedDeploymentStatus", + "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1EndpointsListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -49332,90 +32712,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "Endpoints", "version": "v1" } }, "parameters": [ { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/watch/events": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Deployment", - "operationId": "patchAppsV1NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1EventListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -49426,61 +32816,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "Event", "version": "v1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/watch/limitranges": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified Deployment", - "operationId": "replaceAppsV1NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1LimitRangeListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -49491,126 +32920,100 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "LimitRange", "version": "v1" } - } - }, - "/apis/apps/v1/namespaces/{namespace}/replicasets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ReplicaSet", - "operationId": "deleteAppsV1CollectionNamespacedReplicaSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/watch/namespaces": { + "get": { + "consumes": [ + "*/*" ], + "description": "watch individual changes to a list of Namespace. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespaceList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -49621,79 +33024,88 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "Namespace", "version": "v1" } }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/configmaps": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listAppsV1NamespacedReplicaSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedConfigMapList", "produces": [ "application/json", "application/yaml", @@ -49705,7 +33117,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -49716,16 +33128,51 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "ConfigMap", "version": "v1" } }, "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -49740,60 +33187,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "post": { + ] + }, + "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "create a ReplicaSet", - "operationId": "createAppsV1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedConfigMap", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -49804,127 +33240,228 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "ConfigMap", "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ConfigMap", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}": { - "delete": { + "/api/v1/watch/namespaces/{namespace}/endpoints": { + "get": { "consumes": [ "*/*" ], - "description": "delete a ReplicaSet", - "operationId": "deleteAppsV1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedEndpointsList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { "get": { "consumes": [ "*/*" ], - "description": "read the specified ReplicaSet", - "operationId": "readAppsV1NamespacedReplicaSet", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind Endpoints. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedEndpoints", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -49935,18 +33472,53 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "Endpoints", "version": "v1" } }, "parameters": [ { - "description": "name of the ReplicaSet", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Endpoints", "in": "path", "name": "name", "required": true, @@ -49967,58 +33539,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/watch/namespaces/{namespace}/events": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ReplicaSet", - "operationId": "patchAppsV1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedEventList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50029,98 +33592,108 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "Event", "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ReplicaSet", - "operationId": "replaceAppsV1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale": { + "/api/v1/watch/namespaces/{namespace}/events/{name}": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified ReplicaSet", - "operationId": "readAppsV1NamespacedReplicaSetScale", + "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedEvent", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50131,18 +33704,53 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", + "group": "", + "kind": "Event", "version": "v1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Event", "in": "path", "name": "name", "required": true, @@ -50163,160 +33771,49 @@ "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified ReplicaSet", - "operationId": "patchAppsV1NamespacedReplicaSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified ReplicaSet", - "operationId": "replaceAppsV1NamespacedReplicaSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status": { + "/api/v1/watch/namespaces/{namespace}/limitranges": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified ReplicaSet", - "operationId": "readAppsV1NamespacedReplicaSetStatus", + "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedLimitRangeList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50327,24 +33824,51 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "LimitRange", "version": "v1" } }, "parameters": [ { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -50359,58 +33883,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ReplicaSet", - "operationId": "patchAppsV1NamespacedReplicaSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch changes to an object of kind LimitRange. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedLimitRange", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50421,191 +33936,116 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "LimitRange", "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified ReplicaSet", - "operationId": "replaceAppsV1NamespacedReplicaSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the LimitRange", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/apps/v1/namespaces/{namespace}/statefulsets": { - "delete": { + "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { + "get": { "consumes": [ "*/*" ], - "description": "delete collection of StatefulSet", - "operationId": "deleteAppsV1CollectionNamespacedStatefulSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedPersistentVolumeClaimList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50616,79 +34056,96 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "PersistentVolumeClaim", "version": "v1" } }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listAppsV1NamespacedStatefulSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { + "get": { + "consumes": [ + "*/*" ], + "description": "watch changes to an object of kind PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedPersistentVolumeClaim", "produces": [ "application/json", "application/yaml", @@ -50700,7 +34157,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50711,16 +34168,59 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "PersistentVolumeClaim", "version": "v1" } }, "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the PersistentVolumeClaim", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -50735,60 +34235,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "post": { + ] + }, + "/api/v1/watch/namespaces/{namespace}/pods": { + "get": { "consumes": [ "*/*" ], - "description": "create a StatefulSet", - "operationId": "createAppsV1NamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedPodList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50799,76 +34288,228 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "Pod", "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}": { - "delete": { + "/api/v1/watch/namespaces/{namespace}/pods/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "delete a StatefulSet", - "operationId": "deleteAppsV1NamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", + "description": "watch changes to an object of kind Pod. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedPod", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Pod", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/podtemplates": { + "get": { + "consumes": [ + "*/*" ], + "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedPodTemplateList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50879,47 +34520,108 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "PodTemplate", "version": "v1" } }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { "get": { "consumes": [ "*/*" ], - "description": "read the specified StatefulSet", - "operationId": "readAppsV1NamespacedStatefulSet", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind PodTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedPodTemplate", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -50930,18 +34632,53 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "PodTemplate", "version": "v1" } }, "parameters": [ { - "description": "name of the StatefulSet", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the PodTemplate", "in": "path", "name": "name", "required": true, @@ -50962,58 +34699,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified StatefulSet", - "operationId": "patchAppsV1NamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedReplicationControllerList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -51024,98 +34752,108 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "ReplicationController", "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified StatefulSet", - "operationId": "replaceAppsV1NamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale": { + "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified StatefulSet", - "operationId": "readAppsV1NamespacedStatefulSetScale", + "description": "watch changes to an object of kind ReplicationController. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedReplicationController", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -51126,18 +34864,53 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", + "group": "", + "kind": "ReplicationController", "version": "v1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ReplicationController", "in": "path", "name": "name", "required": true, @@ -51158,58 +34931,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/watch/namespaces/{namespace}/resourcequotas": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified StatefulSet", - "operationId": "patchAppsV1NamespacedStatefulSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedResourceQuotaList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -51220,98 +34984,108 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", + "group": "", + "kind": "ResourceQuota", "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified StatefulSet", - "operationId": "replaceAppsV1NamespacedStatefulSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status": { + "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified StatefulSet", - "operationId": "readAppsV1NamespacedStatefulSetStatus", + "description": "watch changes to an object of kind ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedResourceQuota", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -51322,18 +35096,53 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "ResourceQuota", "version": "v1" } }, "parameters": [ { - "description": "name of the StatefulSet", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ResourceQuota", "in": "path", "name": "name", "required": true, @@ -51354,58 +35163,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/api/v1/watch/namespaces/{namespace}/secrets": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified StatefulSet", - "operationId": "patchAppsV1NamespacedStatefulSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedSecretList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -51416,61 +35216,108 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "Secret", "version": "v1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified StatefulSet", - "operationId": "replaceAppsV1NamespacedStatefulSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind Secret. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedSecret", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -51481,23 +35328,104 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "Secret", "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Secret", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/apps/v1/replicasets": { + "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listAppsV1ReplicaSetForAllNamespaces", + "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedServiceAccountList", "produces": [ "application/json", "application/yaml", @@ -51509,7 +35437,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -51520,18 +35448,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51565,6 +35493,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -51595,13 +35531,13 @@ } ] }, - "/apis/apps/v1/statefulsets": { + "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listAppsV1StatefulSetForAllNamespaces", + "description": "watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedServiceAccount", "produces": [ "application/json", "application/yaml", @@ -51613,7 +35549,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -51624,18 +35560,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51669,6 +35605,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the ServiceAccount", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -51699,13 +35651,13 @@ } ] }, - "/apis/apps/v1/watch/controllerrevisions": { + "/api/v1/watch/namespaces/{namespace}/services": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1ControllerRevisionListForAllNamespaces", + "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NamespacedServiceList", "produces": [ "application/json", "application/yaml", @@ -51728,18 +35680,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "Service", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51773,6 +35725,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -51803,13 +35763,13 @@ } ] }, - "/apis/apps/v1/watch/daemonsets": { + "/api/v1/watch/namespaces/{namespace}/services/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1DaemonSetListForAllNamespaces", + "description": "watch changes to an object of kind Service. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1NamespacedService", "produces": [ "application/json", "application/yaml", @@ -51832,18 +35792,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "Service", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51877,6 +35837,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the Service", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -51907,13 +35883,13 @@ } ] }, - "/apis/apps/v1/watch/deployments": { + "/api/v1/watch/namespaces/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1DeploymentListForAllNamespaces", + "description": "watch changes to an object of kind Namespace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1Namespace", "produces": [ "application/json", "application/yaml", @@ -51936,18 +35912,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "Namespace", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51981,6 +35957,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the Namespace", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -52011,13 +35995,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": { + "/api/v1/watch/nodes": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedControllerRevisionList", + "description": "watch individual changes to a list of Node. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1NodeList", "produces": [ "application/json", "application/yaml", @@ -52040,18 +36024,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "Node", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52085,14 +36069,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -52123,13 +36099,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": { + "/api/v1/watch/nodes/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedControllerRevision", + "description": "watch changes to an object of kind Node. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1Node", "produces": [ "application/json", "application/yaml", @@ -52152,18 +36128,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "", + "kind": "Node", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52198,21 +36174,13 @@ "uniqueItems": true }, { - "description": "name of the ControllerRevision", + "description": "name of the Node", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -52243,13 +36211,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": { + "/api/v1/watch/persistentvolumeclaims": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedDaemonSetList", + "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1PersistentVolumeClaimListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -52272,130 +36240,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedDaemonSet", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", + "group": "", + "kind": "PersistentVolumeClaim", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52429,22 +36285,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -52475,13 +36315,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/deployments": { + "/api/v1/watch/persistentvolumes": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedDeploymentList", + "description": "watch individual changes to a list of PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1PersistentVolumeList", "produces": [ "application/json", "application/yaml", @@ -52504,18 +36344,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52549,14 +36389,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -52587,13 +36419,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": { + "/api/v1/watch/persistentvolumes/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedDeployment", + "description": "watch changes to an object of kind PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoreV1PersistentVolume", "produces": [ "application/json", "application/yaml", @@ -52616,18 +36448,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "", + "kind": "PersistentVolume", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52662,21 +36494,13 @@ "uniqueItems": true }, { - "description": "name of the Deployment", + "description": "name of the PersistentVolume", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -52707,13 +36531,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": { + "/api/v1/watch/pods": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedReplicaSetList", + "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1PodListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -52736,18 +36560,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "Pod", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52781,14 +36605,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -52819,13 +36635,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": { + "/api/v1/watch/podtemplates": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedReplicaSet", + "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1PodTemplateListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -52848,18 +36664,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "PodTemplate", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52893,22 +36709,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -52939,13 +36739,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": { + "/api/v1/watch/replicationcontrollers": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedStatefulSetList", + "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1ReplicationControllerListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -52968,18 +36768,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "ReplicationController", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53013,14 +36813,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -53051,13 +36843,13 @@ } ] }, - "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": { + "/api/v1/watch/resourcequotas": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedStatefulSet", + "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1ResourceQuotaListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -53080,18 +36872,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "ResourceQuota", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53125,22 +36917,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -53171,13 +36947,13 @@ } ] }, - "/apis/apps/v1/watch/replicasets": { + "/api/v1/watch/secrets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1ReplicaSetListForAllNamespaces", + "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1SecretListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -53200,18 +36976,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", + "group": "", + "kind": "Secret", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53275,13 +37051,13 @@ } ] }, - "/apis/apps/v1/watch/statefulsets": { + "/api/v1/watch/serviceaccounts": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1StatefulSetListForAllNamespaces", + "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1ServiceAccountListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -53304,18 +37080,18 @@ "https" ], "tags": [ - "apps_v1" + "core_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "", + "kind": "ServiceAccount", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53379,46 +37155,13 @@ } ] }, - "/apis/apps/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAppsV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ] - } - }, - "/apis/apps/v1beta1/controllerrevisions": { + "/api/v1/watch/services": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listAppsV1beta1ControllerRevisionForAllNamespaces", + "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoreV1ServiceListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -53430,7 +37173,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevisionList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -53441,18 +37184,18 @@ "https" ], "tags": [ - "apps_v1beta1" + "core_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53516,25 +37259,25 @@ } ] }, - "/apis/apps/v1beta1/deployments": { + "/apis/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listAppsV1beta1DeploymentForAllNamespaces", + "description": "get available API versions", + "operationId": "getAPIVersions", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList" } }, "401": { @@ -53545,91 +37288,86 @@ "https" ], "tags": [ - "apps_v1beta1" + "apis" + ] + } + }, + "/apis/admissionregistration.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "description": "get information of a group", + "operationId": "getAdmissionregistrationAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration" + ] + } + }, + "/apis/admissionregistration.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAdmissionregistrationV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ] + } }, - "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions": { + "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ControllerRevision", - "operationId": "deleteAppsV1beta1CollectionNamespacedControllerRevision", + "description": "delete collection of MutatingWebhookConfiguration", + "operationId": "deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53740,24 +37478,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listAppsV1beta1NamespacedControllerRevision", + "description": "list or watch objects of kind MutatingWebhookConfiguration", + "operationId": "listAdmissionregistrationV1MutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53824,7 +37562,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevisionList" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList" } }, "401": { @@ -53835,24 +37573,16 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -53865,15 +37595,15 @@ "consumes": [ "*/*" ], - "description": "create a ControllerRevision", - "operationId": "createAppsV1beta1NamespacedControllerRevision", + "description": "create a MutatingWebhookConfiguration", + "operationId": "createAdmissionregistrationV1MutatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, { @@ -53900,19 +37630,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, "401": { @@ -53923,23 +37653,23 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" } } }, - "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}": { + "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ControllerRevision", - "operationId": "deleteAppsV1beta1NamespacedControllerRevision", + "description": "delete a MutatingWebhookConfiguration", + "operationId": "deleteAdmissionregistrationV1MutatingWebhookConfiguration", "parameters": [ { "in": "body", @@ -54003,21 +37733,21 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified ControllerRevision", - "operationId": "readAppsV1beta1NamespacedControllerRevision", + "description": "read the specified MutatingWebhookConfiguration", + "operationId": "readAdmissionregistrationV1MutatingWebhookConfiguration", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -54043,7 +37773,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, "401": { @@ -54054,32 +37784,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" } }, "parameters": [ { - "description": "name of the ControllerRevision", + "description": "name of the MutatingWebhookConfiguration", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -54095,8 +37817,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ControllerRevision", - "operationId": "patchAppsV1beta1NamespacedControllerRevision", + "description": "partially update the specified MutatingWebhookConfiguration", + "operationId": "patchAdmissionregistrationV1MutatingWebhookConfiguration", "parameters": [ { "in": "body", @@ -54137,7 +37859,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, "401": { @@ -54148,28 +37870,28 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified ControllerRevision", - "operationId": "replaceAppsV1beta1NamespacedControllerRevision", + "description": "replace the specified MutatingWebhookConfiguration", + "operationId": "replaceAdmissionregistrationV1MutatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, { @@ -54196,13 +37918,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.ControllerRevision" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, "401": { @@ -54213,26 +37935,26 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" } } }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments": { + "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Deployment", - "operationId": "deleteAppsV1beta1CollectionNamespacedDeployment", + "description": "delete collection of ValidatingWebhookConfiguration", + "operationId": "deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54343,24 +38065,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listAppsV1beta1NamespacedDeployment", + "description": "list or watch objects of kind ValidatingWebhookConfiguration", + "operationId": "listAdmissionregistrationV1ValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54427,7 +38149,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentList" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList" } }, "401": { @@ -54438,24 +38160,16 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -54468,15 +38182,15 @@ "consumes": [ "*/*" ], - "description": "create a Deployment", - "operationId": "createAppsV1beta1NamespacedDeployment", + "description": "create a ValidatingWebhookConfiguration", + "operationId": "createAdmissionregistrationV1ValidatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, { @@ -54503,19 +38217,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, "401": { @@ -54526,23 +38240,23 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" } } }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}": { + "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Deployment", - "operationId": "deleteAppsV1beta1NamespacedDeployment", + "description": "delete a ValidatingWebhookConfiguration", + "operationId": "deleteAdmissionregistrationV1ValidatingWebhookConfiguration", "parameters": [ { "in": "body", @@ -54606,331 +38320,37 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Deployment", - "operationId": "readAppsV1beta1NamespacedDeployment", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Deployment", - "operationId": "patchAppsV1beta1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Deployment", - "operationId": "replaceAppsV1beta1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - } - }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the DeploymentRollback", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create rollback of a Deployment", - "operationId": "createAppsV1beta1NamespacedDeploymentRollback", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentRollback" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DeploymentRollback", - "version": "v1beta1" - } - } - }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified Deployment", - "operationId": "readAppsV1beta1NamespacedDeploymentScale", + "description": "read the specified ValidatingWebhookConfiguration", + "operationId": "readAdmissionregistrationV1ValidatingWebhookConfiguration", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -54940,7 +38360,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, "401": { @@ -54951,32 +38371,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "name of the ValidatingWebhookConfiguration", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -54992,8 +38404,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update scale of the specified Deployment", - "operationId": "patchAppsV1beta1NamespacedDeploymentScale", + "description": "partially update the specified ValidatingWebhookConfiguration", + "operationId": "patchAdmissionregistrationV1ValidatingWebhookConfiguration", "parameters": [ { "in": "body", @@ -55034,7 +38446,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, "401": { @@ -55045,28 +38457,28 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace scale of the specified Deployment", - "operationId": "replaceAppsV1beta1NamespacedDeploymentScale", + "description": "replace the specified ValidatingWebhookConfiguration", + "operationId": "replaceAdmissionregistrationV1ValidatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, { @@ -55093,13 +38505,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, "401": { @@ -55110,33 +38522,35 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" } } }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status": { + "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Deployment", - "operationId": "readAppsV1beta1NamespacedDeploymentStatus", + "description": "watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAdmissionregistrationV1MutatingWebhookConfigurationList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -55147,90 +38561,212 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" } }, "parameters": [ { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update status of the specified Deployment", - "operationId": "patchAppsV1beta1NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAdmissionregistrationV1MutatingWebhookConfiguration", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the MutatingWebhookConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations": { + "get": { + "consumes": [ + "*/*" ], + "description": "watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAdmissionregistrationV1ValidatingWebhookConfigurationList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -55241,45 +38777,202 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified Deployment", - "operationId": "replaceAppsV1beta1NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAdmissionregistrationV1ValidatingWebhookConfiguration", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ValidatingWebhookConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/admissionregistration.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAdmissionregistrationV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -55289,13 +38982,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -55306,26 +38993,20 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } + "admissionregistration_v1beta1" + ] } }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets": { + "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of StatefulSet", - "operationId": "deleteAppsV1beta1CollectionNamespacedStatefulSet", + "description": "delete collection of MutatingWebhookConfiguration", + "operationId": "deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -55436,12 +39117,12 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } }, @@ -55449,11 +39130,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listAppsV1beta1NamespacedStatefulSet", + "description": "list or watch objects of kind MutatingWebhookConfiguration", + "operationId": "listAdmissionregistrationV1beta1MutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -55520,7 +39201,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSetList" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList" } }, "401": { @@ -55531,24 +39212,16 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -55561,15 +39234,15 @@ "consumes": [ "*/*" ], - "description": "create a StatefulSet", - "operationId": "createAppsV1beta1NamespacedStatefulSet", + "description": "create a MutatingWebhookConfiguration", + "operationId": "createAdmissionregistrationV1beta1MutatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, { @@ -55596,19 +39269,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, "401": { @@ -55619,23 +39292,23 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } } }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}": { + "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a StatefulSet", - "operationId": "deleteAppsV1beta1NamespacedStatefulSet", + "description": "delete a MutatingWebhookConfiguration", + "operationId": "deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration", "parameters": [ { "in": "body", @@ -55699,12 +39372,12 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } }, @@ -55712,8 +39385,8 @@ "consumes": [ "*/*" ], - "description": "read the specified StatefulSet", - "operationId": "readAppsV1beta1NamespacedStatefulSet", + "description": "read the specified MutatingWebhookConfiguration", + "operationId": "readAdmissionregistrationV1beta1MutatingWebhookConfiguration", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -55739,7 +39412,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, "401": { @@ -55750,32 +39423,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the StatefulSet", + "description": "name of the MutatingWebhookConfiguration", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -55791,8 +39456,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified StatefulSet", - "operationId": "patchAppsV1beta1NamespacedStatefulSet", + "description": "partially update the specified MutatingWebhookConfiguration", + "operationId": "patchAdmissionregistrationV1beta1MutatingWebhookConfiguration", "parameters": [ { "in": "body", @@ -55833,7 +39498,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, "401": { @@ -55844,12 +39509,12 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } }, @@ -55857,15 +39522,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified StatefulSet", - "operationId": "replaceAppsV1beta1NamespacedStatefulSet", + "description": "replace the specified MutatingWebhookConfiguration", + "operationId": "replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, { @@ -55892,13 +39557,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, "401": { @@ -55909,23 +39574,116 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } } }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale": { - "get": { + "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations": { + "delete": { "consumes": [ "*/*" ], - "description": "read scale of the specified StatefulSet", - "operationId": "readAppsV1beta1NamespacedStatefulSetScale", + "description": "delete collection of ValidatingWebhookConfiguration", + "operationId": "deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -55935,7 +39693,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -55946,32 +39704,111 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" } }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind ValidatingWebhookConfiguration", + "operationId": "listAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" + } + }, + "parameters": [ { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -55980,22 +39817,19 @@ "uniqueItems": true } ], - "patch": { + "post": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update scale of the specified StatefulSet", - "operationId": "patchAppsV1beta1NamespacedStatefulSetScale", + "description": "create a ValidatingWebhookConfiguration", + "operationId": "createAdmissionregistrationV1beta1ValidatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" } }, { @@ -56006,18 +39840,11 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -56029,7 +39856,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" } }, "401": { @@ -56040,28 +39879,29 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" } - }, - "put": { + } + }, + "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "replace scale of the specified StatefulSet", - "operationId": "replaceAppsV1beta1NamespacedStatefulSetScale", + "description": "delete a ValidatingWebhookConfiguration", + "operationId": "deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, { @@ -56072,9 +39912,23 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "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", - "name": "fieldManager", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", "type": "string", "uniqueItems": true } @@ -56088,13 +39942,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, - "201": { - "description": "Created", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -56105,23 +39959,37 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" } - } - }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status": { + }, "get": { "consumes": [ "*/*" ], - "description": "read status of the specified StatefulSet", - "operationId": "readAppsV1beta1NamespacedStatefulSetStatus", + "description": "read the specified ValidatingWebhookConfiguration", + "operationId": "readAdmissionregistrationV1beta1ValidatingWebhookConfiguration", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -56131,7 +39999,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" } }, "401": { @@ -56142,32 +40010,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the StatefulSet", + "description": "name of the ValidatingWebhookConfiguration", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -56183,8 +40043,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified StatefulSet", - "operationId": "patchAppsV1beta1NamespacedStatefulSetStatus", + "description": "partially update the specified ValidatingWebhookConfiguration", + "operationId": "patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration", "parameters": [ { "in": "body", @@ -56225,7 +40085,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" } }, "401": { @@ -56236,12 +40096,12 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" } }, @@ -56249,15 +40109,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified StatefulSet", - "operationId": "replaceAppsV1beta1NamespacedStatefulSetStatus", + "description": "replace the specified ValidatingWebhookConfiguration", + "operationId": "replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" } }, { @@ -56284,13 +40144,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSet" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" } }, "401": { @@ -56301,23 +40161,23 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" } } }, - "/apis/apps/v1beta1/statefulsets": { + "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listAppsV1beta1StatefulSetForAllNamespaces", + "description": "watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList", "produces": [ "application/json", "application/yaml", @@ -56329,7 +40189,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta1.StatefulSetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -56340,18 +40200,18 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56415,13 +40275,13 @@ } ] }, - "/apis/apps/v1beta1/watch/controllerrevisions": { + "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta1ControllerRevisionListForAllNamespaces", + "description": "watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAdmissionregistrationV1beta1MutatingWebhookConfiguration", "produces": [ "application/json", "application/yaml", @@ -56444,18 +40304,18 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56489,6 +40349,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the MutatingWebhookConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -56519,13 +40387,13 @@ } ] }, - "/apis/apps/v1beta1/watch/deployments": { + "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta1DeploymentListForAllNamespaces", + "description": "watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList", "produces": [ "application/json", "application/yaml", @@ -56548,18 +40416,18 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56623,13 +40491,13 @@ } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions": { + "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta1NamespacedControllerRevisionList", + "description": "watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration", "produces": [ "application/json", "application/yaml", @@ -56652,18 +40520,18 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56698,9 +40566,9 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the ValidatingWebhookConfiguration", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -56735,13 +40603,265 @@ } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}": { + "/apis/apiextensions.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getApiextensionsAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiextensions" + ] + } + }, + "/apis/apiextensions.k8s.io/v1/": { "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getApiextensionsV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ] + } + }, + "/apis/apiextensions.k8s.io/v1/customresourcedefinitions": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1beta1NamespacedControllerRevision", + "description": "delete collection of CustomResourceDefinition", + "operationId": "deleteApiextensionsV1CollectionCustomResourceDefinition", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind CustomResourceDefinition", + "operationId": "listApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -56753,7 +40873,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList" } }, "401": { @@ -56764,116 +40884,207 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiextensions_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ControllerRevision", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a CustomResourceDefinition", + "operationId": "createApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + } + }, + "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a CustomResourceDefinition", + "operationId": "deleteApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments": { + }, "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta1NamespacedDeploymentList", + "description": "read the specified CustomResourceDefinition", + "operationId": "readApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" } }, "401": { @@ -56884,55 +41095,20 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiextensions_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the CustomResourceDefinition", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -56943,49 +41119,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified CustomResourceDefinition", + "operationId": "patchApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1beta1NamespacedDeployment", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" } }, "401": { @@ -56996,116 +41181,61 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiextensions_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta1NamespacedStatefulSetList", + "description": "replace the specified CustomResourceDefinition", + "operationId": "replaceApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" } }, "401": { @@ -57116,108 +41246,33 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiextensions_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } - ] + } }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}": { + "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1beta1NamespacedStatefulSet", + "description": "read status of the specified CustomResourceDefinition", + "operationId": "readApiextensionsV1CustomResourceDefinitionStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" } }, "401": { @@ -57228,116 +41283,82 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiextensions_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the StatefulSet", + "description": "name of the CustomResourceDefinition", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apps/v1beta1/watch/statefulsets": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified CustomResourceDefinition", + "operationId": "patchApiextensionsV1CustomResourceDefinitionStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta1StatefulSetListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" } }, "401": { @@ -57348,90 +41369,45 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiextensions_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/": { - "get": { + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace status of the specified CustomResourceDefinition", + "operationId": "replaceApiextensionsV1CustomResourceDefinitionStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getAppsV1beta2APIResources", "produces": [ "application/json", "application/yaml", @@ -57441,7 +41417,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" } }, "401": { @@ -57452,17 +41434,23 @@ "https" ], "tags": [ - "apps_v1beta2" - ] + "apiextensions_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } } }, - "/apis/apps/v1beta2/controllerrevisions": { + "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listAppsV1beta2ControllerRevisionForAllNamespaces", + "description": "watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchApiextensionsV1CustomResourceDefinitionList", "produces": [ "application/json", "application/yaml", @@ -57474,7 +41462,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevisionList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -57485,18 +41473,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57560,13 +41548,13 @@ } ] }, - "/apis/apps/v1beta2/daemonsets": { + "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listAppsV1beta2DaemonSetForAllNamespaces", + "description": "watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchApiextensionsV1CustomResourceDefinition", "produces": [ "application/json", "application/yaml", @@ -57578,7 +41566,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -57589,18 +41577,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57634,6 +41622,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the CustomResourceDefinition", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -57664,25 +41660,25 @@ } ] }, - "/apis/apps/v1beta2/deployments": { + "/apis/apiextensions.k8s.io/v1beta1/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listAppsV1beta2DeploymentForAllNamespaces", + "description": "get available resources", + "operationId": "getApiextensionsV1beta1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -57693,91 +41689,20 @@ "https" ], "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "apiextensions_v1beta1" + ] + } }, - "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions": { + "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ControllerRevision", - "operationId": "deleteAppsV1beta2CollectionNamespacedControllerRevision", + "description": "delete collection of CustomResourceDefinition", + "operationId": "deleteApiextensionsV1beta1CollectionCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57888,75 +41813,288 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind CustomResourceDefinition", + "operationId": "listApiextensionsV1beta1CustomResourceDefinition", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a CustomResourceDefinition", + "operationId": "createApiextensionsV1beta1CustomResourceDefinition", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + } + }, + "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a CustomResourceDefinition", + "operationId": "deleteApiextensionsV1beta1CustomResourceDefinition", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listAppsV1beta2NamespacedControllerRevision", + "description": "read the specified CustomResourceDefinition", + "operationId": "readApiextensionsV1beta1CustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "allowWatchBookmarks", + "name": "exact", "type": "boolean", "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "watch", + "name": "export", "type": "boolean", "uniqueItems": true } @@ -57964,15 +42102,13 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevisionList" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, "401": { @@ -57983,20 +42119,20 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } }, "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the CustomResourceDefinition", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -58009,19 +42145,22 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create a ControllerRevision", - "operationId": "createAppsV1beta2NamespacedControllerRevision", + "description": "partially update the specified CustomResourceDefinition", + "operationId": "patchApiextensionsV1beta1CustomResourceDefinition", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } }, { @@ -58032,11 +42171,18 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -58048,19 +42194,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, "401": { @@ -58071,29 +42205,28 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1beta1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } - } - }, - "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}": { - "delete": { + }, + "put": { "consumes": [ "*/*" ], - "description": "delete a ControllerRevision", - "operationId": "deleteAppsV1beta2NamespacedControllerRevision", + "description": "replace the specified CustomResourceDefinition", + "operationId": "replaceApiextensionsV1beta1CustomResourceDefinition", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, { @@ -58104,23 +42237,9 @@ "uniqueItems": true }, { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "propagationPolicy", + "name": "fieldManager", "type": "string", "uniqueItems": true } @@ -58134,13 +42253,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, "401": { @@ -58151,37 +42270,23 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1beta1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } - }, + } + }, + "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified ControllerRevision", - "operationId": "readAppsV1beta2NamespacedControllerRevision", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified CustomResourceDefinition", + "operationId": "readApiextensionsV1beta1CustomResourceDefinitionStatus", "produces": [ "application/json", "application/yaml", @@ -58191,7 +42296,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, "401": { @@ -58202,32 +42307,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ControllerRevision", + "description": "name of the CustomResourceDefinition", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -58243,8 +42340,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ControllerRevision", - "operationId": "patchAppsV1beta2NamespacedControllerRevision", + "description": "partially update status of the specified CustomResourceDefinition", + "operationId": "patchApiextensionsV1beta1CustomResourceDefinitionStatus", "parameters": [ { "in": "body", @@ -58285,7 +42382,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, "401": { @@ -58296,28 +42393,28 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified ControllerRevision", - "operationId": "replaceAppsV1beta2NamespacedControllerRevision", + "description": "replace status of the specified CustomResourceDefinition", + "operationId": "replaceApiextensionsV1beta1CustomResourceDefinitionStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, { @@ -58344,13 +42441,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ControllerRevision" + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, "401": { @@ -58361,26 +42458,308 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiextensions_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + } + }, + "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchApiextensionsV1beta1CustomResourceDefinitionList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchApiextensionsV1beta1CustomResourceDefinition", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CustomResourceDefinition", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } + ] + }, + "/apis/apiregistration.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getApiregistrationAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiregistration" + ] + } + }, + "/apis/apiregistration.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getApiregistrationV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ] } }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets": { + "/apis/apiregistration.k8s.io/v1/apiservices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of DaemonSet", - "operationId": "deleteAppsV1beta2CollectionNamespacedDaemonSet", + "description": "delete collection of APIService", + "operationId": "deleteApiregistrationV1CollectionAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -58491,24 +42870,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listAppsV1beta2NamespacedDaemonSet", + "description": "list or watch objects of kind APIService", + "operationId": "listApiregistrationV1APIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -58575,7 +42954,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSetList" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList" } }, "401": { @@ -58586,24 +42965,16 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -58616,15 +42987,15 @@ "consumes": [ "*/*" ], - "description": "create a DaemonSet", - "operationId": "createAppsV1beta2NamespacedDaemonSet", + "description": "create an APIService", + "operationId": "createApiregistrationV1APIService", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, { @@ -58651,19 +43022,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, "401": { @@ -58674,23 +43045,23 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}": { + "/apis/apiregistration.k8s.io/v1/apiservices/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a DaemonSet", - "operationId": "deleteAppsV1beta2NamespacedDaemonSet", + "description": "delete an APIService", + "operationId": "deleteApiregistrationV1APIService", "parameters": [ { "in": "body", @@ -58754,21 +43125,21 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified DaemonSet", - "operationId": "readAppsV1beta2NamespacedDaemonSet", + "description": "read the specified APIService", + "operationId": "readApiregistrationV1APIService", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -58794,7 +43165,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, "401": { @@ -58805,18 +43176,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } }, "parameters": [ { - "description": "name of the DaemonSet", + "description": "name of the APIService", "in": "path", "name": "name", "required": true, @@ -58824,9 +43195,189 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified APIService", + "operationId": "patchApiregistrationV1APIService", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified APIService", + "operationId": "replaceApiregistrationV1APIService", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + } + }, + "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified APIService", + "operationId": "readApiregistrationV1APIServiceStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the APIService", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -58846,8 +43397,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified DaemonSet", - "operationId": "patchAppsV1beta2NamespacedDaemonSet", + "description": "partially update status of the specified APIService", + "operationId": "patchApiregistrationV1APIServiceStatus", "parameters": [ { "in": "body", @@ -58888,7 +43439,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, "401": { @@ -58899,28 +43450,28 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified DaemonSet", - "operationId": "replaceAppsV1beta2NamespacedDaemonSet", + "description": "replace status of the specified APIService", + "operationId": "replaceApiregistrationV1APIServiceStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, { @@ -58947,13 +43498,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" } }, "401": { @@ -58964,33 +43515,35 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status": { + "/apis/apiregistration.k8s.io/v1/watch/apiservices": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified DaemonSet", - "operationId": "readAppsV1beta2NamespacedDaemonSetStatus", + "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchApiregistrationV1APIServiceList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -59001,90 +43554,100 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } }, "parameters": [ { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified DaemonSet", - "operationId": "patchAppsV1beta2NamespacedDaemonSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchApiregistrationV1APIService", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -59095,45 +43658,98 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the APIService", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/apiregistration.k8s.io/v1beta1/": { + "get": { "consumes": [ - "*/*" - ], - "description": "replace status of the specified DaemonSet", - "operationId": "replaceAppsV1beta2NamespacedDaemonSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getApiregistrationV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -59143,13 +43759,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -59160,26 +43770,20 @@ "https" ], "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } + "apiregistration_v1beta1" + ] } }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments": { + "/apis/apiregistration.k8s.io/v1beta1/apiservices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Deployment", - "operationId": "deleteAppsV1beta2CollectionNamespacedDeployment", + "description": "delete collection of APIService", + "operationId": "deleteApiregistrationV1beta1CollectionAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59290,24 +43894,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listAppsV1beta2NamespacedDeployment", + "description": "list or watch objects of kind APIService", + "operationId": "listApiregistrationV1beta1APIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59374,7 +43978,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentList" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList" } }, "401": { @@ -59385,24 +43989,16 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -59415,15 +44011,15 @@ "consumes": [ "*/*" ], - "description": "create a Deployment", - "operationId": "createAppsV1beta2NamespacedDeployment", + "description": "create an APIService", + "operationId": "createApiregistrationV1beta1APIService", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, { @@ -59450,19 +44046,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, "401": { @@ -59473,23 +44069,23 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}": { + "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Deployment", - "operationId": "deleteAppsV1beta2NamespacedDeployment", + "description": "delete an APIService", + "operationId": "deleteApiregistrationV1beta1APIService", "parameters": [ { "in": "body", @@ -59553,21 +44149,21 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified Deployment", - "operationId": "readAppsV1beta2NamespacedDeployment", + "description": "read the specified APIService", + "operationId": "readApiregistrationV1beta1APIService", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -59593,7 +44189,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, "401": { @@ -59604,18 +44200,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Deployment", + "description": "name of the APIService", "in": "path", "name": "name", "required": true, @@ -59623,9 +44219,189 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified APIService", + "operationId": "patchApiregistrationV1beta1APIService", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified APIService", + "operationId": "replaceApiregistrationV1beta1APIService", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + } + }, + "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified APIService", + "operationId": "readApiregistrationV1beta1APIServiceStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the APIService", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -59645,8 +44421,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Deployment", - "operationId": "patchAppsV1beta2NamespacedDeployment", + "description": "partially update status of the specified APIService", + "operationId": "patchApiregistrationV1beta1APIServiceStatus", "parameters": [ { "in": "body", @@ -59687,7 +44463,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, "401": { @@ -59698,28 +44474,28 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified Deployment", - "operationId": "replaceAppsV1beta2NamespacedDeployment", + "description": "replace status of the specified APIService", + "operationId": "replaceApiregistrationV1beta1APIServiceStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, { @@ -59746,13 +44522,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, "401": { @@ -59763,33 +44539,35 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale": { + "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified Deployment", - "operationId": "readAppsV1beta2NamespacedDeploymentScale", + "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchApiregistrationV1beta1APIServiceList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -59800,90 +44578,100 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified Deployment", - "operationId": "patchAppsV1beta2NamespacedDeploymentScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchApiregistrationV1beta1APIService", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -59894,45 +44682,131 @@ "https" ], "tags": [ - "apps_v1beta2" + "apiregistration_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the APIService", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/apps/": { + "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "replace scale of the specified Deployment", - "operationId": "replaceAppsV1beta2NamespacedDeploymentScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "get information of a group", + "operationId": "getAppsAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "apps" + ] + } + }, + "/apis/apps/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAppsV1APIResources", "produces": [ "application/json", "application/yaml", @@ -59942,13 +44816,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -59959,33 +44827,29 @@ "https" ], "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } + "apps_v1" + ] } }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status": { + "/apis/apps/v1/controllerrevisions": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Deployment", - "operationId": "readAppsV1beta2NamespacedDeploymentStatus", + "description": "list or watch objects of kind ControllerRevision", + "operationId": "listAppsV1ControllerRevisionForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevisionList" } }, "401": { @@ -59996,90 +44860,100 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "kind": "ControllerRevision", + "version": "v1" } }, "parameters": [ { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/apps/v1/daemonsets": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Deployment", - "operationId": "patchAppsV1beta2NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "list or watch objects of kind DaemonSet", + "operationId": "listAppsV1DaemonSetForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetList" } }, "401": { @@ -60090,61 +44964,100 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Deployment", - "operationId": "replaceAppsV1beta2NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/apps/v1/deployments": { + "get": { + "consumes": [ + "*/*" ], + "description": "list or watch objects of kind Deployment", + "operationId": "listAppsV1DeploymentForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Deployment" + "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentList" } }, "401": { @@ -60155,26 +45068,91 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", "kind": "Deployment", - "version": "v1beta2" + "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets": { + "/apis/apps/v1/namespaces/{namespace}/controllerrevisions": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ReplicaSet", - "operationId": "deleteAppsV1beta2CollectionNamespacedReplicaSet", + "description": "delete collection of ControllerRevision", + "operationId": "deleteAppsV1CollectionNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60285,24 +45263,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "ControllerRevision", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listAppsV1beta2NamespacedReplicaSet", + "description": "list or watch objects of kind ControllerRevision", + "operationId": "listAppsV1NamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60369,7 +45347,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSetList" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevisionList" } }, "401": { @@ -60380,13 +45358,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "ControllerRevision", + "version": "v1" } }, "parameters": [ @@ -60410,15 +45388,15 @@ "consumes": [ "*/*" ], - "description": "create a ReplicaSet", - "operationId": "createAppsV1beta2NamespacedReplicaSet", + "description": "create a ControllerRevision", + "operationId": "createAppsV1NamespacedControllerRevision", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, { @@ -60445,19 +45423,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, "401": { @@ -60468,23 +45446,23 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "ControllerRevision", + "version": "v1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}": { + "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ReplicaSet", - "operationId": "deleteAppsV1beta2NamespacedReplicaSet", + "description": "delete a ControllerRevision", + "operationId": "deleteAppsV1NamespacedControllerRevision", "parameters": [ { "in": "body", @@ -60548,21 +45526,21 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "ControllerRevision", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified ReplicaSet", - "operationId": "readAppsV1beta2NamespacedReplicaSet", + "description": "read the specified ControllerRevision", + "operationId": "readAppsV1NamespacedControllerRevision", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -60588,399 +45566,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ReplicaSet", - "operationId": "patchAppsV1beta2NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ReplicaSet", - "operationId": "replaceAppsV1beta2NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - } - }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified ReplicaSet", - "operationId": "readAppsV1beta2NamespacedReplicaSetScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified ReplicaSet", - "operationId": "patchAppsV1beta2NamespacedReplicaSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified ReplicaSet", - "operationId": "replaceAppsV1beta2NamespacedReplicaSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - } - }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ReplicaSet", - "operationId": "readAppsV1beta2NamespacedReplicaSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, "401": { @@ -60991,18 +45577,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "ControllerRevision", + "version": "v1" } }, "parameters": [ { - "description": "name of the ReplicaSet", + "description": "name of the ControllerRevision", "in": "path", "name": "name", "required": true, @@ -61032,8 +45618,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified ReplicaSet", - "operationId": "patchAppsV1beta2NamespacedReplicaSetStatus", + "description": "partially update the specified ControllerRevision", + "operationId": "patchAppsV1NamespacedControllerRevision", "parameters": [ { "in": "body", @@ -61074,7 +45660,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, "401": { @@ -61085,28 +45671,28 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "ControllerRevision", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified ReplicaSet", - "operationId": "replaceAppsV1beta2NamespacedReplicaSetStatus", + "description": "replace the specified ControllerRevision", + "operationId": "replaceAppsV1NamespacedControllerRevision", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, { @@ -61133,13 +45719,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, "401": { @@ -61150,26 +45736,26 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "ControllerRevision", + "version": "v1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets": { + "/apis/apps/v1/namespaces/{namespace}/daemonsets": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of StatefulSet", - "operationId": "deleteAppsV1beta2CollectionNamespacedStatefulSet", + "description": "delete collection of DaemonSet", + "operationId": "deleteAppsV1CollectionNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -61280,24 +45866,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listAppsV1beta2NamespacedStatefulSet", + "description": "list or watch objects of kind DaemonSet", + "operationId": "listAppsV1NamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -61364,7 +45950,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSetList" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetList" } }, "401": { @@ -61375,13 +45961,13 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } }, "parameters": [ @@ -61405,15 +45991,15 @@ "consumes": [ "*/*" ], - "description": "create a StatefulSet", - "operationId": "createAppsV1beta2NamespacedStatefulSet", + "description": "create a DaemonSet", + "operationId": "createAppsV1NamespacedDaemonSet", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, { @@ -61440,19 +46026,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "401": { @@ -61463,23 +46049,23 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}": { + "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a StatefulSet", - "operationId": "deleteAppsV1beta2NamespacedStatefulSet", + "description": "delete a DaemonSet", + "operationId": "deleteAppsV1NamespacedDaemonSet", "parameters": [ { "in": "body", @@ -61543,21 +46129,21 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified StatefulSet", - "operationId": "readAppsV1beta2NamespacedStatefulSet", + "description": "read the specified DaemonSet", + "operationId": "readAppsV1NamespacedDaemonSet", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -61583,7 +46169,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "401": { @@ -61594,18 +46180,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } }, "parameters": [ { - "description": "name of the StatefulSet", + "description": "name of the DaemonSet", "in": "path", "name": "name", "required": true, @@ -61635,8 +46221,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified StatefulSet", - "operationId": "patchAppsV1beta2NamespacedStatefulSet", + "description": "partially update the specified DaemonSet", + "operationId": "patchAppsV1NamespacedDaemonSet", "parameters": [ { "in": "body", @@ -61677,7 +46263,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "401": { @@ -61688,28 +46274,28 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified StatefulSet", - "operationId": "replaceAppsV1beta2NamespacedStatefulSet", + "description": "replace the specified DaemonSet", + "operationId": "replaceAppsV1NamespacedDaemonSet", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, { @@ -61736,13 +46322,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "401": { @@ -61753,23 +46339,23 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale": { + "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified StatefulSet", - "operationId": "readAppsV1beta2NamespacedStatefulSetScale", + "description": "read status of the specified DaemonSet", + "operationId": "readAppsV1NamespacedDaemonSetStatus", "produces": [ "application/json", "application/yaml", @@ -61779,7 +46365,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "401": { @@ -61790,18 +46376,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "name of the DaemonSet", "in": "path", "name": "name", "required": true, @@ -61831,8 +46417,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update scale of the specified StatefulSet", - "operationId": "patchAppsV1beta2NamespacedStatefulSetScale", + "description": "partially update status of the specified DaemonSet", + "operationId": "patchAppsV1NamespacedDaemonSetStatus", "parameters": [ { "in": "body", @@ -61873,7 +46459,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "401": { @@ -61884,28 +46470,28 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace scale of the specified StatefulSet", - "operationId": "replaceAppsV1beta2NamespacedStatefulSetScale", + "description": "replace status of the specified DaemonSet", + "operationId": "replaceAppsV1NamespacedDaemonSetStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, { @@ -61932,13 +46518,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.Scale" + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, "401": { @@ -61949,439 +46535,126 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta2" + "kind": "DaemonSet", + "version": "v1" } } }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status": { - "get": { + "/apis/apps/v1/namespaces/{namespace}/deployments": { + "delete": { "consumes": [ "*/*" ], - "description": "read status of the specified StatefulSet", - "operationId": "readAppsV1beta2NamespacedStatefulSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified StatefulSet", - "operationId": "patchAppsV1beta2NamespacedStatefulSetStatus", + "description": "delete collection of Deployment", + "operationId": "deleteAppsV1CollectionNamespacedDeployment", "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "in": "query", - "name": "dryRun", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "fieldManager", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified StatefulSet", - "operationId": "replaceAppsV1beta2NamespacedStatefulSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "dryRun", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "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", - "name": "fieldManager", - "type": "string", + "name": "gracePeriodSeconds", + "type": "integer", "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - } - }, - "/apis/apps/v1beta2/replicasets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listAppsV1beta2ReplicaSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/statefulsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listAppsV1beta2StatefulSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/controllerrevisions": { - "get": { - "consumes": [ - "*/*" + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2ControllerRevisionListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -62392,88 +46665,79 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "kind": "Deployment", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/daemonsets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2DaemonSetListForAllNamespaces", + "description": "list or watch objects of kind Deployment", + "operationId": "listAppsV1NamespacedDeployment", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -62485,7 +46749,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentList" } }, "401": { @@ -62496,100 +46760,84 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "kind": "Deployment", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apps/v1beta2/watch/deployments": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2DeploymentListForAllNamespaces", + "description": "create a Deployment", + "operationId": "createAppsV1NamespacedDeployment", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" } }, "401": { @@ -62600,100 +46848,76 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", "kind": "Deployment", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "version": "v1" } - ] + } }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions": { - "get": { + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2NamespacedControllerRevisionList", + "description": "delete a Deployment", + "operationId": "deleteAppsV1NamespacedDeployment", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -62704,108 +46928,47 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "kind": "Deployment", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1beta2NamespacedControllerRevision", + "description": "read the specified Deployment", + "operationId": "readAppsV1NamespacedDeployment", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" } }, "401": { @@ -62816,53 +46979,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "kind": "Deployment", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ControllerRevision", + "description": "name of the Deployment", "in": "path", "name": "name", "required": true, @@ -62883,49 +47011,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified Deployment", + "operationId": "patchAppsV1NamespacedDeployment", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2NamespacedDaemonSetList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" } }, "401": { @@ -62936,108 +47073,98 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "kind": "Deployment", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified Deployment", + "operationId": "replaceAppsV1NamespacedDeployment", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" } - ] + } }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}": { + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1beta2NamespacedDaemonSet", + "description": "read scale of the specified Deployment", + "operationId": "readAppsV1NamespacedDeploymentScale", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, "401": { @@ -63048,53 +47175,18 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the DaemonSet", + "description": "name of the Scale", "in": "path", "name": "name", "required": true, @@ -63115,49 +47207,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update scale of the specified Deployment", + "operationId": "patchAppsV1NamespacedDeploymentScale", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2NamespacedDeploymentList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, "401": { @@ -63168,108 +47269,98 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "put": { + "consumes": [ + "*/*" + ], + "description": "replace scale of the specified Deployment", + "operationId": "replaceAppsV1NamespacedDeploymentScale", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } - ] + } }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}": { + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1beta2NamespacedDeployment", + "description": "read status of the specified Deployment", + "operationId": "readAppsV1NamespacedDeploymentStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" } }, "401": { @@ -63280,51 +47371,16 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", "kind": "Deployment", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "name of the Deployment", "in": "path", @@ -63347,49 +47403,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified Deployment", + "operationId": "patchAppsV1NamespacedDeploymentStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2NamespacedReplicaSetList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" } }, "401": { @@ -63400,108 +47465,191 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "Deployment", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified Deployment", + "operationId": "replaceAppsV1NamespacedDeploymentStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" } - ] + } }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}": { - "get": { + "/apis/apps/v1/namespaces/{namespace}/replicasets": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1beta2NamespacedReplicaSet", + "description": "delete collection of ReplicaSet", + "operationId": "deleteAppsV1CollectionNamespacedReplicaSet", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -63512,104 +47660,79 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", "kind": "ReplicaSet", - "version": "v1beta2" + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2NamespacedStatefulSetList", + "description": "list or watch objects of kind ReplicaSet", + "operationId": "listAppsV1NamespacedReplicaSet", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -63621,7 +47744,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetList" } }, "401": { @@ -63632,51 +47755,16 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "ReplicaSet", + "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -63691,49 +47779,60 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1beta2NamespacedStatefulSet", + "description": "create a ReplicaSet", + "operationId": "createAppsV1NamespacedReplicaSet", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, "401": { @@ -63744,116 +47843,76 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "kind": "ReplicaSet", + "version": "v1" } - ] + } }, - "/apis/apps/v1beta2/watch/replicasets": { - "get": { + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2ReplicaSetListForAllNamespaces", + "description": "delete a ReplicaSet", + "operationId": "deleteAppsV1NamespacedReplicaSet", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -63864,100 +47923,47 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "apps", "kind": "ReplicaSet", - "version": "v1beta2" + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1beta2/watch/statefulsets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1beta2StatefulSetListForAllNamespaces", + "description": "read the specified ReplicaSet", + "operationId": "readAppsV1NamespacedReplicaSet", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, "401": { @@ -63968,123 +47974,80 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + "kind": "ReplicaSet", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the ReplicaSet", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/auditregistration.k8s.io/": { - "get": { + ], + "patch": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAuditregistrationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "responses": { - "200": { - "description": "OK", + "description": "partially update the specified ReplicaSet", + "operationId": "patchAppsV1NamespacedReplicaSet", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration" - ] - } - }, - "/apis/auditregistration.k8s.io/v1alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getAuditregistrationV1alpha1APIResources", "produces": [ "application/json", "application/yaml", @@ -64094,7 +48057,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, "401": { @@ -64105,39 +48068,30 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" - ] - } - }, - "/apis/auditregistration.k8s.io/v1alpha1/auditsinks": { - "delete": { + "apps_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "put": { "consumes": [ "*/*" ], - "description": "delete collection of AuditSink", - "operationId": "deleteAuditregistrationV1alpha1CollectionAuditSink", + "description": "replace the specified ReplicaSet", + "operationId": "replaceAppsV1NamespacedReplicaSet", "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -64146,67 +48100,11 @@ "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "resourceVersion", + "name": "fieldManager", "type": "string", "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -64218,7 +48116,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, "401": { @@ -64229,91 +48133,33 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" + "apps_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" } - }, + } + }, + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind AuditSink", - "operationId": "listAuditregistrationV1alpha1AuditSink", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read scale of the specified ReplicaSet", + "operationId": "readAppsV1NamespacedReplicaSetScale", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSinkList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, "401": { @@ -64324,16 +48170,32 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" + "apps_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } }, "parameters": [ + { + "description": "name of the Scale", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -64342,19 +48204,22 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create an AuditSink", - "operationId": "createAuditregistrationV1alpha1AuditSink", + "description": "partially update scale of the specified ReplicaSet", + "operationId": "patchAppsV1NamespacedReplicaSetScale", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } }, { @@ -64365,11 +48230,18 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -64381,19 +48253,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, "401": { @@ -64404,29 +48264,28 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } - } - }, - "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}": { - "delete": { + }, + "put": { "consumes": [ "*/*" ], - "description": "delete an AuditSink", - "operationId": "deleteAuditregistrationV1alpha1AuditSink", + "description": "replace scale of the specified ReplicaSet", + "operationId": "replaceAppsV1NamespacedReplicaSetScale", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, { @@ -64437,23 +48296,9 @@ "uniqueItems": true }, { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "propagationPolicy", + "name": "fieldManager", "type": "string", "uniqueItems": true } @@ -64467,13 +48312,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, "401": { @@ -64484,37 +48329,23 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" + "apps_v1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } - }, + } + }, + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified AuditSink", - "operationId": "readAuditregistrationV1alpha1AuditSink", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified ReplicaSet", + "operationId": "readAppsV1NamespacedReplicaSetStatus", "produces": [ "application/json", "application/yaml", @@ -64524,7 +48355,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, "401": { @@ -64535,24 +48366,32 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" + "apps_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" } }, "parameters": [ { - "description": "name of the AuditSink", + "description": "name of the ReplicaSet", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -64568,8 +48407,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified AuditSink", - "operationId": "patchAuditregistrationV1alpha1AuditSink", + "description": "partially update status of the specified ReplicaSet", + "operationId": "patchAppsV1NamespacedReplicaSetStatus", "parameters": [ { "in": "body", @@ -64610,7 +48449,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, "401": { @@ -64621,30 +48460,110 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" + "apps_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified AuditSink", - "operationId": "replaceAuditregistrationV1alpha1AuditSink", + "description": "replace status of the specified ReplicaSet", + "operationId": "replaceAppsV1NamespacedReplicaSetStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + } + }, + "/apis/apps/v1/namespaces/{namespace}/statefulsets": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of StatefulSet", + "operationId": "deleteAppsV1CollectionNamespacedStatefulSet", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -64653,10 +48572,66 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", "in": "query", - "name": "fieldManager", - "type": "string", + "name": "watch", + "type": "boolean", "uniqueItems": true } ], @@ -64669,13 +48644,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -64686,127 +48655,79 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" + "apps_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1" } - } - }, - "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks": { + }, "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of AuditSink. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAuditregistrationV1alpha1AuditSinkList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } + "description": "list or watch objects of kind StatefulSet", + "operationId": "listAppsV1NamespacedStatefulSet", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "401": { - "description": "Unauthorized" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, - "schemes": [ - "https" - ], - "tags": [ - "auditregistration_v1alpha1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}": { - "get": { - "consumes": [ - "*/*" ], - "description": "watch changes to an object of kind AuditSink. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAuditregistrationV1alpha1AuditSink", "produces": [ "application/json", "application/yaml", @@ -64818,7 +48739,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetList" } }, "401": { @@ -64829,55 +48750,20 @@ "https" ], "tags": [ - "auditregistration_v1alpha1" + "apps_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "auditregistration.k8s.io", - "kind": "AuditSink", - "version": "v1alpha1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the AuditSink", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -64888,72 +48774,38 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/authentication.k8s.io/": { - "get": { + ], + "post": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAuthenticationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "responses": { - "200": { - "description": "OK", + "description": "create a StatefulSet", + "operationId": "createAppsV1NamespacedStatefulSet", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, - "401": { - "description": "Unauthorized" + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication" - ] - } - }, - "/apis/authentication.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" ], - "description": "get available resources", - "operationId": "getAuthenticationV1APIResources", "produces": [ "application/json", "application/yaml", @@ -64963,7 +48815,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, "401": { @@ -64974,48 +48838,58 @@ "https" ], "tags": [ - "authentication_v1" - ] + "apps_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } } }, - "/apis/authentication.k8s.io/v1/tokenreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "create a TokenReview", - "operationId": "createAuthenticationV1TokenReview", + "description": "delete a StatefulSet", + "operationId": "deleteAppsV1NamespacedStatefulSet", "parameters": [ { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true } ], "produces": [ @@ -65027,19 +48901,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -65050,25 +48918,37 @@ "https" ], "tags": [ - "authentication_v1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", + "group": "apps", + "kind": "StatefulSet", "version": "v1" } - } - }, - "/apis/authentication.k8s.io/v1beta1/": { + }, "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "read the specified StatefulSet", + "operationId": "readAppsV1NamespacedStatefulSet", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getAuthenticationV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -65078,7 +48958,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, "401": { @@ -65089,23 +48969,29 @@ "https" ], "tags": [ - "authentication_v1beta1" - ] - } - }, - "/apis/authentication.k8s.io/v1beta1/tokenreviews": { + "apps_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", + "description": "name of the StatefulSet", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, @@ -65117,20 +49003,44 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create a TokenReview", - "operationId": "createAuthenticationV1beta1TokenReview", + "description": "partially update the specified StatefulSet", + "operationId": "patchAppsV1NamespacedStatefulSet", "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -65142,19 +49052,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, "401": { @@ -65165,25 +49063,45 @@ "https" ], "tags": [ - "authentication_v1beta1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1beta1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1" } - } - }, - "/apis/authorization.k8s.io/": { - "get": { + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified StatefulSet", + "operationId": "replaceAppsV1NamespacedStatefulSet", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get information of a group", - "operationId": "getAuthorizationAPIGroup", "produces": [ "application/json", "application/yaml", @@ -65193,7 +49111,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, "401": { @@ -65204,19 +49128,23 @@ "https" ], "tags": [ - "authorization" - ] + "apps_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } } }, - "/apis/authorization.k8s.io/v1/": { + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale": { "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available resources", - "operationId": "getAuthorizationV1APIResources", + "description": "read scale of the specified StatefulSet", + "operationId": "readAppsV1NamespacedStatefulSetScale", "produces": [ "application/json", "application/yaml", @@ -65226,7 +49154,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, "401": { @@ -65237,23 +49165,21 @@ "https" ], "tags": [ - "authorization_v1" - ] - } - }, - "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { + "apps_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", + "description": "name of the Scale", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, @@ -65273,20 +49199,44 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create a LocalSubjectAccessReview", - "operationId": "createAuthorizationV1NamespacedLocalSubjectAccessReview", + "description": "partially update scale of the specified StatefulSet", + "operationId": "patchAppsV1NamespacedStatefulSetScale", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -65298,19 +49248,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, "401": { @@ -65321,54 +49259,43 @@ "https" ], "tags": [ - "authorization_v1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", + "group": "autoscaling", + "kind": "Scale", "version": "v1" } - } - }, - "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { + }, + "put": { "consumes": [ "*/*" ], - "description": "create a SelfSubjectAccessReview", - "operationId": "createAuthorizationV1SelfSubjectAccessReview", + "description": "replace scale of the specified StatefulSet", + "operationId": "replaceAppsV1NamespacedStatefulSetScale", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true } ], "produces": [ @@ -65380,19 +49307,50 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, - "202": { - "description": "Accepted", + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + } + }, + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified StatefulSet", + "operationId": "readAppsV1NamespacedStatefulSetStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, "401": { @@ -65403,29 +49361,29 @@ "https" ], "tags": [ - "authorization_v1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", + "group": "apps", + "kind": "StatefulSet", "version": "v1" } - } - }, - "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { + }, "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", + "description": "name of the StatefulSet", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, @@ -65437,20 +49395,44 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create a SelfSubjectRulesReview", - "operationId": "createAuthorizationV1SelfSubjectRulesReview", + "description": "partially update status of the specified StatefulSet", + "operationId": "patchAppsV1NamespacedStatefulSetStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -65462,19 +49444,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, "401": { @@ -65485,54 +49455,43 @@ "https" ], "tags": [ - "authorization_v1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", + "group": "apps", + "kind": "StatefulSet", "version": "v1" } - } - }, - "/apis/authorization.k8s.io/v1/subjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { + }, + "put": { "consumes": [ "*/*" ], - "description": "create a SubjectAccessReview", - "operationId": "createAuthorizationV1SubjectAccessReview", + "description": "replace status of the specified StatefulSet", + "operationId": "replaceAppsV1NamespacedStatefulSetStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true } ], "produces": [ @@ -65544,19 +49503,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, "401": { @@ -65567,35 +49520,35 @@ "https" ], "tags": [ - "authorization_v1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", + "group": "apps", + "kind": "StatefulSet", "version": "v1" } } }, - "/apis/authorization.k8s.io/v1beta1/": { + "/apis/apps/v1/replicasets": { "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available resources", - "operationId": "getAuthorizationV1beta1APIResources", + "description": "list or watch objects of kind ReplicaSet", + "operationId": "listAppsV1ReplicaSetForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetList" } }, "401": { @@ -65606,80 +49559,100 @@ "https" ], "tags": [ - "authorization_v1beta1" - ] - } - }, - "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { + "apps_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", - "name": "dryRun", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "post": { + ] + }, + "/apis/apps/v1/statefulsets": { + "get": { "consumes": [ "*/*" ], - "description": "create a LocalSubjectAccessReview", - "operationId": "createAuthorizationV1beta1NamespacedLocalSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - } - } - ], + "description": "list or watch objects of kind StatefulSet", + "operationId": "listAppsV1StatefulSetForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetList" } }, "401": { @@ -65690,78 +49663,100 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1beta1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1" } - } - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { + }, "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", - "name": "dryRun", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "post": { + ] + }, + "/apis/apps/v1/watch/controllerrevisions": { + "get": { "consumes": [ "*/*" ], - "description": "create a SelfSubjectAccessReview", - "operationId": "createAuthorizationV1beta1SelfSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - } - } - ], + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1ControllerRevisionListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -65772,78 +49767,100 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1beta1" + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" } - } - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews": { + }, "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", - "name": "dryRun", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "post": { + ] + }, + "/apis/apps/v1/watch/daemonsets": { + "get": { "consumes": [ "*/*" ], - "description": "create a SelfSubjectRulesReview", - "operationId": "createAuthorizationV1beta1SelfSubjectRulesReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - } - } - ], + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1DaemonSetListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -65854,78 +49871,100 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1beta1" + "group": "apps", + "kind": "DaemonSet", + "version": "v1" } - } - }, - "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { + }, "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", - "name": "dryRun", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "post": { + ] + }, + "/apis/apps/v1/watch/deployments": { + "get": { "consumes": [ "*/*" ], - "description": "create a SubjectAccessReview", - "operationId": "createAuthorizationV1beta1SubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" - } - } - ], + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1DeploymentListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -65936,35 +49975,100 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1beta1" + "group": "apps", + "kind": "Deployment", + "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/autoscaling/": { + "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": { "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get information of a group", - "operationId": "getAutoscalingAPIGroup", + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1NamespacedControllerRevisionList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -65975,50 +50079,96 @@ "https" ], "tags": [ - "autoscaling" - ] - } - }, - "/apis/autoscaling/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAutoscalingV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "apps_v1" ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ] - } + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/autoscaling/v1/horizontalpodautoscalers": { + "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces", + "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAppsV1NamespacedControllerRevision", "produces": [ "application/json", "application/yaml", @@ -66030,7 +50180,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -66041,18 +50191,18 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "ControllerRevision", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66086,6 +50236,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the ControllerRevision", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -66116,199 +50282,13 @@ } ] }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, + "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1NamespacedDaemonSetList", "produces": [ "application/json", "application/yaml", @@ -66320,7 +50300,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -66331,16 +50311,51 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "DaemonSet", "version": "v1" } }, "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -66355,140 +50370,49 @@ "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" + { + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "delete": { + "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAppsV1NamespacedDaemonSet", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -66499,69 +50423,53 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "DaemonSet", "version": "v1" } }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ { - "description": "name of the HorizontalPodAutoscaler", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the DaemonSet", "in": "path", "name": "name", "required": true, @@ -66582,58 +50490,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/deployments": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1NamespacedDeploymentList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -66644,98 +50543,108 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "Deployment", "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", + "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAppsV1NamespacedDeployment", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -66746,18 +50655,53 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "Deployment", "version": "v1" } }, "parameters": [ { - "description": "name of the HorizontalPodAutoscaler", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Deployment", "in": "path", "name": "name", "required": true, @@ -66778,58 +50722,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1NamespacedReplicaSetList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -66840,88 +50775,96 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "ReplicaSet", "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, - "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { + "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces", + "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAppsV1NamespacedReplicaSet", "produces": [ "application/json", "application/yaml", @@ -66944,18 +50887,18 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "ReplicaSet", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66989,6 +50932,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the ReplicaSet", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -67019,13 +50978,13 @@ } ] }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { + "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV1NamespacedHorizontalPodAutoscalerList", + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1NamespacedStatefulSetList", "produces": [ "application/json", "application/yaml", @@ -67048,18 +51007,18 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "StatefulSet", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67131,13 +51090,13 @@ } ] }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAutoscalingV1NamespacedHorizontalPodAutoscaler", + "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAppsV1NamespacedStatefulSet", "produces": [ "application/json", "application/yaml", @@ -67160,18 +51119,18 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", + "group": "apps", + "kind": "StatefulSet", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67206,7 +51165,7 @@ "uniqueItems": true }, { - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the StatefulSet", "in": "path", "name": "name", "required": true, @@ -67251,25 +51210,25 @@ } ] }, - "/apis/autoscaling/v2beta1/": { + "/apis/apps/v1/watch/replicasets": { "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available resources", - "operationId": "getAutoscalingV2beta1APIResources", + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1ReplicaSetListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -67280,17 +51239,88 @@ "https" ], "tags": [ - "autoscaling_v2beta1" - ] - } + "apps_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/autoscaling/v2beta1/horizontalpodautoscalers": { + "/apis/apps/v1/watch/statefulsets": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces", + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAppsV1StatefulSetListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -67302,7 +51332,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -67313,18 +51343,18 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "apps_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67388,16 +51418,82 @@ } ] }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers": { + "/apis/auditregistration.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAuditregistrationAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "auditregistration" + ] + } + }, + "/apis/auditregistration.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAuditregistrationV1alpha1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "auditregistration_v1alpha1" + ] + } + }, + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler", + "description": "delete collection of AuditSink", + "operationId": "deleteAuditregistrationV1alpha1CollectionAuditSink", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67508,24 +51604,24 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", + "description": "list or watch objects of kind AuditSink", + "operationId": "listAuditregistrationV1alpha1AuditSink", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67592,7 +51688,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSinkList" } }, "401": { @@ -67603,24 +51699,16 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -67633,15 +51721,15 @@ "consumes": [ "*/*" ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", + "description": "create an AuditSink", + "operationId": "createAuditregistrationV1alpha1AuditSink", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, { @@ -67668,19 +51756,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "401": { @@ -67691,253 +51779,29 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } } }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", + "description": "delete an AuditSink", + "operationId": "deleteAuditregistrationV1alpha1AuditSink", "parameters": [ { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, { @@ -67948,9 +51812,23 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "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", - "name": "fieldManager", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", "type": "string", "uniqueItems": true } @@ -67964,13 +51842,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, - "201": { - "description": "Created", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -67981,23 +51859,37 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } - } - }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + }, "get": { "consumes": [ "*/*" ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", + "description": "read the specified AuditSink", + "operationId": "readAuditregistrationV1alpha1AuditSink", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -68007,7 +51899,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "401": { @@ -68018,32 +51910,24 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the AuditSink", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -68059,8 +51943,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", + "description": "partially update the specified AuditSink", + "operationId": "patchAuditregistrationV1alpha1AuditSink", "parameters": [ { "in": "body", @@ -68101,7 +51985,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "401": { @@ -68112,28 +51996,28 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", + "description": "replace the specified AuditSink", + "operationId": "replaceAuditregistrationV1alpha1AuditSink", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, { @@ -68160,13 +52044,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "401": { @@ -68177,23 +52061,23 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } } }, - "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces", + "description": "watch individual changes to a list of AuditSink. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAuditregistrationV1alpha1AuditSinkList", "produces": [ "application/json", "application/yaml", @@ -68216,18 +52100,18 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68291,13 +52175,13 @@ } ] }, - "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList", + "description": "watch changes to an object of kind AuditSink. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAuditregistrationV1alpha1AuditSink", "produces": [ "application/json", "application/yaml", @@ -68320,18 +52204,18 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "auditregistration_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68366,9 +52250,9 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the AuditSink", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -68403,25 +52287,25 @@ } ] }, - "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "/apis/authentication.k8s.io/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", + "description": "get information of a group", + "operationId": "getAuthenticationAPIGroup", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, "401": { @@ -68432,64 +52316,56 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "authentication" + ] + } + }, + "/apis/authentication.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "description": "get available resources", + "operationId": "getAuthenticationV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1" + ] + } + }, + "/apis/authentication.k8s.io/v1/tokenreviews": { + "parameters": [ { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "labelSelector", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "name": "fieldManager", "type": "string", "uniqueItems": true }, @@ -68499,39 +52375,24 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/autoscaling/v2beta2/": { - "get": { + ], + "post": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "create a TokenReview", + "operationId": "createAuthenticationV1TokenReview", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + } ], - "description": "get available resources", - "operationId": "getAutoscalingV2beta2APIResources", "produces": [ "application/json", "application/yaml", @@ -68541,7 +52402,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" } }, "401": { @@ -68552,29 +52425,35 @@ "https" ], "tags": [ - "autoscaling_v2beta2" - ] + "authentication_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" + } } }, - "/apis/autoscaling/v2beta2/horizontalpodautoscalers": { + "/apis/authentication.k8s.io/v1beta1/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces", + "description": "get available resources", + "operationId": "getAuthenticationV1beta1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -68585,179 +52464,48 @@ "https" ], "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, + "authentication_v1beta1" + ] + } + }, + "/apis/authentication.k8s.io/v1beta1/tokenreviews": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a TokenReview", + "operationId": "createAuthenticationV1beta1TokenReview", + "parameters": [ { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + } } ], "produces": [ @@ -68769,7 +52517,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" } }, "401": { @@ -68780,91 +52540,68 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authentication_v1beta1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1beta1" } - }, + } + }, + "/apis/authorization.k8s.io/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "description": "get information of a group", + "operationId": "getAuthorizationAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "authorization" + ] + } + }, + "/apis/authorization.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getAuthorizationV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -68875,16 +52612,26 @@ "https" ], "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, + "authorization_v1" + ] + } + }, + "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -68905,30 +52652,16 @@ "consumes": [ "*/*" ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", + "description": "create a LocalSubjectAccessReview", + "operationId": "createAuthorizationV1NamespacedLocalSubjectAccessReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -68940,19 +52673,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" } }, "401": { @@ -68963,58 +52696,54 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authorization_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" } } }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "delete": { + "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { "consumes": [ "*/*" ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", + "description": "create a SelfSubjectAccessReview", + "operationId": "createAuthorizationV1SelfSubjectAccessReview", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -69026,64 +52755,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" } }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" } }, "401": { @@ -69094,29 +52778,29 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authorization_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" } - }, + } + }, + "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { "parameters": [ { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", "type": "string", "uniqueItems": true }, @@ -69128,44 +52812,20 @@ "uniqueItems": true } ], - "patch": { + "post": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", + "description": "create a SelfSubjectRulesReview", + "operationId": "createAuthorizationV1SelfSubjectRulesReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -69177,7 +52837,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" } }, "401": { @@ -69188,43 +52860,54 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authorization_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" } - }, - "put": { + } + }, + "/apis/authorization.k8s.io/v1/subjectaccessreviews": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { "consumes": [ "*/*" ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", + "description": "create a SubjectAccessReview", + "operationId": "createAuthorizationV1SubjectAccessReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -69236,13 +52919,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" } }, "401": { @@ -69253,23 +52942,25 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authorization_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" } } }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "/apis/authorization.k8s.io/v1beta1/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", + "description": "get available resources", + "operationId": "getAuthorizationV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -69279,7 +52970,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -69290,21 +52981,23 @@ "https" ], "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, + "authorization_v1beta1" + ] + } + }, + "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { "parameters": [ { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", "type": "string", "uniqueItems": true }, @@ -69324,44 +53017,20 @@ "uniqueItems": true } ], - "patch": { + "post": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", + "description": "create a LocalSubjectAccessReview", + "operationId": "createAuthorizationV1beta1NamespacedLocalSubjectAccessReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -69373,7 +53042,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" } }, "401": { @@ -69384,43 +53065,54 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authorization_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1beta1" } - }, - "put": { + } + }, + "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { "consumes": [ "*/*" ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", + "description": "create a SelfSubjectAccessReview", + "operationId": "createAuthorizationV1beta1SelfSubjectAccessReview", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true } ], "produces": [ @@ -69432,52 +53124,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" } }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - } - }, - "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" } }, "401": { @@ -69488,100 +53147,78 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authorization_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1beta1" } - }, + } + }, + "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "fieldSelector", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "labelSelector", + "name": "fieldManager", "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList", + "description": "create a SelfSubjectRulesReview", + "operationId": "createAuthorizationV1beta1SelfSubjectRulesReview", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" + } + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" } }, "401": { @@ -69592,56 +53229,29 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authorization_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1beta1" } - }, + } + }, + "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", - "name": "labelSelector", + "name": "dryRun", "type": "string", "uniqueItems": true }, { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "name": "fieldManager", "type": "string", "uniqueItems": true }, @@ -69651,49 +53261,46 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", + "description": "create a SubjectAccessReview", + "operationId": "createAuthorizationV1beta1SubjectAccessReview", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" + } + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" } }, "401": { @@ -69704,98 +53311,17 @@ "https" ], "tags": [ - "autoscaling_v2beta2" + "authorization_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1beta1" } - ] + } }, - "/apis/batch/": { + "/apis/autoscaling/": { "get": { "consumes": [ "application/json", @@ -69803,7 +53329,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getBatchAPIGroup", + "operationId": "getAutoscalingAPIGroup", "produces": [ "application/json", "application/yaml", @@ -69824,11 +53350,11 @@ "https" ], "tags": [ - "batch" + "autoscaling" ] } }, - "/apis/batch/v1/": { + "/apis/autoscaling/v1/": { "get": { "consumes": [ "application/json", @@ -69836,7 +53362,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getBatchV1APIResources", + "operationId": "getAutoscalingV1APIResources", "produces": [ "application/json", "application/yaml", @@ -69857,17 +53383,17 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ] } }, - "/apis/batch/v1/jobs": { + "/apis/autoscaling/v1/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Job", - "operationId": "listBatchV1JobForAllNamespaces", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -69879,7 +53405,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" } }, "401": { @@ -69890,18 +53416,18 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69965,16 +53491,16 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs": { + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Job", - "operationId": "deleteBatchV1CollectionNamespacedJob", + "description": "delete collection of HorizontalPodAutoscaler", + "operationId": "deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70085,12 +53611,12 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, @@ -70098,11 +53624,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Job", - "operationId": "listBatchV1NamespacedJob", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listAutoscalingV1NamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70169,7 +53695,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" } }, "401": { @@ -70180,12 +53706,12 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, @@ -70210,15 +53736,15 @@ "consumes": [ "*/*" ], - "description": "create a Job", - "operationId": "createBatchV1NamespacedJob", + "description": "create a HorizontalPodAutoscaler", + "operationId": "createAutoscalingV1NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, { @@ -70245,19 +53771,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "401": { @@ -70268,23 +53794,23 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } } }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Job", - "operationId": "deleteBatchV1NamespacedJob", + "description": "delete a HorizontalPodAutoscaler", + "operationId": "deleteAutoscalingV1NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -70348,12 +53874,12 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, @@ -70361,8 +53887,8 @@ "consumes": [ "*/*" ], - "description": "read the specified Job", - "operationId": "readBatchV1NamespacedJob", + "description": "read the specified HorizontalPodAutoscaler", + "operationId": "readAutoscalingV1NamespacedHorizontalPodAutoscaler", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -70388,7 +53914,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "401": { @@ -70399,18 +53925,18 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, "parameters": [ { - "description": "name of the Job", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -70440,8 +53966,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Job", - "operationId": "patchBatchV1NamespacedJob", + "description": "partially update the specified HorizontalPodAutoscaler", + "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -70482,7 +54008,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "401": { @@ -70493,12 +54019,12 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, @@ -70506,15 +54032,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Job", - "operationId": "replaceBatchV1NamespacedJob", + "description": "replace the specified HorizontalPodAutoscaler", + "operationId": "replaceAutoscalingV1NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, { @@ -70541,13 +54067,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "401": { @@ -70558,23 +54084,23 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } } }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Job", - "operationId": "readBatchV1NamespacedJobStatus", + "description": "read status of the specified HorizontalPodAutoscaler", + "operationId": "readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", "produces": [ "application/json", "application/yaml", @@ -70584,7 +54110,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "401": { @@ -70595,18 +54121,18 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, "parameters": [ { - "description": "name of the Job", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -70636,8 +54162,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified Job", - "operationId": "patchBatchV1NamespacedJobStatus", + "description": "partially update status of the specified HorizontalPodAutoscaler", + "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", @@ -70678,7 +54204,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "401": { @@ -70689,12 +54215,12 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, @@ -70702,15 +54228,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified Job", - "operationId": "replaceBatchV1NamespacedJobStatus", + "description": "replace status of the specified HorizontalPodAutoscaler", + "operationId": "replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, { @@ -70737,13 +54263,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, "401": { @@ -70754,23 +54280,23 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } } }, - "/apis/batch/v1/watch/jobs": { + "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1JobListForAllNamespaces", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -70793,18 +54319,18 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70868,13 +54394,13 @@ } ] }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1NamespacedJobList", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAutoscalingV1NamespacedHorizontalPodAutoscalerList", "produces": [ "application/json", "application/yaml", @@ -70897,18 +54423,18 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70980,13 +54506,13 @@ } ] }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV1NamespacedJob", + "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAutoscalingV1NamespacedHorizontalPodAutoscaler", "produces": [ "application/json", "application/yaml", @@ -71009,18 +54535,18 @@ "https" ], "tags": [ - "batch_v1" + "autoscaling_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71055,7 +54581,7 @@ "uniqueItems": true }, { - "description": "name of the Job", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -71100,7 +54626,7 @@ } ] }, - "/apis/batch/v1beta1/": { + "/apis/autoscaling/v2beta1/": { "get": { "consumes": [ "application/json", @@ -71108,7 +54634,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getBatchV1beta1APIResources", + "operationId": "getAutoscalingV2beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -71129,17 +54655,17 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ] } }, - "/apis/batch/v1beta1/cronjobs": { + "/apis/autoscaling/v2beta1/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV1beta1CronJobForAllNamespaces", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -71151,7 +54677,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" } }, "401": { @@ -71162,18 +54688,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71237,16 +54763,16 @@ } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of CronJob", - "operationId": "deleteBatchV1beta1CollectionNamespacedCronJob", + "description": "delete collection of HorizontalPodAutoscaler", + "operationId": "deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71357,24 +54883,24 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV1beta1NamespacedCronJob", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71441,7 +54967,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" } }, "401": { @@ -71452,13 +54978,13 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ @@ -71482,15 +55008,15 @@ "consumes": [ "*/*" ], - "description": "create a CronJob", - "operationId": "createBatchV1beta1NamespacedCronJob", + "description": "create a HorizontalPodAutoscaler", + "operationId": "createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, { @@ -71517,19 +55043,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -71540,23 +55066,23 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } } }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a CronJob", - "operationId": "deleteBatchV1beta1NamespacedCronJob", + "description": "delete a HorizontalPodAutoscaler", + "operationId": "deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -71620,21 +55146,21 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified CronJob", - "operationId": "readBatchV1beta1NamespacedCronJob", + "description": "read the specified HorizontalPodAutoscaler", + "operationId": "readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -71660,7 +55186,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -71671,18 +55197,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { - "description": "name of the CronJob", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -71712,8 +55238,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified CronJob", - "operationId": "patchBatchV1beta1NamespacedCronJob", + "description": "partially update the specified HorizontalPodAutoscaler", + "operationId": "patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -71754,7 +55280,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -71765,28 +55291,28 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified CronJob", - "operationId": "replaceBatchV1beta1NamespacedCronJob", + "description": "replace the specified HorizontalPodAutoscaler", + "operationId": "replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, { @@ -71813,13 +55339,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -71830,23 +55356,23 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } } }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified CronJob", - "operationId": "readBatchV1beta1NamespacedCronJobStatus", + "description": "read status of the specified HorizontalPodAutoscaler", + "operationId": "readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", "produces": [ "application/json", "application/yaml", @@ -71856,7 +55382,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -71867,18 +55393,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { - "description": "name of the CronJob", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -71908,8 +55434,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified CronJob", - "operationId": "patchBatchV1beta1NamespacedCronJobStatus", + "description": "partially update status of the specified HorizontalPodAutoscaler", + "operationId": "patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", @@ -71950,7 +55476,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -71961,28 +55487,28 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified CronJob", - "operationId": "replaceBatchV1beta1NamespacedCronJobStatus", + "description": "replace status of the specified HorizontalPodAutoscaler", + "operationId": "replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, { @@ -72009,13 +55535,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, "401": { @@ -72026,23 +55552,23 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } } }, - "/apis/batch/v1beta1/watch/cronjobs": { + "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1beta1CronJobListForAllNamespaces", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -72065,18 +55591,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72140,13 +55666,13 @@ } ] }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { + "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1beta1NamespacedCronJobList", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList", "produces": [ "application/json", "application/yaml", @@ -72169,18 +55695,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72252,13 +55778,13 @@ } ] }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { + "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV1beta1NamespacedCronJob", + "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", "produces": [ "application/json", "application/yaml", @@ -72281,18 +55807,18 @@ "https" ], "tags": [ - "batch_v1beta1" + "autoscaling_v2beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72327,7 +55853,7 @@ "uniqueItems": true }, { - "description": "name of the CronJob", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -72372,7 +55898,7 @@ } ] }, - "/apis/batch/v2alpha1/": { + "/apis/autoscaling/v2beta2/": { "get": { "consumes": [ "application/json", @@ -72380,7 +55906,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getBatchV2alpha1APIResources", + "operationId": "getAutoscalingV2beta2APIResources", "produces": [ "application/json", "application/yaml", @@ -72401,17 +55927,17 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ] } }, - "/apis/batch/v2alpha1/cronjobs": { + "/apis/autoscaling/v2beta2/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV2alpha1CronJobForAllNamespaces", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -72423,7 +55949,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" } }, "401": { @@ -72434,18 +55960,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72509,16 +56035,16 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of CronJob", - "operationId": "deleteBatchV2alpha1CollectionNamespacedCronJob", + "description": "delete collection of HorizontalPodAutoscaler", + "operationId": "deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72629,24 +56155,24 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV2alpha1NamespacedCronJob", + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "operationId": "listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72713,7 +56239,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" } }, "401": { @@ -72724,13 +56250,13 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ @@ -72754,15 +56280,15 @@ "consumes": [ "*/*" ], - "description": "create a CronJob", - "operationId": "createBatchV2alpha1NamespacedCronJob", + "description": "create a HorizontalPodAutoscaler", + "operationId": "createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, { @@ -72789,19 +56315,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -72812,23 +56338,23 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } } }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a CronJob", - "operationId": "deleteBatchV2alpha1NamespacedCronJob", + "description": "delete a HorizontalPodAutoscaler", + "operationId": "deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -72892,21 +56418,21 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified CronJob", - "operationId": "readBatchV2alpha1NamespacedCronJob", + "description": "read the specified HorizontalPodAutoscaler", + "operationId": "readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -72932,7 +56458,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -72943,18 +56469,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { - "description": "name of the CronJob", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -72984,8 +56510,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified CronJob", - "operationId": "patchBatchV2alpha1NamespacedCronJob", + "description": "partially update the specified HorizontalPodAutoscaler", + "operationId": "patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", @@ -73026,7 +56552,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -73037,28 +56563,28 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified CronJob", - "operationId": "replaceBatchV2alpha1NamespacedCronJob", + "description": "replace the specified HorizontalPodAutoscaler", + "operationId": "replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, { @@ -73085,13 +56611,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -73102,23 +56628,23 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } } }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified CronJob", - "operationId": "readBatchV2alpha1NamespacedCronJobStatus", + "description": "read status of the specified HorizontalPodAutoscaler", + "operationId": "readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", "produces": [ "application/json", "application/yaml", @@ -73128,7 +56654,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -73139,18 +56665,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { - "description": "name of the CronJob", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -73180,8 +56706,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified CronJob", - "operationId": "patchBatchV2alpha1NamespacedCronJobStatus", + "description": "partially update status of the specified HorizontalPodAutoscaler", + "operationId": "patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", @@ -73222,7 +56748,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -73233,28 +56759,28 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified CronJob", - "operationId": "replaceBatchV2alpha1NamespacedCronJobStatus", + "description": "replace status of the specified HorizontalPodAutoscaler", + "operationId": "replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, { @@ -73281,13 +56807,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -73298,23 +56824,23 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } } }, - "/apis/batch/v2alpha1/watch/cronjobs": { + "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV2alpha1CronJobListForAllNamespaces", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -73337,18 +56863,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73412,13 +56938,13 @@ } ] }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV2alpha1NamespacedCronJobList", + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList", "produces": [ "application/json", "application/yaml", @@ -73441,18 +56967,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73524,13 +57050,13 @@ } ] }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV2alpha1NamespacedCronJob", + "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "produces": [ "application/json", "application/yaml", @@ -73553,18 +57079,18 @@ "https" ], "tags": [ - "batch_v2alpha1" + "autoscaling_v2beta2" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73599,7 +57125,7 @@ "uniqueItems": true }, { - "description": "name of the CronJob", + "description": "name of the HorizontalPodAutoscaler", "in": "path", "name": "name", "required": true, @@ -73644,7 +57170,7 @@ } ] }, - "/apis/certificates.k8s.io/": { + "/apis/batch/": { "get": { "consumes": [ "application/json", @@ -73652,7 +57178,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getCertificatesAPIGroup", + "operationId": "getBatchAPIGroup", "produces": [ "application/json", "application/yaml", @@ -73673,11 +57199,11 @@ "https" ], "tags": [ - "certificates" + "batch" ] } }, - "/apis/certificates.k8s.io/v1beta1/": { + "/apis/batch/v1/": { "get": { "consumes": [ "application/json", @@ -73685,7 +57211,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getCertificatesV1beta1APIResources", + "operationId": "getBatchV1APIResources", "produces": [ "application/json", "application/yaml", @@ -73706,20 +57232,124 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ] } }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { + "/apis/batch/v1/jobs": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Job", + "operationId": "listBatchV1JobForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/jobs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of CertificateSigningRequest", - "operationId": "deleteCertificatesV1beta1CollectionCertificateSigningRequest", + "description": "delete collection of Job", + "operationId": "deleteBatchV1CollectionNamespacedJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73830,24 +57460,24 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind CertificateSigningRequest", - "operationId": "listCertificatesV1beta1CertificateSigningRequest", + "description": "list or watch objects of kind Job", + "operationId": "listBatchV1NamespacedJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73914,7 +57544,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" + "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" } }, "401": { @@ -73925,16 +57555,24 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -73947,15 +57585,15 @@ "consumes": [ "*/*" ], - "description": "create a CertificateSigningRequest", - "operationId": "createCertificatesV1beta1CertificateSigningRequest", + "description": "create a Job", + "operationId": "createBatchV1NamespacedJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, { @@ -73982,19 +57620,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -74005,23 +57643,23 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } } }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a CertificateSigningRequest", - "operationId": "deleteCertificatesV1beta1CertificateSigningRequest", + "description": "delete a Job", + "operationId": "deleteBatchV1NamespacedJob", "parameters": [ { "in": "body", @@ -74085,21 +57723,21 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified CertificateSigningRequest", - "operationId": "readCertificatesV1beta1CertificateSigningRequest", + "description": "read the specified Job", + "operationId": "readBatchV1NamespacedJob", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -74125,7 +57763,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -74136,24 +57774,32 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ { - "description": "name of the CertificateSigningRequest", + "description": "name of the Job", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -74169,8 +57815,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1beta1CertificateSigningRequest", + "description": "partially update the specified Job", + "operationId": "patchBatchV1NamespacedJob", "parameters": [ { "in": "body", @@ -74211,7 +57857,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -74222,28 +57868,28 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequest", + "description": "replace the specified Job", + "operationId": "replaceBatchV1NamespacedJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, { @@ -74270,97 +57916,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "put": { - "consumes": [ - "*/*" - ], - "description": "replace approval of the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequestApproval", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -74371,23 +57933,23 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } } }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified CertificateSigningRequest", - "operationId": "readCertificatesV1beta1CertificateSigningRequestStatus", + "description": "read status of the specified Job", + "operationId": "readBatchV1NamespacedJobStatus", "produces": [ "application/json", "application/yaml", @@ -74397,7 +57959,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -74408,24 +57970,32 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ { - "description": "name of the CertificateSigningRequest", + "description": "name of the Job", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -74441,8 +58011,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1beta1CertificateSigningRequestStatus", + "description": "partially update status of the specified Job", + "operationId": "patchBatchV1NamespacedJobStatus", "parameters": [ { "in": "body", @@ -74483,7 +58053,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -74494,28 +58064,28 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequestStatus", + "description": "replace status of the specified Job", + "operationId": "replaceBatchV1NamespacedJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, { @@ -74542,13 +58112,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, "401": { @@ -74559,23 +58129,23 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } } }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { + "/apis/batch/v1/watch/jobs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCertificatesV1beta1CertificateSigningRequestList", + "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV1JobListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -74598,18 +58168,18 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74673,13 +58243,13 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { + "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCertificatesV1beta1CertificateSigningRequest", + "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV1NamespacedJobList", "produces": [ "application/json", "application/yaml", @@ -74702,18 +58272,130 @@ "https" ], "tags": [ - "certificates_v1beta1" + "batch_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchBatchV1NamespacedJob", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74748,13 +58430,21 @@ "uniqueItems": true }, { - "description": "name of the CertificateSigningRequest", + "description": "name of the Job", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -74785,40 +58475,7 @@ } ] }, - "/apis/coordination.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getCoordinationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination" - ] - } - }, - "/apis/coordination.k8s.io/v1/": { + "/apis/batch/v1beta1/": { "get": { "consumes": [ "application/json", @@ -74826,7 +58483,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getCoordinationV1APIResources", + "operationId": "getBatchV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -74847,17 +58504,17 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ] } }, - "/apis/coordination.k8s.io/v1/leases": { + "/apis/batch/v1beta1/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1LeaseForAllNamespaces", + "description": "list or watch objects of kind CronJob", + "operationId": "listBatchV1beta1CronJobForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -74869,7 +58526,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" } }, "401": { @@ -74880,18 +58537,18 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74955,16 +58612,16 @@ } ] }, - "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Lease", - "operationId": "deleteCoordinationV1CollectionNamespacedLease", + "description": "delete collection of CronJob", + "operationId": "deleteBatchV1beta1CollectionNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75075,24 +58732,24 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1NamespacedLease", + "description": "list or watch objects of kind CronJob", + "operationId": "listBatchV1beta1NamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75159,7 +58816,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" } }, "401": { @@ -75170,13 +58827,13 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ @@ -75200,15 +58857,15 @@ "consumes": [ "*/*" ], - "description": "create a Lease", - "operationId": "createCoordinationV1NamespacedLease", + "description": "create a CronJob", + "operationId": "createBatchV1beta1NamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, { @@ -75235,19 +58892,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -75258,23 +58915,23 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } } }, - "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Lease", - "operationId": "deleteCoordinationV1NamespacedLease", + "description": "delete a CronJob", + "operationId": "deleteBatchV1beta1NamespacedCronJob", "parameters": [ { "in": "body", @@ -75338,21 +58995,21 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified Lease", - "operationId": "readCoordinationV1NamespacedLease", + "description": "read the specified CronJob", + "operationId": "readBatchV1beta1NamespacedCronJob", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -75378,7 +59035,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -75389,18 +59046,214 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Lease", + "description": "name of the CronJob", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified CronJob", + "operationId": "patchBatchV1beta1NamespacedCronJob", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified CronJob", + "operationId": "replaceBatchV1beta1NamespacedCronJob", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + } + }, + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified CronJob", + "operationId": "readBatchV1beta1NamespacedCronJobStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -75430,8 +59283,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Lease", - "operationId": "patchCoordinationV1NamespacedLease", + "description": "partially update status of the specified CronJob", + "operationId": "patchBatchV1beta1NamespacedCronJobStatus", "parameters": [ { "in": "body", @@ -75472,7 +59325,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -75483,28 +59336,28 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified Lease", - "operationId": "replaceCoordinationV1NamespacedLease", + "description": "replace status of the specified CronJob", + "operationId": "replaceBatchV1beta1NamespacedCronJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, { @@ -75531,13 +59384,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, "401": { @@ -75548,23 +59401,23 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } } }, - "/apis/coordination.k8s.io/v1/watch/leases": { + "/apis/batch/v1beta1/watch/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1LeaseListForAllNamespaces", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV1beta1CronJobListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -75587,18 +59440,18 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75662,13 +59515,13 @@ } ] }, - "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1NamespacedLeaseList", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV1beta1NamespacedCronJobList", "produces": [ "application/json", "application/yaml", @@ -75691,18 +59544,18 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75774,13 +59627,13 @@ } ] }, - "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoordinationV1NamespacedLease", + "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchBatchV1beta1NamespacedCronJob", "produces": [ "application/json", "application/yaml", @@ -75803,18 +59656,18 @@ "https" ], "tags": [ - "coordination_v1" + "batch_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75849,7 +59702,7 @@ "uniqueItems": true }, { - "description": "name of the Lease", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -75894,7 +59747,7 @@ } ] }, - "/apis/coordination.k8s.io/v1beta1/": { + "/apis/batch/v2alpha1/": { "get": { "consumes": [ "application/json", @@ -75902,7 +59755,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getCoordinationV1beta1APIResources", + "operationId": "getBatchV2alpha1APIResources", "produces": [ "application/json", "application/yaml", @@ -75923,17 +59776,17 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ] } }, - "/apis/coordination.k8s.io/v1beta1/leases": { + "/apis/batch/v2alpha1/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1beta1LeaseForAllNamespaces", + "description": "list or watch objects of kind CronJob", + "operationId": "listBatchV2alpha1CronJobForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -75945,7 +59798,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" } }, "401": { @@ -75956,18 +59809,18 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76031,16 +59884,16 @@ } ] }, - "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Lease", - "operationId": "deleteCoordinationV1beta1CollectionNamespacedLease", + "description": "delete collection of CronJob", + "operationId": "deleteBatchV2alpha1CollectionNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76151,24 +60004,24 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1beta1NamespacedLease", + "description": "list or watch objects of kind CronJob", + "operationId": "listBatchV2alpha1NamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76235,7 +60088,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJobList" } }, "401": { @@ -76246,13 +60099,13 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ @@ -76276,15 +60129,311 @@ "consumes": [ "*/*" ], - "description": "create a Lease", - "operationId": "createCoordinationV1beta1NamespacedLease", + "description": "create a CronJob", + "operationId": "createBatchV2alpha1NamespacedCronJob", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v2alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + } + }, + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a CronJob", + "operationId": "deleteBatchV2alpha1NamespacedCronJob", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v2alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified CronJob", + "operationId": "readBatchV2alpha1NamespacedCronJob", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v2alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + }, + "parameters": [ + { + "description": "name of the CronJob", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified CronJob", + "operationId": "patchBatchV2alpha1NamespacedCronJob", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "batch_v2alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified CronJob", + "operationId": "replaceBatchV2alpha1NamespacedCronJob", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, { @@ -76311,19 +60460,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -76334,117 +60477,23 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } } }, - "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Lease", - "operationId": "deleteCoordinationV1beta1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified Lease", - "operationId": "readCoordinationV1beta1NamespacedLease", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified CronJob", + "operationId": "readBatchV2alpha1NamespacedCronJobStatus", "produces": [ "application/json", "application/yaml", @@ -76454,7 +60503,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -76465,18 +60514,18 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "name of the Lease", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -76506,8 +60555,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Lease", - "operationId": "patchCoordinationV1beta1NamespacedLease", + "description": "partially update status of the specified CronJob", + "operationId": "patchBatchV2alpha1NamespacedCronJobStatus", "parameters": [ { "in": "body", @@ -76548,7 +60597,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -76559,28 +60608,28 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified Lease", - "operationId": "replaceCoordinationV1beta1NamespacedLease", + "description": "replace status of the specified CronJob", + "operationId": "replaceBatchV2alpha1NamespacedCronJobStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, { @@ -76607,13 +60656,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + "$ref": "#/definitions/io.k8s.api.batch.v2alpha1.CronJob" } }, "401": { @@ -76624,23 +60673,23 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } } }, - "/apis/coordination.k8s.io/v1beta1/watch/leases": { + "/apis/batch/v2alpha1/watch/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1beta1LeaseListForAllNamespaces", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV2alpha1CronJobListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -76663,18 +60712,18 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76738,13 +60787,13 @@ } ] }, - "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1beta1NamespacedLeaseList", + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchBatchV2alpha1NamespacedCronJobList", "produces": [ "application/json", "application/yaml", @@ -76767,18 +60816,18 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76850,13 +60899,13 @@ } ] }, - "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoordinationV1beta1NamespacedLease", + "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchBatchV2alpha1NamespacedCronJob", "produces": [ "application/json", "application/yaml", @@ -76879,18 +60928,18 @@ "https" ], "tags": [ - "coordination_v1beta1" + "batch_v2alpha1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76925,7 +60974,7 @@ "uniqueItems": true }, { - "description": "name of the Lease", + "description": "name of the CronJob", "in": "path", "name": "name", "required": true, @@ -76970,7 +61019,7 @@ } ] }, - "/apis/discovery.k8s.io/": { + "/apis/certificates.k8s.io/": { "get": { "consumes": [ "application/json", @@ -76978,7 +61027,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getDiscoveryAPIGroup", + "operationId": "getCertificatesAPIGroup", "produces": [ "application/json", "application/yaml", @@ -76999,11 +61048,11 @@ "https" ], "tags": [ - "discovery" + "certificates" ] } }, - "/apis/discovery.k8s.io/v1alpha1/": { + "/apis/certificates.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -77011,7 +61060,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getDiscoveryV1alpha1APIResources", + "operationId": "getCertificatesV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -77032,124 +61081,20 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ] } }, - "/apis/discovery.k8s.io/v1alpha1/endpointslices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1alpha1EndpointSliceForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSliceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of EndpointSlice", - "operationId": "deleteDiscoveryV1alpha1CollectionNamespacedEndpointSlice", + "description": "delete collection of CertificateSigningRequest", + "operationId": "deleteCertificatesV1beta1CollectionCertificateSigningRequest", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77260,24 +61205,24 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1alpha1NamespacedEndpointSlice", + "description": "list or watch objects of kind CertificateSigningRequest", + "operationId": "listCertificatesV1beta1CertificateSigningRequest", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77344,7 +61289,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSliceList" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" } }, "401": { @@ -77355,24 +61300,16 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -77385,15 +61322,15 @@ "consumes": [ "*/*" ], - "description": "create an EndpointSlice", - "operationId": "createDiscoveryV1alpha1NamespacedEndpointSlice", + "description": "create a CertificateSigningRequest", + "operationId": "createCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, { @@ -77420,19 +61357,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -77443,23 +61380,23 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } } }, - "/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an EndpointSlice", - "operationId": "deleteDiscoveryV1alpha1NamespacedEndpointSlice", + "description": "delete a CertificateSigningRequest", + "operationId": "deleteCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "in": "body", @@ -77523,21 +61460,21 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified EndpointSlice", - "operationId": "readDiscoveryV1alpha1NamespacedEndpointSlice", + "description": "read the specified CertificateSigningRequest", + "operationId": "readCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -77563,7 +61500,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -77574,32 +61511,24 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the EndpointSlice", + "description": "name of the CertificateSigningRequest", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -77615,8 +61544,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified EndpointSlice", - "operationId": "patchDiscoveryV1alpha1NamespacedEndpointSlice", + "description": "partially update the specified CertificateSigningRequest", + "operationId": "patchCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "in": "body", @@ -77657,7 +61586,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -77668,28 +61597,28 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified EndpointSlice", - "operationId": "replaceDiscoveryV1alpha1NamespacedEndpointSlice", + "description": "replace the specified CertificateSigningRequest", + "operationId": "replaceCertificatesV1beta1CertificateSigningRequest", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, { @@ -77716,13 +61645,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -77733,35 +61662,117 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } } }, - "/apis/discovery.k8s.io/v1alpha1/watch/endpointslices": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "parameters": [ + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "name of the CertificateSigningRequest", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "put": { + "consumes": [ + "*/*" + ], + "description": "replace approval of the specified CertificateSigningRequest", + "operationId": "replaceCertificatesV1beta1CertificateSigningRequestApproval", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1alpha1EndpointSliceListForAllNamespaces", + "description": "read status of the specified CertificateSigningRequest", + "operationId": "readCertificatesV1beta1CertificateSigningRequestStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, "401": { @@ -77772,88 +61783,174 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the CertificateSigningRequest", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified CertificateSigningRequest", + "operationId": "patchCertificatesV1beta1CertificateSigningRequestStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified CertificateSigningRequest", + "operationId": "replaceCertificatesV1beta1CertificateSigningRequestStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } - ] + } }, - "/apis/discovery.k8s.io/v1alpha1/watch/namespaces/{namespace}/endpointslices": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1alpha1NamespacedEndpointSliceList", + "description": "watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCertificatesV1beta1CertificateSigningRequestList", "produces": [ "application/json", "application/yaml", @@ -77876,18 +61973,18 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77921,14 +62018,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -77959,13 +62048,13 @@ } ] }, - "/apis/discovery.k8s.io/v1alpha1/watch/namespaces/{namespace}/endpointslices/{name}": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchDiscoveryV1alpha1NamespacedEndpointSlice", + "description": "watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCertificatesV1beta1CertificateSigningRequest", "produces": [ "application/json", "application/yaml", @@ -77988,18 +62077,18 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "certificates_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78034,21 +62123,13 @@ "uniqueItems": true }, { - "description": "name of the EndpointSlice", + "description": "name of the CertificateSigningRequest", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -78079,7 +62160,7 @@ } ] }, - "/apis/events.k8s.io/": { + "/apis/coordination.k8s.io/": { "get": { "consumes": [ "application/json", @@ -78087,7 +62168,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getEventsAPIGroup", + "operationId": "getCoordinationAPIGroup", "produces": [ "application/json", "application/yaml", @@ -78108,11 +62189,11 @@ "https" ], "tags": [ - "events" + "coordination" ] } }, - "/apis/events.k8s.io/v1beta1/": { + "/apis/coordination.k8s.io/v1/": { "get": { "consumes": [ "application/json", @@ -78120,7 +62201,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getEventsV1beta1APIResources", + "operationId": "getCoordinationV1APIResources", "produces": [ "application/json", "application/yaml", @@ -78141,17 +62222,17 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ] } }, - "/apis/events.k8s.io/v1beta1/events": { + "/apis/coordination.k8s.io/v1/leases": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1beta1EventForAllNamespaces", + "description": "list or watch objects of kind Lease", + "operationId": "listCoordinationV1LeaseForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -78163,7 +62244,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" + "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" } }, "401": { @@ -78174,18 +62255,18 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78249,16 +62330,16 @@ } ] }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { + "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Event", - "operationId": "deleteEventsV1beta1CollectionNamespacedEvent", + "description": "delete collection of Lease", + "operationId": "deleteCoordinationV1CollectionNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78369,24 +62450,24 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1beta1NamespacedEvent", + "description": "list or watch objects of kind Lease", + "operationId": "listCoordinationV1NamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78453,7 +62534,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" + "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" } }, "401": { @@ -78464,13 +62545,13 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ @@ -78494,15 +62575,15 @@ "consumes": [ "*/*" ], - "description": "create an Event", - "operationId": "createEventsV1beta1NamespacedEvent", + "description": "create a Lease", + "operationId": "createCoordinationV1NamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, { @@ -78529,19 +62610,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "401": { @@ -78552,23 +62633,23 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } } }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { + "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an Event", - "operationId": "deleteEventsV1beta1NamespacedEvent", + "description": "delete a Lease", + "operationId": "deleteCoordinationV1NamespacedLease", "parameters": [ { "in": "body", @@ -78632,21 +62713,21 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified Event", - "operationId": "readEventsV1beta1NamespacedEvent", + "description": "read the specified Lease", + "operationId": "readCoordinationV1NamespacedLease", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -78672,7 +62753,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "401": { @@ -78683,18 +62764,18 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ { - "description": "name of the Event", + "description": "name of the Lease", "in": "path", "name": "name", "required": true, @@ -78724,8 +62805,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Event", - "operationId": "patchEventsV1beta1NamespacedEvent", + "description": "partially update the specified Lease", + "operationId": "patchCoordinationV1NamespacedLease", "parameters": [ { "in": "body", @@ -78766,7 +62847,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "401": { @@ -78777,28 +62858,28 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified Event", - "operationId": "replaceEventsV1beta1NamespacedEvent", + "description": "replace the specified Lease", + "operationId": "replaceCoordinationV1NamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, { @@ -78825,13 +62906,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, "401": { @@ -78842,23 +62923,23 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } } }, - "/apis/events.k8s.io/v1beta1/watch/events": { + "/apis/coordination.k8s.io/v1/watch/leases": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1beta1EventListForAllNamespaces", + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1LeaseListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -78881,18 +62962,18 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78956,13 +63037,13 @@ } ] }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { + "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1beta1NamespacedEventList", + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1NamespacedLeaseList", "produces": [ "application/json", "application/yaml", @@ -78985,130 +63066,18 @@ "https" ], "tags": [ - "events_v1beta1" + "coordination_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchEventsV1beta1NamespacedEvent", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79142,14 +63111,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -79188,183 +63149,13 @@ } ] }, - "/apis/extensions/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getExtensionsAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions" - ] - } - }, - "/apis/extensions/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getExtensionsV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ] - } - }, - "/apis/extensions/v1beta1/daemonsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listExtensionsV1beta1DaemonSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/deployments": { + "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listExtensionsV1beta1DeploymentForAllNamespaces", + "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoordinationV1NamespacedLease", "produces": [ "application/json", "application/yaml", @@ -79376,7 +63167,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -79387,18 +63178,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79432,6 +63223,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the Lease", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -79462,13 +63269,46 @@ } ] }, - "/apis/extensions/v1beta1/ingresses": { + "/apis/coordination.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getCoordinationV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ] + } + }, + "/apis/coordination.k8s.io/v1beta1/leases": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Ingress", - "operationId": "listExtensionsV1beta1IngressForAllNamespaces", + "description": "list or watch objects of kind Lease", + "operationId": "listCoordinationV1beta1LeaseForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -79480,7 +63320,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" } }, "401": { @@ -79491,18 +63331,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79566,16 +63406,16 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of DaemonSet", - "operationId": "deleteExtensionsV1beta1CollectionNamespacedDaemonSet", + "description": "delete collection of Lease", + "operationId": "deleteCoordinationV1beta1CollectionNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79686,12 +63526,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -79699,11 +63539,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listExtensionsV1beta1NamespacedDaemonSet", + "description": "list or watch objects of kind Lease", + "operationId": "listCoordinationV1beta1NamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79770,7 +63610,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSetList" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" } }, "401": { @@ -79781,12 +63621,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -79811,15 +63651,15 @@ "consumes": [ "*/*" ], - "description": "create a DaemonSet", - "operationId": "createExtensionsV1beta1NamespacedDaemonSet", + "description": "create a Lease", + "operationId": "createCoordinationV1beta1NamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, { @@ -79846,19 +63686,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -79869,23 +63709,23 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a DaemonSet", - "operationId": "deleteExtensionsV1beta1NamespacedDaemonSet", + "description": "delete a Lease", + "operationId": "deleteCoordinationV1beta1NamespacedLease", "parameters": [ { "in": "body", @@ -79949,12 +63789,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -79962,8 +63802,8 @@ "consumes": [ "*/*" ], - "description": "read the specified DaemonSet", - "operationId": "readExtensionsV1beta1NamespacedDaemonSet", + "description": "read the specified Lease", + "operationId": "readCoordinationV1beta1NamespacedLease", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -79989,7 +63829,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -80000,18 +63840,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the DaemonSet", + "description": "name of the Lease", "in": "path", "name": "name", "required": true, @@ -80041,8 +63881,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified DaemonSet", - "operationId": "patchExtensionsV1beta1NamespacedDaemonSet", + "description": "partially update the specified Lease", + "operationId": "patchCoordinationV1beta1NamespacedLease", "parameters": [ { "in": "body", @@ -80083,7 +63923,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -80094,12 +63934,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, @@ -80107,15 +63947,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified DaemonSet", - "operationId": "replaceExtensionsV1beta1NamespacedDaemonSet", + "description": "replace the specified Lease", + "operationId": "replaceCoordinationV1beta1NamespacedLease", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, { @@ -80142,13 +63982,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, "401": { @@ -80159,33 +63999,35 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { + "/apis/coordination.k8s.io/v1beta1/watch/leases": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified DaemonSet", - "operationId": "readExtensionsV1beta1NamespacedDaemonSetStatus", + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1beta1LeaseListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -80196,90 +64038,212 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update status of the specified DaemonSet", - "operationId": "patchExtensionsV1beta1NamespacedDaemonSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1beta1NamespacedLeaseList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { + "get": { + "consumes": [ + "*/*" ], + "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoordinationV1beta1NamespacedLease", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -80290,45 +64254,139 @@ "https" ], "tags": [ - "extensions_v1beta1" + "coordination_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "coordination.k8s.io", + "kind": "Lease", "version": "v1beta1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Lease", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/discovery.k8s.io/": { + "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "replace status of the specified DaemonSet", - "operationId": "replaceExtensionsV1beta1NamespacedDaemonSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "get information of a group", + "operationId": "getDiscoveryAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "discovery" + ] + } + }, + "/apis/discovery.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get available resources", + "operationId": "getDiscoveryV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -80338,13 +64396,40 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, - "201": { - "description": "Created", + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1beta1" + ] + } + }, + "/apis/discovery.k8s.io/v1beta1/endpointslices": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listDiscoveryV1beta1EndpointSliceForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DaemonSet" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" } }, "401": { @@ -80355,26 +64440,91 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Deployment", - "operationId": "deleteExtensionsV1beta1CollectionNamespacedDeployment", + "description": "delete collection of EndpointSlice", + "operationId": "deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80485,12 +64635,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -80498,11 +64648,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Deployment", - "operationId": "listExtensionsV1beta1NamespacedDeployment", + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80569,7 +64719,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentList" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" } }, "401": { @@ -80580,12 +64730,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -80610,15 +64760,15 @@ "consumes": [ "*/*" ], - "description": "create a Deployment", - "operationId": "createExtensionsV1beta1NamespacedDeployment", + "description": "create an EndpointSlice", + "operationId": "createDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, { @@ -80645,19 +64795,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -80668,23 +64818,23 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a Deployment", - "operationId": "deleteExtensionsV1beta1NamespacedDeployment", + "description": "delete an EndpointSlice", + "operationId": "deleteDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -80748,12 +64898,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -80761,8 +64911,8 @@ "consumes": [ "*/*" ], - "description": "read the specified Deployment", - "operationId": "readExtensionsV1beta1NamespacedDeployment", + "description": "read the specified EndpointSlice", + "operationId": "readDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -80788,7 +64938,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -80799,18 +64949,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Deployment", + "description": "name of the EndpointSlice", "in": "path", "name": "name", "required": true, @@ -80840,8 +64990,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified Deployment", - "operationId": "patchExtensionsV1beta1NamespacedDeployment", + "description": "partially update the specified EndpointSlice", + "operationId": "patchDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -80882,7 +65032,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -80893,12 +65043,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } }, @@ -80906,15 +65056,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Deployment", - "operationId": "replaceExtensionsV1beta1NamespacedDeployment", + "description": "replace the specified EndpointSlice", + "operationId": "replaceDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, { @@ -80941,13 +65091,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -80958,40 +65108,194 @@ "https" ], "tags": [ - "extensions_v1beta1" + "discovery_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1beta1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { + "/apis/discovery.k8s.io/v1beta1/watch/endpointslices": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchDiscoveryV1beta1EndpointSliceListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1beta1" + } + }, "parameters": [ { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", - "name": "dryRun", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "name of the DeploymentRollback", - "in": "path", - "name": "name", - "required": true, + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchDiscoveryV1beta1NamespacedEndpointSliceList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -81006,24 +65310,159 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "post": { + ] + }, + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "create rollback of a Deployment", - "operationId": "createExtensionsV1beta1NamespacedDeploymentRollback", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchDiscoveryV1beta1NamespacedEndpointSlice", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.DeploymentRollback" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } + }, + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the EndpointSlice", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get information of a group", + "operationId": "getEventsAPIGroup", "produces": [ "application/json", "application/yaml", @@ -81033,19 +65472,40 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, - "202": { - "description": "Accepted", + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events" + ] + } + }, + "/apis/events.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getEventsV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -81056,33 +65516,29 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DeploymentRollback", - "version": "v1beta1" - } + "events_v1beta1" + ] } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "/apis/events.k8s.io/v1beta1/events": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified Deployment", - "operationId": "readExtensionsV1beta1NamespacedDeploymentScale", + "description": "list or watch objects of kind Event", + "operationId": "listEventsV1beta1EventForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" } }, "401": { @@ -81093,58 +65549,110 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { + "delete": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update scale of the specified Deployment", - "operationId": "patchExtensionsV1beta1NamespacedDeploymentScale", + "description": "delete collection of Event", + "operationId": "deleteEventsV1beta1CollectionNamespacedEvent", "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -81153,16 +65661,65 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "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", - "name": "force", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", "type": "boolean", "uniqueItems": true } @@ -81176,7 +65733,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -81187,98 +65744,91 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, - "put": { + "get": { "consumes": [ "*/*" ], - "description": "replace scale of the specified Deployment", - "operationId": "replaceExtensionsV1beta1NamespacedDeploymentScale", + "description": "list or watch objects of kind Event", + "operationId": "listEventsV1beta1NamespacedEvent", "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "in": "query", - "name": "dryRun", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", "type": "string", "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true }, - "401": { - "description": "Unauthorized" + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { - "get": { - "consumes": [ - "*/*" ], - "description": "read status of the specified Deployment", - "operationId": "readExtensionsV1beta1NamespacedDeploymentStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" } }, "401": { @@ -81289,24 +65839,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "parameters": [ - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -81323,88 +65865,19 @@ "uniqueItems": true } ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Deployment", - "operationId": "patchExtensionsV1beta1NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "put": { + "post": { "consumes": [ "*/*" ], - "description": "replace status of the specified Deployment", - "operationId": "replaceExtensionsV1beta1NamespacedDeploymentStatus", + "description": "create an Event", + "operationId": "createEventsV1beta1NamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, { @@ -81431,13 +65904,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Deployment" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -81448,31 +65927,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Ingress", - "operationId": "deleteExtensionsV1beta1CollectionNamespacedIngress", + "description": "delete an Event", + "operationId": "deleteEventsV1beta1NamespacedEvent", "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, { "in": "body", "name": "body", @@ -81480,13 +65952,6 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -81494,13 +65959,6 @@ "type": "string", "uniqueItems": true }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, { "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", @@ -81508,20 +65966,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "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", @@ -81535,27 +65979,6 @@ "name": "propagationPolicy", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -81570,6 +65993,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -81578,12 +66007,12 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, @@ -81591,62 +66020,20 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Ingress", - "operationId": "listExtensionsV1beta1NamespacedIngress", + "description": "read the specified Event", + "operationId": "readEventsV1beta1NamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "allowWatchBookmarks", + "name": "exact", "type": "boolean", "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "watch", + "name": "export", "type": "boolean", "uniqueItems": true } @@ -81654,15 +66041,13 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -81673,16 +66058,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, "parameters": [ + { + "description": "name of the Event", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -81699,19 +66092,22 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create an Ingress", - "operationId": "createExtensionsV1beta1NamespacedIngress", + "description": "partially update the specified Event", + "operationId": "patchEventsV1beta1NamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } }, { @@ -81722,11 +66118,18 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -81738,19 +66141,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -81761,29 +66152,28 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { - "delete": { + }, + "put": { "consumes": [ "*/*" ], - "description": "delete an Ingress", - "operationId": "deleteExtensionsV1beta1NamespacedIngress", + "description": "replace the specified Event", + "operationId": "replaceEventsV1beta1NamespacedEvent", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, { @@ -81794,23 +66184,9 @@ "uniqueItems": true }, { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "propagationPolicy", + "name": "fieldManager", "type": "string", "uniqueItems": true } @@ -81824,13 +66200,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, "401": { @@ -81841,47 +66217,437 @@ "https" ], "tags": [ - "extensions_v1beta1" + "events_v1beta1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + } + }, + "/apis/events.k8s.io/v1beta1/watch/events": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchEventsV1beta1EventListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", "version": "v1beta1" } }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { "get": { "consumes": [ "*/*" ], - "description": "read the specified Ingress", - "operationId": "readExtensionsV1beta1NamespacedIngress", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchEventsV1beta1NamespacedEventList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchEventsV1beta1NamespacedEvent", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Event", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getExtensionsAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions" + ] + } + }, + "/apis/extensions/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getExtensionsV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ] + } + }, + "/apis/extensions/v1beta1/ingresses": { + "get": { + "consumes": [ + "*/*" ], + "description": "list or watch objects of kind Ingress", + "operationId": "listExtensionsV1beta1IngressForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" } }, "401": { @@ -81894,7 +66660,7 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", "kind": "Ingress", @@ -81903,47 +66669,99 @@ }, "parameters": [ { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { + "delete": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update the specified Ingress", - "operationId": "patchExtensionsV1beta1NamespacedIngress", + "description": "delete collection of Ingress", + "operationId": "deleteExtensionsV1beta1CollectionNamespacedIngress", "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -81952,16 +66770,65 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "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", - "name": "force", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", "type": "boolean", "uniqueItems": true } @@ -81975,7 +66842,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -81988,96 +66855,89 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "extensions", "kind": "Ingress", "version": "v1beta1" } }, - "put": { + "get": { "consumes": [ "*/*" ], - "description": "replace the specified Ingress", - "operationId": "replaceExtensionsV1beta1NamespacedIngress", + "description": "list or watch objects of kind Ingress", + "operationId": "listExtensionsV1beta1NamespacedIngress", "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "in": "query", - "name": "dryRun", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", "type": "string", "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true }, - "401": { - "description": "Unauthorized" + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { - "get": { - "consumes": [ - "*/*" ], - "description": "read status of the specified Ingress", - "operationId": "readExtensionsV1beta1NamespacedIngressStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" } }, "401": { @@ -82090,7 +66950,7 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "extensions", "kind": "Ingress", @@ -82098,14 +66958,6 @@ } }, "parameters": [ - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -82122,81 +66974,12 @@ "uniqueItems": true } ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Ingress", - "operationId": "patchExtensionsV1beta1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "put": { + "post": { "consumes": [ "*/*" ], - "description": "replace status of the specified Ingress", - "operationId": "replaceExtensionsV1beta1NamespacedIngressStatus", + "description": "create an Ingress", + "operationId": "createExtensionsV1beta1NamespacedIngress", "parameters": [ { "in": "body", @@ -82239,6 +67022,12 @@ "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, "401": { "description": "Unauthorized" } @@ -82249,7 +67038,7 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "extensions", "kind": "Ingress", @@ -82257,21 +67046,14 @@ } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy", + "description": "delete an Ingress", + "operationId": "deleteExtensionsV1beta1NamespacedIngress", "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, { "in": "body", "name": "body", @@ -82279,13 +67061,6 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -82293,13 +67068,6 @@ "type": "string", "uniqueItems": true }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, { "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", @@ -82307,20 +67075,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "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", @@ -82334,27 +67088,6 @@ "name": "propagationPolicy", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } ], "produces": [ @@ -82369,6 +67102,12 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -82379,10 +67118,10 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, @@ -82390,62 +67129,20 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listExtensionsV1beta1NamespacedNetworkPolicy", + "description": "read the specified Ingress", + "operationId": "readExtensionsV1beta1NamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "allowWatchBookmarks", + "name": "exact", "type": "boolean", "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", "in": "query", - "name": "watch", + "name": "export", "type": "boolean", "uniqueItems": true } @@ -82453,15 +67150,13 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { @@ -82474,14 +67169,22 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, "parameters": [ + { + "description": "name of the Ingress", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -82498,19 +67201,22 @@ "uniqueItems": true } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], - "description": "create a NetworkPolicy", - "operationId": "createExtensionsV1beta1NamespacedNetworkPolicy", + "description": "partially update the specified Ingress", + "operationId": "patchExtensionsV1beta1NamespacedIngress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } }, { @@ -82521,11 +67227,18 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true } ], "produces": [ @@ -82537,19 +67250,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { @@ -82562,27 +67263,26 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { - "delete": { + }, + "put": { "consumes": [ "*/*" ], - "description": "delete a NetworkPolicy", - "operationId": "deleteExtensionsV1beta1NamespacedNetworkPolicy", + "description": "replace the specified Ingress", + "operationId": "replaceExtensionsV1beta1NamespacedIngress", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, { @@ -82593,23 +67293,9 @@ "uniqueItems": true }, { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", - "name": "propagationPolicy", + "name": "fieldManager", "type": "string", "uniqueItems": true } @@ -82623,13 +67309,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { @@ -82642,35 +67328,21 @@ "tags": [ "extensions_v1beta1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } - }, + } + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified NetworkPolicy", - "operationId": "readExtensionsV1beta1NamespacedNetworkPolicy", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "read status of the specified Ingress", + "operationId": "readExtensionsV1beta1NamespacedIngressStatus", "produces": [ "application/json", "application/yaml", @@ -82680,7 +67352,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { @@ -82696,13 +67368,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the NetworkPolicy", + "description": "name of the Ingress", "in": "path", "name": "name", "required": true, @@ -82732,8 +67404,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchExtensionsV1beta1NamespacedNetworkPolicy", + "description": "partially update status of the specified Ingress", + "operationId": "patchExtensionsV1beta1NamespacedIngressStatus", "parameters": [ { "in": "body", @@ -82774,7 +67446,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, "401": { @@ -82790,7 +67462,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "extensions", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1beta1" } }, @@ -82798,15 +67470,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified NetworkPolicy", - "operationId": "replaceExtensionsV1beta1NamespacedNetworkPolicy", + "description": "replace status of the specified Ingress", + "operationId": "replaceExtensionsV1beta1NamespacedIngressStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, { @@ -82833,13 +67505,421 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + } + }, + "/apis/extensions/v1beta1/watch/ingresses": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1IngressListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchExtensionsV1beta1NamespacedIngressList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchExtensionsV1beta1NamespacedIngress", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Ingress", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getFlowcontrolApiserverAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver" + ] + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getFlowcontrolApiserverV1alpha1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { @@ -82850,26 +67930,20 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } + "flowcontrolApiserver_v1alpha1" + ] } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ReplicaSet", - "operationId": "deleteExtensionsV1beta1CollectionNamespacedReplicaSet", + "description": "delete collection of FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82980,24 +68054,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listExtensionsV1beta1NamespacedReplicaSet", + "description": "list or watch objects of kind FlowSchema", + "operationId": "listFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83064,7 +68138,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSetList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList" } }, "401": { @@ -83075,24 +68149,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -83105,15 +68171,15 @@ "consumes": [ "*/*" ], - "description": "create a ReplicaSet", - "operationId": "createExtensionsV1beta1NamespacedReplicaSet", + "description": "create a FlowSchema", + "operationId": "createFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, { @@ -83140,19 +68206,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -83163,23 +68229,23 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ReplicaSet", - "operationId": "deleteExtensionsV1beta1NamespacedReplicaSet", + "description": "delete a FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "in": "body", @@ -83243,21 +68309,21 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified ReplicaSet", - "operationId": "readExtensionsV1beta1NamespacedReplicaSet", + "description": "read the specified FlowSchema", + "operationId": "readFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -83283,399 +68349,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ReplicaSet", - "operationId": "patchExtensionsV1beta1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ReplicaSet", - "operationId": "replaceExtensionsV1beta1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified ReplicaSet", - "operationId": "readExtensionsV1beta1NamespacedReplicaSetScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified ReplicaSet", - "operationId": "patchExtensionsV1beta1NamespacedReplicaSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified ReplicaSet", - "operationId": "replaceExtensionsV1beta1NamespacedReplicaSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ReplicaSet", - "operationId": "readExtensionsV1beta1NamespacedReplicaSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -83686,32 +68360,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ReplicaSet", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -83727,8 +68393,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update status of the specified ReplicaSet", - "operationId": "patchExtensionsV1beta1NamespacedReplicaSetStatus", + "description": "partially update the specified FlowSchema", + "operationId": "patchFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "in": "body", @@ -83769,7 +68435,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -83780,28 +68446,28 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified ReplicaSet", - "operationId": "replaceExtensionsV1beta1NamespacedReplicaSetStatus", + "description": "replace the specified FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, { @@ -83828,13 +68494,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSet" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -83845,23 +68511,23 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } } }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read scale of the specified ReplicationControllerDummy", - "operationId": "readExtensionsV1beta1NamespacedReplicationControllerDummyScale", + "description": "read status of the specified FlowSchema", + "operationId": "readFlowcontrolApiserverV1alpha1FlowSchemaStatus", "produces": [ "application/json", "application/yaml", @@ -83871,7 +68537,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -83882,32 +68548,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the Scale", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -83923,8 +68581,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update scale of the specified ReplicationControllerDummy", - "operationId": "patchExtensionsV1beta1NamespacedReplicationControllerDummyScale", + "description": "partially update status of the specified FlowSchema", + "operationId": "patchFlowcontrolApiserverV1alpha1FlowSchemaStatus", "parameters": [ { "in": "body", @@ -83965,7 +68623,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -83976,28 +68634,28 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace scale of the specified ReplicationControllerDummy", - "operationId": "replaceExtensionsV1beta1NamespacedReplicationControllerDummyScale", + "description": "replace status of the specified FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, { @@ -84024,52 +68682,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listExtensionsV1beta1NetworkPolicyForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -84080,91 +68699,26 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } - ] + } }, - "/apis/extensions/v1beta1/podsecuritypolicies": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PodSecurityPolicy", - "operationId": "deleteExtensionsV1beta1CollectionPodSecurityPolicy", + "description": "delete collection of PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84275,24 +68829,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodSecurityPolicy", - "operationId": "listExtensionsV1beta1PodSecurityPolicy", + "description": "list or watch objects of kind PriorityLevelConfiguration", + "operationId": "listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84359,7 +68913,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList" } }, "401": { @@ -84370,13 +68924,13 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "parameters": [ @@ -84392,15 +68946,15 @@ "consumes": [ "*/*" ], - "description": "create a PodSecurityPolicy", - "operationId": "createExtensionsV1beta1PodSecurityPolicy", + "description": "create a PriorityLevelConfiguration", + "operationId": "createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, { @@ -84427,19 +68981,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -84450,23 +69004,23 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } } }, - "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PodSecurityPolicy", - "operationId": "deleteExtensionsV1beta1PodSecurityPolicy", + "description": "delete a PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "parameters": [ { "in": "body", @@ -84509,466 +69063,68 @@ "application/yaml", "application/vnd.kubernetes.protobuf" ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PodSecurityPolicy", - "operationId": "readExtensionsV1beta1PodSecurityPolicy", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the PodSecurityPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PodSecurityPolicy", - "operationId": "patchExtensionsV1beta1PodSecurityPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PodSecurityPolicy", - "operationId": "replaceExtensionsV1beta1PodSecurityPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.PodSecurityPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/replicasets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listExtensionsV1beta1ReplicaSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/daemonsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1DaemonSetListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } - ] - }, - "/apis/extensions/v1beta1/watch/deployments": { + }, "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1DeploymentListForAllNamespaces", + "description": "read the specified PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -84979,100 +69135,82 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/extensions/v1beta1/watch/ingresses": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1IngressListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -85083,100 +69221,98 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } - ] + } }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedDaemonSetList", + "description": "read status of the specified PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -85187,55 +69323,20 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the PriorityLevelConfiguration", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -85246,49 +69347,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedDaemonSet", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" } }, "401": { @@ -85299,104 +69409,88 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } - ] + } }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedDeploymentList", + "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchFlowcontrolApiserverV1alpha1FlowSchemaList", "produces": [ "application/json", "application/yaml", @@ -85419,18 +69513,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85464,14 +69558,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -85502,13 +69588,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedDeployment", + "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchFlowcontrolApiserverV1alpha1FlowSchema", "produces": [ "application/json", "application/yaml", @@ -85531,18 +69617,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85577,21 +69663,13 @@ "uniqueItems": true }, { - "description": "name of the Deployment", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -85622,13 +69700,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedIngressList", + "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList", "produces": [ "application/json", "application/yaml", @@ -85651,18 +69729,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85696,14 +69774,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -85734,13 +69804,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedIngress", + "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", "produces": [ "application/json", "application/yaml", @@ -85763,18 +69833,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85809,21 +69879,13 @@ "uniqueItems": true }, { - "description": "name of the Ingress", + "description": "name of the PriorityLevelConfiguration", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -85854,13 +69916,265 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "/apis/networking.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getNetworkingAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking" + ] + } + }, + "/apis/networking.k8s.io/v1/": { "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getNetworkingV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ] + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicyList", + "description": "delete collection of NetworkPolicy", + "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -85872,7 +70186,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" } }, "401": { @@ -85883,51 +70197,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "networking_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", + "group": "networking.k8s.io", "kind": "NetworkPolicy", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -85942,49 +70221,191 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a NetworkPolicy", + "operationId": "createNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a NetworkPolicy", + "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { + }, "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedNetworkPolicy", + "description": "read the specified NetworkPolicy", + "operationId": "readNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -85995,51 +70416,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "networking_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", + "group": "networking.k8s.io", "kind": "NetworkPolicy", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "name of the NetworkPolicy", "in": "path", @@ -86062,49 +70448,58 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified NetworkPolicy", + "operationId": "patchNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedReplicaSetList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -86115,108 +70510,61 @@ "https" ], "tags": [ - "extensions_v1beta1" + "networking_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedReplicaSet", + "description": "replace the specified NetworkPolicy", + "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -86227,104 +70575,23 @@ "https" ], "tags": [ - "extensions_v1beta1" + "networking_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } - ] + } }, - "/apis/extensions/v1beta1/watch/networkpolicies": { + "/apis/networking.k8s.io/v1/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NetworkPolicyListForAllNamespaces", + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -86336,7 +70603,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" } }, "401": { @@ -86347,18 +70614,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "networking_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", + "group": "networking.k8s.io", "kind": "NetworkPolicy", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86422,13 +70689,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies": { + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1PodSecurityPolicyList", + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", "produces": [ "application/json", "application/yaml", @@ -86451,18 +70718,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "networking_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86496,6 +70763,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -86526,13 +70801,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1PodSecurityPolicy", + "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchNetworkingV1NamespacedNetworkPolicy", "produces": [ "application/json", "application/yaml", @@ -86555,18 +70830,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "networking_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86601,13 +70876,21 @@ "uniqueItems": true }, { - "description": "name of the PodSecurityPolicy", + "description": "name of the NetworkPolicy", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -86638,13 +70921,13 @@ } ] }, - "/apis/extensions/v1beta1/watch/replicasets": { + "/apis/networking.k8s.io/v1/watch/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1ReplicaSetListForAllNamespaces", + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -86667,18 +70950,18 @@ "https" ], "tags": [ - "extensions_v1beta1" + "networking_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86738,44 +71021,11 @@ "in": "query", "name": "watch", "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getNetworkingAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking" - ] - } + "uniqueItems": true + } + ] }, - "/apis/networking.k8s.io/v1/": { + "/apis/networking.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -86783,7 +71033,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getNetworkingV1APIResources", + "operationId": "getNetworkingV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -86804,20 +71054,20 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ] } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "/apis/networking.k8s.io/v1beta1/ingressclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", + "description": "delete collection of IngressClass", + "operationId": "deleteNetworkingV1beta1CollectionIngressClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86928,24 +71178,24 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IngressClass", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkingV1NamespacedNetworkPolicy", + "description": "list or watch objects of kind IngressClass", + "operationId": "listNetworkingV1beta1IngressClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87012,7 +71262,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClassList" } }, "401": { @@ -87023,24 +71273,16 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IngressClass", + "version": "v1beta1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -87053,15 +71295,15 @@ "consumes": [ "*/*" ], - "description": "create a NetworkPolicy", - "operationId": "createNetworkingV1NamespacedNetworkPolicy", + "description": "create an IngressClass", + "operationId": "createNetworkingV1beta1IngressClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" } }, { @@ -87088,19 +71330,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" } }, "401": { @@ -87111,23 +71353,23 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IngressClass", + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/networking.k8s.io/v1beta1/ingressclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a NetworkPolicy", - "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", + "description": "delete an IngressClass", + "operationId": "deleteNetworkingV1beta1IngressClass", "parameters": [ { "in": "body", @@ -87150,502 +71392,88 @@ "type": "integer", "uniqueItems": true }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified NetworkPolicy", - "operationId": "readNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "exact", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", - "in": "query", - "name": "export", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the NetworkPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified NetworkPolicy", - "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1beta1" } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + }, "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1NamespacedNetworkPolicy", + "description": "read the specified IngressClass", + "operationId": "readNetworkingV1beta1IngressClass", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" } }, "401": { @@ -87656,116 +71484,82 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IngressClass", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the NetworkPolicy", + "description": "name of the IngressClass", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/networking.k8s.io/v1/watch/networkpolicies": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified IngressClass", + "operationId": "patchNetworkingV1beta1IngressClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" } }, "401": { @@ -87776,90 +71570,45 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IngressClass", + "version": "v1beta1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1beta1/": { - "get": { + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified IngressClass", + "operationId": "replaceNetworkingV1beta1IngressClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getNetworkingV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -87869,7 +71618,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" } }, "401": { @@ -87881,7 +71636,13 @@ ], "tags": [ "networking_v1beta1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1beta1" + } } }, "/apis/networking.k8s.io/v1beta1/ingresses": { @@ -87924,7 +71685,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87997,7 +71758,7 @@ "operationId": "deleteNetworkingV1beta1CollectionNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88125,7 +71886,7 @@ "operationId": "listNetworkingV1beta1NamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88529,8 +72290,204 @@ "consumes": [ "*/*" ], - "description": "replace the specified Ingress", - "operationId": "replaceNetworkingV1beta1NamespacedIngress", + "description": "replace the specified Ingress", + "operationId": "replaceNetworkingV1beta1NamespacedIngress", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1beta1" + } + } + }, + "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified Ingress", + "operationId": "readNetworkingV1beta1NamespacedIngressStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the Ingress", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified Ingress", + "operationId": "patchNetworkingV1beta1NamespacedIngressStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified Ingress", + "operationId": "replaceNetworkingV1beta1NamespacedIngressStatus", "parameters": [ { "in": "body", @@ -88591,23 +72548,25 @@ } } }, - "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { + "/apis/networking.k8s.io/v1beta1/watch/ingressclasses": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Ingress", - "operationId": "readNetworkingV1beta1NamespacedIngressStatus", + "description": "watch individual changes to a list of IngressClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1beta1IngressClassList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -88620,88 +72579,98 @@ "tags": [ "networking_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "IngressClass", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/networking.k8s.io/v1beta1/watch/ingressclasses/{name}": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Ingress", - "operationId": "patchNetworkingV1beta1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchNetworkingV1beta1IngressClass", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -88714,78 +72683,86 @@ "tags": [ "networking_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "IngressClass", "version": "v1beta1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Ingress", - "operationId": "replaceNetworkingV1beta1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the IngressClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - } + ] }, "/apis/networking.k8s.io/v1beta1/watch/ingresses": { "get": { @@ -88827,7 +72804,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88931,7 +72908,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89043,7 +73020,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89198,7 +73175,7 @@ "operationId": "deleteNodeV1alpha1CollectionRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89326,7 +73303,7 @@ "operationId": "listNodeV1alpha1RuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89816,7 +73793,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89920,7 +73897,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90034,7 +74011,7 @@ "operationId": "deleteNodeV1beta1CollectionRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90162,7 +74139,7 @@ "operationId": "listNodeV1beta1RuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90652,7 +74629,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90756,7 +74733,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90903,7 +74880,7 @@ "operationId": "deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91031,7 +75008,7 @@ "operationId": "listPolicyV1beta1NamespacedPodDisruptionBudget", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91733,7 +75710,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91806,7 +75783,7 @@ "operationId": "deletePolicyV1beta1CollectionPodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91934,7 +75911,7 @@ "operationId": "listPolicyV1beta1PodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92155,13 +76132,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, "401": { @@ -92424,7 +76401,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92536,7 +76513,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92656,7 +76633,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92760,7 +76737,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92864,7 +76841,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93011,7 +76988,7 @@ "operationId": "deleteRbacAuthorizationV1CollectionClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93139,7 +77116,7 @@ "operationId": "listRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93582,7 +77559,7 @@ "operationId": "deleteRbacAuthorizationV1CollectionClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93710,7 +77687,7 @@ "operationId": "listRbacAuthorizationV1ClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94153,7 +78130,7 @@ "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94281,7 +78258,7 @@ "operationId": "listRbacAuthorizationV1NamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94740,7 +78717,7 @@ "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94868,7 +78845,7 @@ "operationId": "listRbacAuthorizationV1NamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95358,7 +79335,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95462,7 +79439,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95566,7 +79543,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95670,7 +79647,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95782,7 +79759,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95886,7 +79863,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95998,7 +79975,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96110,7 +80087,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96230,7 +80207,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96342,7 +80319,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96462,7 +80439,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96566,7 +80543,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96672,7 +80649,7 @@ "operationId": "deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96800,7 +80777,7 @@ "operationId": "listRbacAuthorizationV1alpha1ClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97243,7 +81220,7 @@ "operationId": "deleteRbacAuthorizationV1alpha1CollectionClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97371,7 +81348,7 @@ "operationId": "listRbacAuthorizationV1alpha1ClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97814,7 +81791,7 @@ "operationId": "deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97942,7 +81919,7 @@ "operationId": "listRbacAuthorizationV1alpha1NamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98401,7 +82378,7 @@ "operationId": "deleteRbacAuthorizationV1alpha1CollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98529,7 +82506,7 @@ "operationId": "listRbacAuthorizationV1alpha1NamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98979,13 +82956,325 @@ } } }, - "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind RoleBinding", + "operationId": "listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/roles": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Role", + "operationId": "listRbacAuthorizationV1alpha1RoleForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1alpha1ClusterRoleBindingList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRbacAuthorizationV1alpha1RoleBindingForAllNamespaces", + "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchRbacAuthorizationV1alpha1ClusterRoleBinding", "produces": [ "application/json", "application/yaml", @@ -98997,7 +83286,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleBindingList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -99010,16 +83299,16 @@ "tags": [ "rbacAuthorization_v1alpha1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99053,6 +83342,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the ClusterRoleBinding", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -99083,13 +83380,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/roles": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Role", - "operationId": "listRbacAuthorizationV1alpha1RoleForAllNamespaces", + "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1alpha1ClusterRoleList", "produces": [ "application/json", "application/yaml", @@ -99101,7 +83398,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -99114,16 +83411,16 @@ "tags": [ "rbacAuthorization_v1alpha1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99187,13 +83484,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1alpha1ClusterRoleBindingList", + "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchRbacAuthorizationV1alpha1ClusterRole", "produces": [ "application/json", "application/yaml", @@ -99218,16 +83515,16 @@ "tags": [ "rbacAuthorization_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "ClusterRole", "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99261,6 +83558,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the ClusterRole", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -99291,13 +83596,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1alpha1ClusterRoleBinding", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1alpha1NamespacedRoleBindingList", "produces": [ "application/json", "application/yaml", @@ -99322,16 +83627,16 @@ "tags": [ "rbacAuthorization_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99366,9 +83671,9 @@ "uniqueItems": true }, { - "description": "name of the ClusterRoleBinding", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -99403,13 +83708,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1alpha1ClusterRoleList", + "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchRbacAuthorizationV1alpha1NamespacedRoleBinding", "produces": [ "application/json", "application/yaml", @@ -99434,16 +83739,16 @@ "tags": [ "rbacAuthorization_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99477,6 +83782,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the RoleBinding", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -99507,13 +83828,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1alpha1ClusterRole", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1alpha1NamespacedRoleList", "produces": [ "application/json", "application/yaml", @@ -99538,16 +83859,16 @@ "tags": [ "rbacAuthorization_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99582,9 +83903,9 @@ "uniqueItems": true }, { - "description": "name of the ClusterRole", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -99619,13 +83940,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1alpha1NamespacedRoleBindingList", + "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchRbacAuthorizationV1alpha1NamespacedRole", "produces": [ "application/json", "application/yaml", @@ -99650,16 +83971,16 @@ "tags": [ "rbacAuthorization_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99693,6 +84014,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the Role", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -99731,13 +84060,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1alpha1NamespacedRoleBinding", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -99762,7 +84091,7 @@ "tags": [ "rbacAuthorization_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", @@ -99771,7 +84100,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99805,22 +84134,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the RoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -99851,13 +84164,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1alpha1NamespacedRoleList", + "operationId": "watchRbacAuthorizationV1alpha1RoleListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -99891,7 +84204,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99925,14 +84238,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -99963,25 +84268,404 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getRbacAuthorizationV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ] + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of ClusterRoleBinding", + "operationId": "deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1alpha1NamespacedRole", + "description": "list or watch objects of kind ClusterRoleBinding", + "operationId": "listRbacAuthorizationV1beta1ClusterRoleBinding", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a ClusterRoleBinding", + "operationId": "createRbacAuthorizationV1beta1ClusterRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a ClusterRoleBinding", + "operationId": "deleteRbacAuthorizationV1beta1ClusterRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -99992,116 +84676,31 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1alpha1" + "kind": "ClusterRoleBinding", + "version": "v1beta1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1alpha1RoleBindingListForAllNamespaces", + "description": "read the specified ClusterRoleBinding", + "operationId": "readRbacAuthorizationV1beta1ClusterRoleBinding", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" } }, "401": { @@ -100112,100 +84711,82 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1alpha1" + "kind": "ClusterRoleBinding", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the ClusterRoleBinding", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified ClusterRoleBinding", + "operationId": "patchRbacAuthorizationV1beta1ClusterRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1alpha1RoleListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" } }, "401": { @@ -100216,90 +84797,45 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1alpha1" + "kind": "ClusterRoleBinding", + "version": "v1beta1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/": { - "get": { + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified ClusterRoleBinding", + "operationId": "replaceRbacAuthorizationV1beta1ClusterRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getRbacAuthorizationV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -100309,7 +84845,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" } }, "401": { @@ -100321,19 +84863,25 @@ ], "tags": [ "rbacAuthorization_v1beta1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } } }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ClusterRoleBinding", - "operationId": "deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding", + "description": "delete collection of ClusterRole", + "operationId": "deleteRbacAuthorizationV1beta1CollectionClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100449,7 +84997,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "ClusterRole", "version": "v1beta1" } }, @@ -100457,11 +85005,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ClusterRoleBinding", - "operationId": "listRbacAuthorizationV1beta1ClusterRoleBinding", + "description": "list or watch objects of kind ClusterRole", + "operationId": "listRbacAuthorizationV1beta1ClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100528,7 +85076,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBindingList" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleList" } }, "401": { @@ -100544,7 +85092,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "ClusterRole", "version": "v1beta1" } }, @@ -100561,15 +85109,15 @@ "consumes": [ "*/*" ], - "description": "create a ClusterRoleBinding", - "operationId": "createRbacAuthorizationV1beta1ClusterRoleBinding", + "description": "create a ClusterRole", + "operationId": "createRbacAuthorizationV1beta1ClusterRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, { @@ -100596,19 +85144,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, "401": { @@ -100624,18 +85172,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "ClusterRole", "version": "v1beta1" } } }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ClusterRoleBinding", - "operationId": "deleteRbacAuthorizationV1beta1ClusterRoleBinding", + "description": "delete a ClusterRole", + "operationId": "deleteRbacAuthorizationV1beta1ClusterRole", "parameters": [ { "in": "body", @@ -100704,7 +85252,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "ClusterRole", "version": "v1beta1" } }, @@ -100712,8 +85260,8 @@ "consumes": [ "*/*" ], - "description": "read the specified ClusterRoleBinding", - "operationId": "readRbacAuthorizationV1beta1ClusterRoleBinding", + "description": "read the specified ClusterRole", + "operationId": "readRbacAuthorizationV1beta1ClusterRole", "produces": [ "application/json", "application/yaml", @@ -100723,7 +85271,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, "401": { @@ -100739,13 +85287,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "ClusterRole", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ClusterRoleBinding", + "description": "name of the ClusterRole", "in": "path", "name": "name", "required": true, @@ -100767,8 +85315,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ClusterRoleBinding", - "operationId": "patchRbacAuthorizationV1beta1ClusterRoleBinding", + "description": "partially update the specified ClusterRole", + "operationId": "patchRbacAuthorizationV1beta1ClusterRole", "parameters": [ { "in": "body", @@ -100809,7 +85357,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, "401": { @@ -100825,7 +85373,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "ClusterRole", "version": "v1beta1" } }, @@ -100833,15 +85381,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ClusterRoleBinding", - "operationId": "replaceRbacAuthorizationV1beta1ClusterRoleBinding", + "description": "replace the specified ClusterRole", + "operationId": "replaceRbacAuthorizationV1beta1ClusterRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, { @@ -100868,13 +85416,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, "401": { @@ -100890,21 +85438,21 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "ClusterRole", "version": "v1beta1" } } }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ClusterRole", - "operationId": "deleteRbacAuthorizationV1beta1CollectionClusterRole", + "description": "delete collection of RoleBinding", + "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101020,7 +85568,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } }, @@ -101028,11 +85576,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ClusterRole", - "operationId": "listRbacAuthorizationV1beta1ClusterRole", + "description": "list or watch objects of kind RoleBinding", + "operationId": "listRbacAuthorizationV1beta1NamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101099,7 +85647,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleList" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" } }, "401": { @@ -101115,11 +85663,19 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -101132,15 +85688,15 @@ "consumes": [ "*/*" ], - "description": "create a ClusterRole", - "operationId": "createRbacAuthorizationV1beta1ClusterRole", + "description": "create a RoleBinding", + "operationId": "createRbacAuthorizationV1beta1NamespacedRoleBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, { @@ -101167,19 +85723,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, "401": { @@ -101195,18 +85751,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } } }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ClusterRole", - "operationId": "deleteRbacAuthorizationV1beta1ClusterRole", + "description": "delete a RoleBinding", + "operationId": "deleteRbacAuthorizationV1beta1NamespacedRoleBinding", "parameters": [ { "in": "body", @@ -101275,7 +85831,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } }, @@ -101283,8 +85839,8 @@ "consumes": [ "*/*" ], - "description": "read the specified ClusterRole", - "operationId": "readRbacAuthorizationV1beta1ClusterRole", + "description": "read the specified RoleBinding", + "operationId": "readRbacAuthorizationV1beta1NamespacedRoleBinding", "produces": [ "application/json", "application/yaml", @@ -101294,7 +85850,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, "401": { @@ -101310,19 +85866,27 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ClusterRole", + "description": "name of the RoleBinding", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -101338,8 +85902,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ClusterRole", - "operationId": "patchRbacAuthorizationV1beta1ClusterRole", + "description": "partially update the specified RoleBinding", + "operationId": "patchRbacAuthorizationV1beta1NamespacedRoleBinding", "parameters": [ { "in": "body", @@ -101380,7 +85944,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, "401": { @@ -101396,7 +85960,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } }, @@ -101404,15 +85968,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ClusterRole", - "operationId": "replaceRbacAuthorizationV1beta1ClusterRole", + "description": "replace the specified RoleBinding", + "operationId": "replaceRbacAuthorizationV1beta1NamespacedRoleBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, { @@ -101439,13 +86003,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, "401": { @@ -101461,21 +86025,21 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } } }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of RoleBinding", - "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding", + "description": "delete collection of Role", + "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101591,7 +86155,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, @@ -101599,11 +86163,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRbacAuthorizationV1beta1NamespacedRoleBinding", + "description": "list or watch objects of kind Role", + "operationId": "listRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101670,7 +86234,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" } }, "401": { @@ -101686,7 +86250,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, @@ -101711,15 +86275,15 @@ "consumes": [ "*/*" ], - "description": "create a RoleBinding", - "operationId": "createRbacAuthorizationV1beta1NamespacedRoleBinding", + "description": "create a Role", + "operationId": "createRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, { @@ -101746,19 +86310,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "401": { @@ -101774,18 +86338,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } } }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a RoleBinding", - "operationId": "deleteRbacAuthorizationV1beta1NamespacedRoleBinding", + "description": "delete a Role", + "operationId": "deleteRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "in": "body", @@ -101854,7 +86418,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, @@ -101862,8 +86426,8 @@ "consumes": [ "*/*" ], - "description": "read the specified RoleBinding", - "operationId": "readRbacAuthorizationV1beta1NamespacedRoleBinding", + "description": "read the specified Role", + "operationId": "readRbacAuthorizationV1beta1NamespacedRole", "produces": [ "application/json", "application/yaml", @@ -101873,7 +86437,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "401": { @@ -101889,13 +86453,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the RoleBinding", + "description": "name of the Role", "in": "path", "name": "name", "required": true, @@ -101925,8 +86489,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified RoleBinding", - "operationId": "patchRbacAuthorizationV1beta1NamespacedRoleBinding", + "description": "partially update the specified Role", + "operationId": "patchRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "in": "body", @@ -101967,7 +86531,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "401": { @@ -101983,7 +86547,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } }, @@ -101991,15 +86555,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified RoleBinding", - "operationId": "replaceRbacAuthorizationV1beta1NamespacedRoleBinding", + "description": "replace the specified Role", + "operationId": "replaceRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, { @@ -102026,13 +86590,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, "401": { @@ -102048,204 +86612,18 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1beta1" } } }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Role", - "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRole", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, + "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Role", - "operationId": "listRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind RoleBinding", + "operationId": "listRbacAuthorizationV1beta1RoleBindingForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -102257,7 +86635,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" } }, "401": { @@ -102273,79 +86651,95 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "RoleBinding", "version": "v1beta1" } }, "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "post": { + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "get": { "consumes": [ "*/*" ], - "description": "create a Role", - "operationId": "createRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind Role", + "operationId": "listRbacAuthorizationV1beta1RoleForAllNamespaces", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "202": { - "description": "Accepted", + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" } }, "401": { @@ -102358,74 +86752,98 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1beta1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { - "delete": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "get": { "consumes": [ "*/*" ], - "description": "delete a Role", - "operationId": "deleteRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "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", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "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", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBindingList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -102438,29 +86856,98 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRoleBinding", "version": "v1beta1" } }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { "get": { "consumes": [ "*/*" ], - "description": "read the specified Role", - "operationId": "readRbacAuthorizationV1beta1NamespacedRole", + "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBinding", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -102473,26 +86960,53 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRoleBinding", "version": "v1beta1" } }, "parameters": [ { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ClusterRoleBinding", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -102503,58 +87017,49 @@ "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Role", - "operationId": "patchRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1beta1ClusterRoleList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -102567,59 +87072,98 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1beta1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "replace the specified Role", - "operationId": "replaceRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchRbacAuthorizationV1beta1ClusterRole", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -102632,21 +87176,94 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "ClusterRole", "version": "v1beta1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ClusterRole", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRbacAuthorizationV1beta1RoleBindingForAllNamespaces", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBindingList", "produces": [ "application/json", "application/yaml", @@ -102658,7 +87275,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -102671,7 +87288,7 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", @@ -102680,7 +87297,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102714,6 +87331,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -102744,13 +87369,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Role", - "operationId": "listRbacAuthorizationV1beta1RoleForAllNamespaces", + "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBinding", "produces": [ "application/json", "application/yaml", @@ -102762,7 +87387,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -102775,16 +87400,16 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "RoleBinding", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102818,6 +87443,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the RoleBinding", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -102848,13 +87489,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBindingList", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleList", "produces": [ "application/json", "application/yaml", @@ -102882,13 +87523,13 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102922,6 +87563,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -102952,13 +87601,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBinding", + "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchRbacAuthorizationV1beta1NamespacedRole", "produces": [ "application/json", "application/yaml", @@ -102986,13 +87635,13 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103027,13 +87676,21 @@ "uniqueItems": true }, { - "description": "name of the ClusterRoleBinding", + "description": "name of the Role", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -103064,13 +87721,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleList", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -103098,13 +87755,13 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103168,13 +87825,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1beta1ClusterRole", + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchRbacAuthorizationV1beta1RoleListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -103199,16 +87856,16 @@ "tags": [ "rbacAuthorization_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103242,14 +87899,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the ClusterRole", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -103280,25 +87929,437 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { + "/apis/scheduling.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getSchedulingAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "scheduling" + ] + } + }, + "/apis/scheduling.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getSchedulingV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ] + } + }, + "/apis/scheduling.k8s.io/v1/priorityclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of PriorityClass", + "operationId": "deleteSchedulingV1CollectionPriorityClass", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBindingList", + "description": "list or watch objects of kind PriorityClass", + "operationId": "listSchedulingV1PriorityClass", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a PriorityClass", + "operationId": "createSchedulingV1PriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + } + }, + "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a PriorityClass", + "operationId": "deleteSchedulingV1PriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -103309,108 +88370,47 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBinding", + "description": "read the specified PriorityClass", + "operationId": "readSchedulingV1PriorityClass", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" } }, "401": { @@ -103421,116 +88421,82 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the RoleBinding", + "description": "name of the PriorityClass", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified PriorityClass", + "operationId": "patchSchedulingV1PriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" } }, "401": { @@ -103541,108 +88507,61 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1beta1NamespacedRole", + "description": "replace the specified PriorityClass", + "operationId": "replaceSchedulingV1PriorityClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" } }, "401": { @@ -103653,104 +88572,23 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } - ] + } }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { + "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces", + "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchSchedulingV1PriorityClassList", "produces": [ "application/json", "application/yaml", @@ -103773,18 +88611,18 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103848,13 +88686,13 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { + "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1RoleListForAllNamespaces", + "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchSchedulingV1PriorityClass", "produces": [ "application/json", "application/yaml", @@ -103877,18 +88715,18 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103922,6 +88760,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the PriorityClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -103952,40 +88798,7 @@ } ] }, - "/apis/scheduling.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getSchedulingAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling" - ] - } - }, - "/apis/scheduling.k8s.io/v1/": { + "/apis/scheduling.k8s.io/v1alpha1/": { "get": { "consumes": [ "application/json", @@ -103993,7 +88806,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getSchedulingV1APIResources", + "operationId": "getSchedulingV1alpha1APIResources", "produces": [ "application/json", "application/yaml", @@ -104014,20 +88827,20 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ] } }, - "/apis/scheduling.k8s.io/v1/priorityclasses": { + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of PriorityClass", - "operationId": "deleteSchedulingV1CollectionPriorityClass", + "operationId": "deleteSchedulingV1alpha1CollectionPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104138,13 +88951,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } }, "get": { @@ -104152,10 +88965,10 @@ "*/*" ], "description": "list or watch objects of kind PriorityClass", - "operationId": "listSchedulingV1PriorityClass", + "operationId": "listSchedulingV1alpha1PriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104222,7 +89035,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClassList" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClassList" } }, "401": { @@ -104233,13 +89046,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } }, "parameters": [ @@ -104256,14 +89069,14 @@ "*/*" ], "description": "create a PriorityClass", - "operationId": "createSchedulingV1PriorityClass", + "operationId": "createSchedulingV1alpha1PriorityClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, { @@ -104290,19 +89103,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "401": { @@ -104313,23 +89126,23 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } } }, - "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a PriorityClass", - "operationId": "deleteSchedulingV1PriorityClass", + "operationId": "deleteSchedulingV1alpha1PriorityClass", "parameters": [ { "in": "body", @@ -104393,13 +89206,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } }, "get": { @@ -104407,7 +89220,7 @@ "*/*" ], "description": "read the specified PriorityClass", - "operationId": "readSchedulingV1PriorityClass", + "operationId": "readSchedulingV1alpha1PriorityClass", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -104433,7 +89246,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "401": { @@ -104444,13 +89257,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } }, "parameters": [ @@ -104478,7 +89291,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified PriorityClass", - "operationId": "patchSchedulingV1PriorityClass", + "operationId": "patchSchedulingV1alpha1PriorityClass", "parameters": [ { "in": "body", @@ -104519,7 +89332,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "401": { @@ -104530,13 +89343,13 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } }, "put": { @@ -104544,14 +89357,14 @@ "*/*" ], "description": "replace the specified PriorityClass", - "operationId": "replaceSchedulingV1PriorityClass", + "operationId": "replaceSchedulingV1alpha1PriorityClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, { @@ -104578,13 +89391,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, "401": { @@ -104595,23 +89408,23 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } } }, - "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSchedulingV1PriorityClassList", + "operationId": "watchSchedulingV1alpha1PriorityClassList", "produces": [ "application/json", "application/yaml", @@ -104634,18 +89447,18 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104709,13 +89522,13 @@ } ] }, - "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchSchedulingV1PriorityClass", + "operationId": "watchSchedulingV1alpha1PriorityClass", "produces": [ "application/json", "application/yaml", @@ -104738,18 +89551,18 @@ "https" ], "tags": [ - "scheduling_v1" + "scheduling_v1alpha1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1" + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104821,7 +89634,7 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/": { + "/apis/scheduling.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -104829,7 +89642,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getSchedulingV1alpha1APIResources", + "operationId": "getSchedulingV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -104850,20 +89663,20 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ] } }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of PriorityClass", - "operationId": "deleteSchedulingV1alpha1CollectionPriorityClass", + "operationId": "deleteSchedulingV1beta1CollectionPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104974,13 +89787,13 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -104988,10 +89801,10 @@ "*/*" ], "description": "list or watch objects of kind PriorityClass", - "operationId": "listSchedulingV1alpha1PriorityClass", + "operationId": "listSchedulingV1beta1PriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105058,7 +89871,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClassList" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClassList" } }, "401": { @@ -105069,13 +89882,13 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -105092,14 +89905,14 @@ "*/*" ], "description": "create a PriorityClass", - "operationId": "createSchedulingV1alpha1PriorityClass", + "operationId": "createSchedulingV1beta1PriorityClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, { @@ -105126,19 +89939,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -105149,23 +89962,23 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a PriorityClass", - "operationId": "deleteSchedulingV1alpha1PriorityClass", + "operationId": "deleteSchedulingV1beta1PriorityClass", "parameters": [ { "in": "body", @@ -105229,13 +90042,13 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -105243,7 +90056,7 @@ "*/*" ], "description": "read the specified PriorityClass", - "operationId": "readSchedulingV1alpha1PriorityClass", + "operationId": "readSchedulingV1beta1PriorityClass", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -105269,7 +90082,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -105280,13 +90093,13 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -105314,7 +90127,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified PriorityClass", - "operationId": "patchSchedulingV1alpha1PriorityClass", + "operationId": "patchSchedulingV1beta1PriorityClass", "parameters": [ { "in": "body", @@ -105355,7 +90168,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -105366,13 +90179,13 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -105380,14 +90193,14 @@ "*/*" ], "description": "replace the specified PriorityClass", - "operationId": "replaceSchedulingV1alpha1PriorityClass", + "operationId": "replaceSchedulingV1beta1PriorityClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, { @@ -105414,13 +90227,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, "401": { @@ -105431,23 +90244,23 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSchedulingV1alpha1PriorityClassList", + "operationId": "watchSchedulingV1beta1PriorityClassList", "produces": [ "application/json", "application/yaml", @@ -105470,18 +90283,18 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105545,13 +90358,13 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchSchedulingV1alpha1PriorityClass", + "operationId": "watchSchedulingV1beta1PriorityClass", "produces": [ "application/json", "application/yaml", @@ -105574,18 +90387,18 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "scheduling_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "scheduling.k8s.io", "kind": "PriorityClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105657,7 +90470,40 @@ } ] }, - "/apis/scheduling.k8s.io/v1beta1/": { + "/apis/settings.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getSettingsAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "settings" + ] + } + }, + "/apis/settings.k8s.io/v1alpha1/": { "get": { "consumes": [ "application/json", @@ -105665,7 +90511,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getSchedulingV1beta1APIResources", + "operationId": "getSettingsV1alpha1APIResources", "produces": [ "application/json", "application/yaml", @@ -105686,20 +90532,20 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ] } }, - "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PriorityClass", - "operationId": "deleteSchedulingV1beta1CollectionPriorityClass", + "description": "delete collection of PodPreset", + "operationId": "deleteSettingsV1alpha1CollectionNamespacedPodPreset", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105810,24 +90656,24 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PriorityClass", - "operationId": "listSchedulingV1beta1PriorityClass", + "description": "list or watch objects of kind PodPreset", + "operationId": "listSettingsV1alpha1NamespacedPodPreset", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105894,7 +90740,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClassList" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" } }, "401": { @@ -105905,16 +90751,24 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -105927,15 +90781,15 @@ "consumes": [ "*/*" ], - "description": "create a PriorityClass", - "operationId": "createSchedulingV1beta1PriorityClass", + "description": "create a PodPreset", + "operationId": "createSettingsV1alpha1NamespacedPodPreset", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, { @@ -105962,19 +90816,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, "401": { @@ -105985,23 +90839,23 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } } }, - "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PriorityClass", - "operationId": "deleteSchedulingV1beta1PriorityClass", + "description": "delete a PodPreset", + "operationId": "deleteSettingsV1alpha1NamespacedPodPreset", "parameters": [ { "in": "body", @@ -106065,21 +90919,21 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified PriorityClass", - "operationId": "readSchedulingV1beta1PriorityClass", + "description": "read the specified PodPreset", + "operationId": "readSettingsV1alpha1NamespacedPodPreset", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -106105,7 +90959,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, "401": { @@ -106116,24 +90970,32 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the PriorityClass", + "description": "name of the PodPreset", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -106149,8 +91011,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified PriorityClass", - "operationId": "patchSchedulingV1beta1PriorityClass", + "description": "partially update the specified PodPreset", + "operationId": "patchSettingsV1alpha1NamespacedPodPreset", "parameters": [ { "in": "body", @@ -106191,7 +91053,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, "401": { @@ -106202,28 +91064,28 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified PriorityClass", - "operationId": "replaceSchedulingV1beta1PriorityClass", + "description": "replace the specified PodPreset", + "operationId": "replaceSettingsV1alpha1NamespacedPodPreset", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, { @@ -106250,13 +91112,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" } }, "401": { @@ -106267,23 +91129,127 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } } }, - "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { + "/apis/settings.k8s.io/v1alpha1/podpresets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSchedulingV1beta1PriorityClassList", + "description": "list or watch objects of kind PodPreset", + "operationId": "listSettingsV1alpha1PodPresetForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchSettingsV1alpha1NamespacedPodPresetList", "produces": [ "application/json", "application/yaml", @@ -106306,18 +91272,18 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106351,6 +91317,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -106381,13 +91355,13 @@ } ] }, - "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchSchedulingV1beta1PriorityClass", + "description": "watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchSettingsV1alpha1NamespacedPodPreset", "produces": [ "application/json", "application/yaml", @@ -106410,18 +91384,18 @@ "https" ], "tags": [ - "scheduling_v1beta1" + "settings_v1alpha1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106456,13 +91430,21 @@ "uniqueItems": true }, { - "description": "name of the PriorityClass", + "description": "name of the PodPreset", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -106493,7 +91475,111 @@ } ] }, - "/apis/settings.k8s.io/": { + "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchSettingsV1alpha1PodPresetListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/": { "get": { "consumes": [ "application/json", @@ -106501,7 +91587,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getSettingsAPIGroup", + "operationId": "getStorageAPIGroup", "produces": [ "application/json", "application/yaml", @@ -106522,11 +91608,11 @@ "https" ], "tags": [ - "settings" + "storage" ] } }, - "/apis/settings.k8s.io/v1alpha1/": { + "/apis/storage.k8s.io/v1/": { "get": { "consumes": [ "application/json", @@ -106534,7 +91620,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getSettingsV1alpha1APIResources", + "operationId": "getStorageV1APIResources", "produces": [ "application/json", "application/yaml", @@ -106555,20 +91641,20 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ] } }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { + "/apis/storage.k8s.io/v1/csidrivers": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PodPreset", - "operationId": "deleteSettingsV1alpha1CollectionNamespacedPodPreset", + "description": "delete collection of CSIDriver", + "operationId": "deleteStorageV1CollectionCSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106679,24 +91765,24 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodPreset", - "operationId": "listSettingsV1alpha1NamespacedPodPreset", + "description": "list or watch objects of kind CSIDriver", + "operationId": "listStorageV1CSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106763,7 +91849,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverList" } }, "401": { @@ -106774,24 +91860,16 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -106804,15 +91882,15 @@ "consumes": [ "*/*" ], - "description": "create a PodPreset", - "operationId": "createSettingsV1alpha1NamespacedPodPreset", + "description": "create a CSIDriver", + "operationId": "createStorageV1CSIDriver", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, { @@ -106839,19 +91917,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { @@ -106862,23 +91940,23 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } } }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { + "/apis/storage.k8s.io/v1/csidrivers/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PodPreset", - "operationId": "deleteSettingsV1alpha1NamespacedPodPreset", + "description": "delete a CSIDriver", + "operationId": "deleteStorageV1CSIDriver", "parameters": [ { "in": "body", @@ -106925,13 +92003,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { @@ -106942,21 +92020,21 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified PodPreset", - "operationId": "readSettingsV1alpha1NamespacedPodPreset", + "description": "read the specified CSIDriver", + "operationId": "readStorageV1CSIDriver", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -106982,7 +92060,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { @@ -106993,32 +92071,24 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } }, "parameters": [ { - "description": "name of the PodPreset", + "description": "name of the CSIDriver", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -107034,8 +92104,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified PodPreset", - "operationId": "patchSettingsV1alpha1NamespacedPodPreset", + "description": "partially update the specified CSIDriver", + "operationId": "patchStorageV1CSIDriver", "parameters": [ { "in": "body", @@ -107076,7 +92146,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { @@ -107087,28 +92157,28 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified PodPreset", - "operationId": "replaceSettingsV1alpha1NamespacedPodPreset", + "description": "replace the specified CSIDriver", + "operationId": "replaceStorageV1CSIDriver", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, { @@ -107135,13 +92205,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPreset" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { @@ -107152,35 +92222,126 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" } } }, - "/apis/settings.k8s.io/v1alpha1/podpresets": { - "get": { + "/apis/storage.k8s.io/v1/csinodes": { + "delete": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodPreset", - "operationId": "listSettingsV1alpha1PodPresetForAllNamespaces", + "description": "delete collection of CSINode", + "operationId": "deleteStorageV1CollectionCSINode", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -107191,88 +92352,79 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSettingsV1alpha1NamespacedPodPresetList", + "description": "list or watch objects of kind CSINode", + "operationId": "listStorageV1CSINode", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", @@ -107284,7 +92436,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeList" } }, "401": { @@ -107295,108 +92447,156 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a CSINode", + "operationId": "createStorageV1CSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } - ] + } }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { - "get": { + "/apis/storage.k8s.io/v1/csinodes/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchSettingsV1alpha1NamespacedPodPreset", + "description": "delete a CSINode", + "operationId": "deleteStorageV1CSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -107407,116 +92607,47 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodPreset", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSettingsV1alpha1PodPresetListForAllNamespaces", + "description": "read the specified CSINode", + "operationId": "readStorageV1CSINode", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -107527,90 +92658,72 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the CSINode", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/storage.k8s.io/": { - "get": { + ], + "patch": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified CSINode", + "operationId": "patchStorageV1CSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get information of a group", - "operationId": "getStorageAPIGroup", "produces": [ "application/json", "application/yaml", @@ -107620,7 +92733,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -107631,19 +92744,45 @@ "https" ], "tags": [ - "storage" - ] - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { + "storage_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified CSINode", + "operationId": "replaceStorageV1CSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getStorageV1APIResources", "produces": [ "application/json", "application/yaml", @@ -107653,7 +92792,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -107665,7 +92810,13 @@ ], "tags": [ "storage_v1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } } }, "/apis/storage.k8s.io/v1/storageclasses": { @@ -107677,7 +92828,7 @@ "operationId": "deleteStorageV1CollectionStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -107805,7 +92956,7 @@ "operationId": "listStorageV1StorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -108026,13 +93177,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { @@ -108264,7 +93415,7 @@ "operationId": "deleteStorageV1CollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -108392,7 +93543,7 @@ "operationId": "listStorageV1VolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -108613,13 +93764,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -108842,23 +93993,213 @@ } } }, - "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { + "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified VolumeAttachment", + "operationId": "readStorageV1VolumeAttachmentStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the VolumeAttachment", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified VolumeAttachment", + "operationId": "patchStorageV1VolumeAttachmentStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified VolumeAttachment", + "operationId": "replaceStorageV1VolumeAttachmentStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + } + }, + "/apis/storage.k8s.io/v1/watch/csidrivers": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified VolumeAttachment", - "operationId": "readStorageV1VolumeAttachmentStatus", + "description": "watch individual changes to a list of CSIDriver. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1CSIDriverList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -108871,80 +94212,98 @@ "tags": [ "storage_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "kind": "CSIDriver", "version": "v1" } }, "parameters": [ { - "description": "name of the VolumeAttachment", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { + ] + }, + "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified VolumeAttachment", - "operationId": "patchStorageV1VolumeAttachmentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } + "*/*" ], + "description": "watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1CSIDriver", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -108957,59 +94316,210 @@ "tags": [ "storage_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "kind": "CSIDriver", "version": "v1" } }, - "put": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CSIDriver", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified VolumeAttachment", - "operationId": "replaceStorageV1VolumeAttachmentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1CSINodeList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1CSINode", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -109022,13 +94532,86 @@ "tags": [ "storage_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "kind": "CSINode", "version": "v1" } - } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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 together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CSINode", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, "/apis/storage.k8s.io/v1/watch/storageclasses": { "get": { @@ -109070,7 +94653,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109174,7 +94757,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109286,7 +94869,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109390,7 +94973,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109504,7 +95087,7 @@ "operationId": "deleteStorageV1alpha1CollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109632,7 +95215,7 @@ "operationId": "listStorageV1alpha1VolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109853,13 +95436,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachment" } }, "401": { @@ -110122,7 +95705,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110226,7 +95809,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110340,7 +95923,7 @@ "operationId": "deleteStorageV1beta1CollectionCSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110468,7 +96051,7 @@ "operationId": "listStorageV1beta1CSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110689,13 +96272,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" } }, "401": { @@ -110927,7 +96510,7 @@ "operationId": "deleteStorageV1beta1CollectionCSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -111055,7 +96638,7 @@ "operationId": "listStorageV1beta1CSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -111276,13 +96859,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" } }, "401": { @@ -111514,7 +97097,7 @@ "operationId": "deleteStorageV1beta1CollectionStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -111642,7 +97225,7 @@ "operationId": "listStorageV1beta1StorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -111863,13 +97446,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" } }, "401": { @@ -112101,7 +97684,7 @@ "operationId": "deleteStorageV1beta1CollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112229,7 +97812,7 @@ "operationId": "listStorageV1beta1VolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112450,13 +98033,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" } }, "401": { @@ -112719,7 +98302,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112823,7 +98406,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112935,7 +98518,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113039,7 +98622,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113151,7 +98734,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113255,7 +98838,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113367,7 +98950,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113471,7 +99054,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", diff --git a/version.json b/version.json index fb47fd987..7f48087fc 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.6", + "version": "2.0", "publicReleaseRefSpec": [ "^refs/heads/master$", // we release out of master ],